-
Notifications
You must be signed in to change notification settings - Fork 60
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
Feature: Add support for merge commits #303
Conversation
sorenlouv
commented
Feb 16, 2022
•
edited
Loading
edited
- Feature: Improve support for merge commits (Closes Backport commits in PR instead of merge commit #257)
- Fix: Fix bug where backport would fail if no .backportrc.json file existed
Fix bug where backport would fail if no .backportrc.json file existed
f3bec71
to
a82aeac
Compare
Okay, I forgot how to make use of this feature and I can't seem to get it working anymore xD Using the |
@Krzmbrzl As far as I can tell, it works as it should. Take a look at this dummy repo: https://github.com/backport-org/different-merge-strategies. If you clone it, you'll be able to run:
Then you should see that it backports all commits from the source pull request. I did it here. I might have missed some edge cases so it would be terrific if you can reproduce the problem in a public repo that I can view. |
Hm okay. Could it be related to the fact that I was seeing a merge conflict during the cherry-pick of that very first commit? Could that have thrown off the following logic? I did encounter the issue while trying to backport mumble-voip/mumble#5641 to https://github.com/mumble-voip/mumble/tree/1.4.x, though at commit 3960373d98f9226b73e947abc582e0e4e4ae5936. The command that I ran was
and then select then |
Aha - so it was not me doing something silly - that's good :D
Thanks! 👍 |
@Krzmbrzl I've made a fix and released it in v8.4.1. Please let me know if it works for you if you have time. |
So I've been using the new version for a bit now and while I have yet to use it on a PR that causes a merge conflict, I now constantly keep running into issues where backlog "crashes" and in the logs there is always a message such as
I'm not sure if this is related to the latest changes though. This is backlog's output when this happens
Whenever this happens I have to delete |
Note: Just after I wrote this I did encounter a backport with merge conflicts and it seems to work as expected 👍 |
The fix is released in 8.4.2. |
Can confirm that everything seems to be working smoothly again. Thank you! 👍 |