check-meta.nix: Add package warnings#177272
Conversation
b6095f2 to
62a0b0c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
5a2ca57 to
5c562b2
Compare
778deed to
52df9a6
Compare
52df9a6 to
08d0536
Compare
|
@piegamesde thank you so much for leading this effort! Are there any blockers preventing further progress on this PR? I've been doing a somewhat ad-hoc version of this to allow for easier diagnoses of build failures, like so: nixpkgs/pkgs/development/python-modules/torch/default.nix Lines 118 to 124 in 49cd2f2 I would love to see this merged -- let me know if there's any way I can help! |
|
Me and @piegamesde sat together at NixCon to discuss this, but my conclusion there was that |
|
@ConnorBaker This code does a minimal implementation, which I have hopes of getting merged eventually. The current bigger task to do here is QA, especially writing unit tests for the different conditions. That's why I factored out the business logic into its own file, as Infinisil requested back then. Feel free to take on that task, I won't be working on it for a bit probably. Apart from that this change has been heavily review-stalled for a lot of time, so simply watching here and giving review as necessary would be a big help too |
|
It seems like I'm unintentionally blocking this from progressing. I'm just taking another look, and unless I'm just missing it, the PR changes itself really aren't bad. What I think needs to be done before merging:
I'd also really like for somebody to think about how we could clean up Unfortunately I'm pretty spread out with my availability, so I don't have time to do this myself, I'll dismiss my review and don't intend to interfere with this anymore. |
|
I was asked by @AkechiShiro to help a bit with how to write tests for this, so here's some proof of concept for how it could work: tweag@9b55daf |
|
Hello all, Here are the tests cases, I've though of so far, this matrix needs to be made 3 times to cover for each handlers ( So far, I have almost full coverage on the
Note Case 12 : is each of the problems alone on their own Thanks a lot for your help for establishing the ground work for the tests @infinisil |
|
The new PR is ready for review, thanks to all involved |
|
Closing in favor of #478539 |
Implements RFC 127 NixOS/rfcs#127
Description of changes
See the RFC
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes