-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
treewide/nixos: remove with lib;
part 5
#335647
treewide/nixos: remove with lib;
part 5
#335647
Conversation
99e4290
to
b6d660d
Compare
b6d660d
to
c3fb945
Compare
9d0f3ee
to
8e72466
Compare
eabf1bb
to
89aa355
Compare
89aa355
to
22e80f8
Compare
94861a8
to
1b627fa
Compare
1b627fa
to
203f700
Compare
Felix, is this with the new script or old? |
@philiptaron this was done with the new one. But the commit messages are not yet improved... |
If we split this part 5 and the part 6 into groups of 50, I think I can reviews them all this coming week. |
5dce9e7
to
d013bf0
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.
Whew, it's at zero defects this time.
@philiptaron can we agree, that when you find a single defect in this kind of MRs -> mention it an abort any further reading? just to safe you some time |
Sure, I can do that. Now that we have a script that ought to reliably yield zero defects that's a sane default. |
No error reports the next day. Looking at tranche 6 now. |
How many of these do we need to explode to realize that we need better testing? I believe we're currently at 4/5. |
@K900, the PRs done with the old sed-based script were definitely too low quality. We paused any merges of changes produced with that tool. So please do not count those initial failures as being part of this one. The new script that Felix uses in this PR is subject to time-of-script-run issues, where unless there is a merge conflict (not guaranteed) things like #363775 are possible. On a personal note, I find the characterization of one quickly fixed defect across ~1,000 LOC change as an "explosion" to be unkind. You yourself have made many defects, merged them to master, then fixed them. That's good. Please don't harangue others for behavior you engage in. I'm all ears for a testing strategy that produces fewer defects, that is actually able to be run by humans without a build lab. It's certainly not my intention to check in code that causes defects. |
@philiptaron I think you can run this:
Replace It's not perfect because it won't cover modules without tests into account, but it is a start. |
i can confirm my script completely ignores the line in #363768. We should have run |
Not sure if light-weight alternatives give you decent coverage. Our nix-community x86 machine might be a good target to run this for a bit longer. |
Description of changes
part of #208242
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.