-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Switch the pkgs/by-name
check to a separate repository
#297901
Conversation
c5016c2
to
2174ec8
Compare
2174ec8
to
8cd90f9
Compare
8cd90f9
to
177fc1a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
@@ -108,13 +108,13 @@ There's some limitations as to which packages can be defined using this structur | |||
|
|||
## Validation | |||
|
|||
CI performs [certain checks](../test/nixpkgs-check-by-name/README.md#validity-checks) on the `pkgs/by-name` structure. | |||
This is done using the [`nixpkgs-check-by-name` tool](../test/nixpkgs-check-by-name). | |||
CI performs [certain checks](https://github.com/NixOS/nixpkgs-check-by-name?tab=readme-ov-file#validity-checks) on the `pkgs/by-name` structure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Future: we should publish with GitHub pages so that https://nixpkgs-check-by-name.github.io/ is the URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem necessary, but yeah that's an option :)
Drafted because I noticed a minor problem that would occur with the follow-up removal PR, where I wanted to be able to remove |
The nixpkgs-check-by-name tooling is [being moved](NixOS#286559 (comment)) to a [separate repo](https://github.com/NixOS/nixpkgs-check-by-name). This commit updates Nixpkgs CI to use it instead of the tree inside Nixpkgs No changes have been made to the tooling locally since it was moved: - [Exported history](https://github.com/NixOS/nixpkgs/commits/55bf02190ee57fcf83490fd7b6bf7834e28c9c86/pkgs/test/nixpkgs-check-by-name) - [Imported history](https://github.com/NixOS/nixpkgs-check-by-name/commits/d579e1821d56c79fd90dab34b991cc7bdab7a5c6/)
177fc1a
to
f7ea336
Compare
Force pushed with the necessary changes (diff) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let's go x2
It was not removed in #297901 so that CI for that PR itself would not fail since CI runs from the base branch.
Since #297901, the tool is fetched from https://github.com/NixOS/nixpkgs-check-by-name, so there's no need to keep it around in Nixpkgs anymore
Was moved in NixOS#297901
Description of changes
This completes the move of the
pkgs/by-name
tooling to the new https://github.com/NixOS/nixpkgs-check-by-name repository, see #286559 for motivation.Note
I'm leaving in both
pkgs/test/nixpkgs-check-by-name
to make it easier to review the removal in a separate PR, andpkgs/test/nixpkgs-check-by-name/scripts/pinned-tool.json
because it's needed for CI of this PR to succeed.This work is sponsored by Antithesis ✨
Things done
./maintainers/scripts/check-by-name.sh master
Add a 👍 reaction to pull requests you find important.