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
python3Packages.python-gitlab: 1.15.0 -> 2.2.0 #86269
Conversation
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.
Please follow CONTRIBUTING.md and manual#submitting-changes-making-patches and squash the commits.
This is a lot of small bumps, I would just compile into one
python3Packages.python-gitlab: 1.15.0 -> 2.2.0
Thanks for the feedback!
What part of CONTRIBUTING.md did I not follow? (Honest question. I just read it again and can't determine where I went afoul of it.)
Does that manual section mandate squashing of all commits? The only rule towards that direction seems to be
None of my commits here are of "oh, forgot to insert whitespace" nature, as far as I can tell. That manual section also says:
That's what I tried to do here. Note that I didn't make separate commits for all versions since 1.15.0. My reasons for the commits are as follows:
Yes, these are many bumps, but I think having them in the history is worthwhile. If you maintain that they are too many, I'd like to at least preserve be60e99 & a27308cf473a2d078abf41c16ea225a366815fb9 (and squash 7cceb71ed740831ed7f0a5190969a4f5e2d3b9f1, 548bb89f8e78c188f0eb9981087c8fb98b4b470f and a7706508276dbb85f0e562a729c18ce755b6d4f9 to one single commit, resulting in a total of 3 commits), unless you insist they be all squashed into only one commit. |
Does 3 commits sound good to you? Either
or
make most sense, if not all 5 commits shall be preserved. |
From the perspective of the master branch, I think it makes more sense to just do all the bumps in one go, because the individual package bumps never existed. But that's just me |
Alright, I've squashed the four version bump commits into one, but left the re-format commit as-is.
Not quite sure what to make of that. If you require changes for an approving review, please give actionable feedback. If however the PR just isn't to your best liking, but you find it objectively acceptable, please state that clearly. |
To me, you're doing a version bump, if you have a series of 4 version bumps, why not collapse it into a single version bump? If there was a regression in this package, then having the many version bumps doesn't really help, because you are trying to triage regressions from master. So having an intermediate commit, which never had a release on that package, seems to add noise when doing a |
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
Result of nixpkgs-review pr 86269 1
2 packages built:
- python37Packages.python-gitlab
- python38Packages.python-gitlab
Motivation for this change
upstream releases (see PyPI for SHA256 hashes & GitHub for release notes)
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)Result of
nixpkgs-review pr 86269
12 packages built:
- python37Packages.python-gitlab
- python38Packages.python-gitlab