Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.1.2 #1

Closed
wants to merge 90 commits into from
Closed

Version 0.1.2 #1

wants to merge 90 commits into from

Commits on Mar 21, 2024

  1. Give more information in automated update PRs

    At least the output from `npins update nixpkgs`
    infinisil committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    df52d02 View commit details
    Browse the repository at this point in the history
  2. Don't limit automated npins update to just nixpkgs

    No reason to
    infinisil committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    8d1f3d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80f7564 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7593f8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    157ab23 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2204330 View commit details
    Browse the repository at this point in the history
  7. Introduce release script

    This script fuly automates releases. In a future commit this will be run by CI
    
    I ran the script once to generate the initial version 0.1.0: https://github.com/NixOS/nixpkgs-check-by-name/releases/tag/0.1.0
    infinisil committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    4841093 View commit details
    Browse the repository at this point in the history
  8. Automate releases

    This calls the release script whenever a commit is pushed to the main branch, such that merging a PR
    that increases the version number immediately causes a new release
    
    This also turns off the other CI for pushes to the main branch, doesn't seem necessary
    infinisil committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    ce41249 View commit details
    Browse the repository at this point in the history
  9. Improve auto updates and welcome @infinixbot (NixOS#15)

    Improves upon the automated update PRs introduced in NixOS#12 to resolve issues brought up in the first automated PR NixOS#14.
    
    * Give more information about the updates, not much, but at least the output of npins update
    * Update all npins sources, not just Nixpkgs.
    * Run `cargo update`
    * Make it trigger CI by using an unprivileged separate machine account (welcome, @infinixbot!)
    * Set committer and author of the commits to the machine account
    philiptaron authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    0f556f9 View commit details
    Browse the repository at this point in the history
  10. Merge pull request NixOS#16 from NixOS/automated-releases

    This sets up automated releases, mainly so that we can distribute a pre-built version of the tool, allowing Nixpkgs' CI to fetch it without building.
    philiptaron authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    adb1f8a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2ff05a5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    99e4397 View commit details
    Browse the repository at this point in the history
  13. Merge pull request NixOS#18 from NixOS/fix-release

    Set `GH_TOKEN` to fix automated releases
    philiptaron authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    e9a34ee View commit details
    Browse the repository at this point in the history
  14. Merge pull request NixOS#19 from NixOS/fix-updates

    Don't commit PR body for automated updates
    philiptaron authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    c5efaca View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2674043 View commit details
    Browse the repository at this point in the history
  16. Fix automated update action

    infinisil committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    28d841d View commit details
    Browse the repository at this point in the history
  17. 🤖 update (NixOS#20)

    Fix automated updates (another try)
    philiptaron authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    4208244 View commit details
    Browse the repository at this point in the history
  18. Define what CI should build in Nix

    And make it also build the autoPrUpdate derivation
    infinisil committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    2f677ff View commit details
    Browse the repository at this point in the history
  19. Fix automated updates (another try)

    See NixOS#20 (comment)
    
    We fix this by telling the update scripts explicitly which files they should update and passing that
    information in from CI
    infinisil committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    4561070 View commit details
    Browse the repository at this point in the history
  20. Merge pull request NixOS#21 from NixOS/fix-updates

    Fix updates (another try)
    philiptaron authored Mar 21, 2024
    Configuration menu
    Copy the full SHA
    febcf57 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Fix the automated updates (another try)

    Need to set the correct path to create the PR from..
    infinisil committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    432b7f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da24722 View commit details
    Browse the repository at this point in the history
  3. Automated update

    infinixbot committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    11551af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    db27399 View commit details
    Browse the repository at this point in the history
  5. Remove superfluous error field relative_package_file

    It can be derived from the package_name
    willbush committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    a169008 View commit details
    Browse the repository at this point in the history
  6. Rename package_name field in InvalidPackageName error

    to avoid confusing it with a valid package_name where relative_package_dir could
    be derived.
    willbush committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    d12e15a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0bb6405 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f8bdeab View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Remove unnecessary braces

    willbush committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    5c502a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9391e85 View commit details
    Browse the repository at this point in the history
  3. Fix clippy warnings

    willbush committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    686cbbc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94244b0 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Configuration menu
    Copy the full SHA
    7eaa754 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d32d4cf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    797f201 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5aa63d View commit details
    Browse the repository at this point in the history
  5. Refactor Package related problems into a struct with common fields

    Fix clippy warning about same postfix "Problem" in struct names on
    NixpkgsProblem enum
    willbush committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    b0d270e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    81e45fa View commit details
    Browse the repository at this point in the history
  7. Automated update

    infinixbot committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    3bb8e00 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Merge pull request NixOS#25 from infinixbot/auto-update

    Automated update
    philiptaron authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    264aee8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1e3aeb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f70d44 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bddeeb1 View commit details
    Browse the repository at this point in the history
  5. Merge pull request NixOS#26 from NixOS/weekly-updates

    Switch automated updates to weekly
    infinisil authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    3b4cedc View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    25adca4 View commit details
    Browse the repository at this point in the history
  2. Change most to_problem closures into to_validation

    To remove duplicate `.into()` calls
    willbush committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    2ed5984 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c57206d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bcc472d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d20e68a View commit details
    Browse the repository at this point in the history
  6. Lint tests with clippy

    willbush committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    6f3f293 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    591be8e View commit details
    Browse the repository at this point in the history
  8. Merge pull request NixOS#28 from willbush/clippy-lint-all-targets

    Include clippy lints for tests
    infinisil authored Mar 26, 2024
    Configuration menu
    Copy the full SHA
    65a04d8 View commit details
    Browse the repository at this point in the history
  9. Refactor Error Types (NixOS#24)

    This pull request does not change the single-line vs multi-line style or any of the error messages. The goal here is to reduce code duplication.
    
    A lot of the NixpkgsProblem enum variants had common fields more or less due to the context of where the error originated.
    
    I grouped these similar problems into structs which contains the common fields and a kind enum to differentiate between the different types of problems.
    
    Work related to: NixOS#2
    philiptaron authored Mar 26, 2024
    Configuration menu
    Copy the full SHA
    53f206e View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Automated update

    infinixbot committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    7859b53 View commit details
    Browse the repository at this point in the history
  2. Automated update of dependencies from infinixbot (NixOS#32)

    - Updating autocfg v1.1.0 -> v1.2.0
    - Updating clap v4.5.3 -> v4.5.4
    - Updating clap_derive v4.5.3 -> v4.5.4
    - Updating itoa v1.0.10 -> v1.0.11
    - Updating memchr v2.7.1 -> v2.7.2
    - Updating memoffset v0.9.0 -> v0.9.1
    - Updating regex-syntax v0.8.2 -> v0.8.3
    - Updating serde_json v1.0.114 -> v1.0.115
    - Updating syn v2.0.55 -> v2.0.57
    
    No way currently to see inside `npins` for those updates.
    philiptaron authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    8c2ad6a View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Configuration menu
    Copy the full SHA
    103a4a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c75c01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c460d5e View commit details
    Browse the repository at this point in the history
  4. Merge pull request NixOS#33 from willbush/feauter/consistent-relative…

    …-paths
    
    Consistent relative paths to expression file
    infinisil authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    7f0c106 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Automated update

    infinixbot committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    5771107 View commit details
    Browse the repository at this point in the history
  2. Merge pull request NixOS#34 from infinixbot/auto-update

    Automated update
    infinisil authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    7e09057 View commit details
    Browse the repository at this point in the history
  3. Rename keep_nix_path argument to is_test

    For future extra allowances in tests
    infinisil committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    528630d View commit details
    Browse the repository at this point in the history
  4. Version 0.1.1

    infinisil committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    c088678 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    09cdf12 View commit details
    Browse the repository at this point in the history
  2. Remove mention of the command from Nix eval failures

    The command isn't very reproducible anyways, since it depends on certain files existing.
    Printing a reproducible command is up to callers like Nixpkgs:
    https://github.com/NixOS/nixpkgs/blob/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6/.github/workflows/check-by-name.yml#L115
    infinisil committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    b6d29b2 View commit details
    Browse the repository at this point in the history
  3. Only print Nix stderr when eval fails

    By turning Nix eval errors into a NixpkgsProblem.
    
    With the convention of NixpkgsProblem representing problems caused by Nixpkgs, and
    I/O-Result errors caused by bugs in the program, it should've really been of the first variant all
    along.
    
    Some workarounds are required to make the testing of this feasible
    infinisil committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    dea4b1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    23cefc1 View commit details
    Browse the repository at this point in the history
  5. Version 0.1.1 (NixOS#36)

    Second release out of this repository. I'm excited!
    philiptaron authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    2d9b9d2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4a82e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Configuration menu
    Copy the full SHA
    44d5e2e View commit details
    Browse the repository at this point in the history
  2. Use lazyDerivation to avoid exposing all drv attrs

    Now using `nix-build -A <tab>` is much smaller
    infinisil committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    3f361a4 View commit details
    Browse the repository at this point in the history
  3. Refactor into individual update scripts

    Makes the diff smaller for a future non-trivial update script
    infinisil committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    b358b31 View commit details
    Browse the repository at this point in the history
  4. Regularly update GitHub Actions

    Using the dependabot CLI
    infinisil committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    f8ec2d3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    815a4ec View commit details
    Browse the repository at this point in the history
  6. Automatic GitHub action updates (NixOS#40)

    Many different script updates along the way as well.
    philiptaron authored Apr 10, 2024
    Configuration menu
    Copy the full SHA
    6d09601 View commit details
    Browse the repository at this point in the history
  7. Explicitly expose version to avoid release script failure

    lazyDerivation limits which attributes are exposed, and version is not currently one of them,
    so we need to explicitly expose it.
    
    This fixes this CD failure:
    
    https://github.com/NixOS/nixpkgs-check-by-name/actions/runs/8637321506/job/23679230914
    infinisil committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    5817515 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    90d32e5 View commit details
    Browse the repository at this point in the history
  9. Simplify GitHub action update script

    With the advice from dependabot/cli#301 (comment)
    infinisil committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    254bea4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1697ff7 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Automated update

    infinixbot committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    946b865 View commit details
    Browse the repository at this point in the history
  2. Merge pull request NixOS#43 from infinixbot/auto-update

    Automated update
    philiptaron authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    52ed7c5 View commit details
    Browse the repository at this point in the history
  3. Fix output markdown of update-github-actions

    Previously the closing </details> tag was not printed if there was nothing to update, which leads to
    wrong nesting
    infinisil committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    e799c53 View commit details
    Browse the repository at this point in the history
  4. Merge pull request NixOS#44 from NixOS/fix-update-html

    Fix output markdown of update-github-actions
    philiptaron authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    62d820f View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Automated changelogs [WIP]

    infinisil committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    59d4693 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bab8abe View commit details
    Browse the repository at this point in the history
  3. Add test changelog

    infinisil committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    d1e6ce2 View commit details
    Browse the repository at this point in the history
  4. Test release pushing

    infinisil committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    f4bb322 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a0d1ade View commit details
    Browse the repository at this point in the history
  6. Merge a0d1ade into 62d820f

    infinisil authored Apr 18, 2024
    Configuration menu
    Copy the full SHA
    98114bf View commit details
    Browse the repository at this point in the history
  7. Version 0.1.2

    Automated release
    infinisil committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    5aa7173 View commit details
    Browse the repository at this point in the history