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
castget: init at 1_2_4 #65492
castget: init at 1_2_4 #65492
Conversation
Bump. |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/42 |
Good bot. |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/join-the-package-maintainer-team/3751/5 |
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.
LGTM, will merge when ofBorg approves. Thank you!
Thank you! As a general question, I was wondering, is it usually desired by maintainers that packages related PRs will consist of a single commit? |
It depends on context (but also a lot on the reviewer's preferences). My opinion is that every commit should do one thing, but there is no reason to maintain all histories within a PR. So in this case, the "one thing" is initializing a package. Nobody gains any information from the additional commits incorporating my nitpicks (and they don't have the appropriate naming scheme anyway), so I've used github's squash-and-merge feature. But if, for example, this was the first package you maintain you should have one commit adding yourself to the maintainers list and then a separate commit init'ing the package (using the maintainers entry). Or if you're fixing a broken package and while you're at it also updating it to the latest version, you could have two commits: Basically two rules of thumb:
And remember that these are rules of thumb and if its easier to just do everything in one commit, sometimes its just not worth to spend the time and dis-entangle everything ;) |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)