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
dupeguru: Fix build #99076
dupeguru: Fix build #99076
Conversation
Please follow CONTRIBUTING.md and manual#submitting-changes-making-patches and squash the fix-up commits. This can be done without
However, |
WFM non-nixos linux x86_64 |
Done. But in no way I can read from CONTRIBUTING that fixup commits should be squashed. And I would assume nobody picks that up from the sentence "If you have commits pkg-name: oh, forgot to insert whitespace: squash commits in this case. Use git rebase -i." in the manual either (it's quite hidden). Also, you started making code suggestions, where you have to expect people pushing the "commmit" button resulting in a commit to the PR... 🤷♂️ And I don't really understand what's the point, since one can simply squash when merging here on GitHub, avoiding re-evaluation of ofborg?! |
I usually make the edits locally, re-build the package. Doing those changes locally are easier
It's not for your benefit, it's for the benefit of those reviewing your PR. I'm sacrificing my free time to review the changes. In general, it's not very rewarding to do reviews. Not to mention that your PR just "happens" to be only one commit, so squashing happens to be a possibility in this one instance. The nixpkgs manual uses the term "logical units"; the term is vague, but it allows for the flexibility needed when doing non-conventional changes. In any case, I don't think a comment and some formatting warrants a separate commit. |
this was marked broken in #99956 , please rebase, and unmark it as broken |
Note: the patch should be removed when the next version is released. Co-authored-by: Jon <jonringer@users.noreply.github.com>
But is it really less work to explain the squashing machinery each time and having to revisit the PR at a later time than to simply choose the right button (especially - as in this case - if the changes are from yourself basically?) You don't have to answer, I don't want to start a discussion here... just a thought.
Done. Thanks ❤️ ! |
It is less work the first time. But it's more to set expectations, so that further contributions are easier to review. Also avoids having to do, "it was okay in this one previous PR because it was only meant to be a single commit, so i could squash it. But in this one you have 2 package additions and a version bump, so that's not something I can easily do from github." |
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.
diff LGTM
gui launches fine
https://github.com/NixOS/nixpkgs/pull/99076
1 package built:
dupeguru
Motivation for this change
ZHF: #97479
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)