-
Notifications
You must be signed in to change notification settings - Fork 19
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
Support "Rebase & Merge" #41
Comments
The issue is that in order for GitHub to mark the PR as merged, the head of the PR branch must appear in the base branch. GitHub can work around that because they are GitHub. |
Hmm. But this issue also exists with merges, right? When homu now performs a merge on the auto branch, this merge commit is created outside of GH, yet GH recognizes that the PR has been merged. |
This is because the head of the PR becomes reachable from the head of the base branch, but if rebasing is done, the commits are not the same. Also, I tend to personally dislike having something creating commits in your name, or the primary reason that GitHub displays "Unverified" next to the commit, or "Partially Verified" |
Ah, it needs to be reachable, that makes sense. I'm not sure why GH always creates new commits, AFAIK even if it could be a fast-forward. In any case, this would not be practical for bors. |
For Rustup, the requirement around what sort of merge to do was pragmatic, not opinionated: Kinnison needed to be able to write up the release notes and link back to the PRs that were merged, and both rebase and squash merges prevented this being easy in some fashion. So as long as whoever is doing releases can generate good release notes (e.g. tell which PRs were merged in the release), the merge style doesn't matter. |
(Slightly off topic) @rbtcollins In that case, I guess GitHub can pretty much do that quite easily for us regardless of the merge method being used. There is a "generate release note" stuff that I have used in my own projects (where I also use "Rebase & Merge" quite often), we can choose to copy the generated contents into CHANGELOG.md. |
@rust-lang/rustup is considering the possibility of introducing a merge queue into rust-lang/rustup. However, as we are currently doing GitHub-native "Rebase & Merge" operations, I wonder if the same workflow could be made possible with bors 1.
Possibly related to #25 (comment).
Footnotes
This is already possible with GitHub Merge Queues. If the plan was to use it as the backend of the new bors (https://github.com/rust-lang/bors/issues/25#issuecomment-1588696609), then maybe we can go for it first. ↩
The text was updated successfully, but these errors were encountered: