-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
libjaylink: Move package definition into by-name directory #338675
Conversation
Signed-off-by: Felix Singer <[email protected]>
It's discouraged to send a PR just to move a package to by-name since that will be done automatically, though you're welcome to do it if you're fixing other stuff in the package as well (I see for example description has some issues, we can switch to SRI hash, formatting could be updated, ...) |
Could you explain how it is done automatically? It wasn't done until now. |
It's pending a future PR. |
So it's not done automatically ;) It seems integrating the package into the by-name structure does not just have superficial effects, but actual advantages, like a bot that can help with getting patches in. However, I've added more commits for your suggestions. I would appreciate it if we could get this in now. |
See https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name#manual-migration-guidelines. As there's no substantial change that wouldn't already be covered by a treewide, I'd vote to close this PR. |
When? The author is a maintainer and wants to use the merge-bot to get his packages updated. What is your recommended course of action? Waiting for some arbitrary unnamed date in the future seems silly. |
I concur with @mweinelt. I too dislike moving stuff to by-name (or do nixfmt) just for the sake of it but, in this case, the ultimate intention is to unlock usage of the merge bot; it's almost like an opt-in. |
It's literally in the contribution guidelines? Again, do we really want these sorts of no-op PRs times tens of thousands of packages? |
Nobody is arguing for that extreme here. The intention is clearly to unlock usage of the merge bot in this case. Arguably, that's not even a no-op. I also highly doubt we even have 10000 individually maintained packages that still have an active maintainer who could conceivably desire to port them. Even if we had, it's also not like these PRs require significant reviewer attention as they're dead simple. I could have merged a couple of those in the time it took to argue with you about it. I don't see the negative effect. |
Signed-off-by: Felix Singer <[email protected]>
Signed-off-by: Felix Singer <[email protected]>
d659915
to
844c320
Compare
It's more of a no-op than mainProgram was, and that was in fact a mess.
Or yknow, rather than PR spam, we could actually move on the treewide (#211832)? |
Stop rule lawyering. We wouldn't have a hint in the bots PRs if it was not supposed to be used. It is fucking exhausting. Telling us to make progress on the treewide, which is blocked on @infinisil et al is a cop out. |
I wanted to finish that work, but Things™ happened, and now I'm involved in something completely different and don't have time to finish the automated migration just yet 🙃, sorry for the unexpected delay! So I think it's totally fair to move packages manually by now, especially since there's the merge bot now that depends on it. I'll submit a PR to update the contributor guidelines, they weren't originally written with all of this in mind. And if somebody would like to help out with the automated migration, check out NixOS/nixpkgs-vet#56. It's totally doable, but it needs a bit of elbow grease. I'll get to it eventually if nobody else does, though it might still take some time. |
Did you read my other points? My comment was literally the opposite of "rule-lawyering", I explained the spirit of the original guidelines. |
@eclairevoyant We need to consider new context as well. The guidelines weren't written with the merge bot in mind, that only came later. With the bot now existing, we should think of such moves to |
It should also be noted that the contributing guidelines are, indeed, guidelines, not rules. Our actual rules are decided through the RFC process and there has been no such RFC banning the manual migration to by-name. Perhaps we should also make that fact more clear in the document. IMV its purpose is to document the contributor etiquette as we live it (all the "unwritten rules" etc.), not provide hard clear-cut rules on processes and that should be clear to readers too. |
I am angry and happy rn. |
Description of changes
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.