-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
llvmPackages: nixfmt tree #376179
base: master
Are you sure you want to change the base?
llvmPackages: nixfmt tree #376179
Conversation
Ack. |
1 similar comment
Ack. |
What's with the ack? I think it's better to just bite the reformatting than wait for a hit from a treewide reformatting PR. Plus, this'll make it easier to deal with some of the next PR's I'm planning on. |
"Ack" is short for "acknowledged" (positively, but not reviewed). See e.g. https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by for a detailed explanation of what an ack is in an open source review context. |
Please add this to |
An alternate view. Fixing the llvm tree doesn't need to be conditioned on whether the rest of the nixpkgs tree is being fixed. If anything it would surely suit the llvm tree to do it at a time convenient for the llvm tree. If someone starts a PR now which takes time to land; there is a fair chance it ends up having to be rebased through these changes. This could take up some precious cycles from everyone involved in those reviews. I percieve that there is (relatively) little in flight right now in the llvm tree. I'd always like to minimize the amount of work that gets invalidated. I would push for landing whatever is in flight (and has a good chance of landing without major changes) now as quickly as we can, then land this. |
It won’t be fixed insofar as “not needing another format again” because of the upcoming change to the formatting rules I mentioned. It does mean another entry in This would also need doing on the 24.11 branch (and that commit adding to In‐flight work should not pose a problem because of things like #363759 and NixOS/nixfmt#277 (which will have had any kinks ironed out by the time of the treewide format, so it may actually cause less pain to wait). Anyway, not a hard objection as long as the commit is added to |
Your comment was persuasive and informative. I didn't realise the formatting rules are changing. If so, I agree we should wait for that to settle. |
Things done
nixfmt the LLVM nix tree as a part of the pre-work for #375431.
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.