-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Are binary checks the responsibility of nixpkgs-update? #260
Comments
@raboof I agree that it would be better for those checks to be upstreamed. If there was some default version check that checked the version of everything in the bin directory, that would probably be quite useful. It may be preferable to use |
nixpkgs-update and OfBorg run |
Took me a while to figure out how exactly, so proposed NixOS/nixpkgs#119731 |
let's discuss this in NixOS/nixpkgs#119731 (comment) |
passthru.tests instead of installCheckPhase as recommended in nix-community/nixpkgs-update#260 (comment) Inspired by https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/logic/key/default.nix#L54-L57 This is basically the extent of testing I usually do when an upgrade is proposed, so this takes that manual step away.
passthru.tests instead of installCheckPhase as recommended in nix-community/nixpkgs-update#260 (comment) Inspired by https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/logic/key/default.nix#L54-L57 This is basically the extent of testing I usually do when an upgrade is proposed, so this takes that manual step away.
And mention you can have either lightweight 'package' or more heavyweight 'NixOS' (module) tests. This was suggested at nix-community/nixpkgs-update#260 (comment) and discussed further at NixOS#119731
I think I will get rid of the binary checks. I don't think they work that well, are looked at much, and operationally they stall updates sometimes the programs hang around in a way it doesn't know how to kill. |
I look at the binary checks, and I can merge the pr without even building it if those pass and the upstream commits are okay. |
I removed binary checking. |
Shouldn't we encourage projects to add those in their
installCheckPhase
, like NixOS/nixpkgs#119636 ?The text was updated successfully, but these errors were encountered: