Why curl closes PRs on GitHub
21–30 of 41 posts
Re: Why curl closes PRs on GitHub
#22Re: Why curl closes PRs on GitHub
#23Re: Why curl closes PRs on GitHub
#24Earlier quoted context omitted.
We also do squash and merge by default in my company. Each PR is supposed to represent one and only one feature and/or change. Can you please better explain the disadvantages of this? Of which editing are you talking about? What needs to be edited after the squash and merge?
Bisecting is more efficient when individual commits are preserved, IMO/E.
Without squash merge, it then becomes very likely most commits do not even build making bisecting a bit of a nightmare.
Re: Why curl closes PRs on GitHub
#25Re: Why curl closes PRs on GitHub
#26Couldn't they just edit the PR branch directly? When I make PRs I have an option "Allow edits by maintainers" which I assume would give them write access to my branch? Edit: "We COULD but we won’t" actually addresses that, but it just wasn't obvious to me that they were referring to that feature. I can't delete this comment anymore.
Re: Why curl closes PRs on GitHub
#27Interesting. I made some contributions to the Zephyr RTOS project early this year, and they had a different approach to the same problems. It seems like Curl makes it the maintainers' job to do the rebasing and commit-style corrections. Zephyr, on the other hand, put it on the pull request's creator. I ended up force-pushing and rebasing half a dozen times because I had to learn all their rules the hard way. I don't…
Depends on the person I guess but I often find it less exhausting to just fix up minor issues myself than to get a driveby contributor to adhere to the project style.
Re: Why curl closes PRs on GitHub
#28Interesting. I made some contributions to the Zephyr RTOS project early this year, and they had a different approach to the same problems. It seems like Curl makes it the maintainers' job to do the rebasing and commit-style corrections. Zephyr, on the other hand, put it on the pull request's creator. I ended up force-pushing and rebasing half a dozen times because I had to learn all their rules the hard way. I don't…
There are some code systems that force a rebase-centric workflow like Gerrit, where you literally can't push more changes, unless you want to make separate review requests that get queued (which can be desirable) Coming from those better systems, the review interface of Github feels like a badly implemented afterthought.
This really goes for most of GitHub's additions. Issues, releases, wiki all feel like the bare minimum needed to claim it has those features.
Re: Why curl closes PRs on GitHub
#29Earlier quoted context omitted.
Bisecting is more efficient when individual commits are preserved, IMO/E.
Inevitably you will encounter (a) a junior developer who considers commits to be 'save states' rather than individual logical changes or (b) someone who is used to squash merge and did not think commit history mattered. Without squash merge, it then becomes very likely most commits do not even build making bisecting a bit of a nightmare.
Re: Why curl closes PRs on GitHub
#30Couldn't they just edit the PR branch directly? When I make PRs I have an option "Allow edits by maintainers" which I assume would give them write access to my branch? Edit: "We COULD but we won’t" actually addresses that, but it just wasn't obvious to me that they were referring to that feature. I can't delete this comment anymore.
They explicitly call out not wanting to do this in the blog post.