-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Automatically open PRs to sync branches #13767
base: 2.5
Are you sure you want to change the base?
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.
LGTM!
Just some small questions, but nothing preventing the merge.
- "2.4" | ||
- "2.5" |
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.
Is is possible to use a pattern here, like you have in the labeller or does the API expect a static branch name?
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.
I think it's fnmatch syntax (glob-like), so we could use [0123456789].[0123456789]
. But it's a bit pointless since we still need to hardcode the from/to branch mapping below.
- from_branch: "2.4" | ||
to_branch: "2.5" | ||
- from_branch: "2.5" |
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.
Would we always backport via the n-1
version? What I mean by that is, if there is a change in 2.4
, would we expect 2.4 -> 2.5
PR to be reviewed and merged, then 2.5 -> main
? Or should we consider 2.4 -> 2.5
and 2.4 -> main
to be created in parallel?
I'm thinking, there could be case we the 2.4 -> 2.5
(or any stable versions) needs to be delayed due to issues or further work needed to support the backport, but in the meantime, there wouldn't be a need to hold it for the dev branch (main
)
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.
I think we should almost always just go to the next branch, not open multiple PRs from the same source. This just leads to more noise and confusion.
If we ever need this, nothing is stopping us from opening a PR manually 😉
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. Thank you. Does it matter which branch this goes into? does still run the 2.4->2.5 job if it only lands in main
?
IIRC it suffices to have it in the default branch ( |
Or I'll just rebase onto 2.4 to be on the safe side. |
519d969
to
f639b1d
Compare
Great thanks. Lets give everyone 24h to object before we merge. |
I think this is actually lacking the instruction from gitattributes (although I don't remember making that configuration change before). Is this really needed? If so, I need to change this workflow and create a dedicated branch instead. |
Is this ready to be merged? I was about to cherry-pick #13913 into |
I think this is not usable due to the translations mess. See #13767 (comment). |
7577eb0
to
0fcebf0
Compare
0fcebf0
to
f422a62
Compare
In the past we the merge commit was always the auto generated message: In your Demo branch it is now:
It is unfortunately less obvious that this is no functional change. How shall it work finally? Collect all merged PRs until one of us presses merge? Current solution:
How about just model this:
|
Related Zulip discussion: https://mixxx.zulipchat.com/#narrow/stream/109171-development/topic/Accidentental.20push.20to.20main.20reverted
Demo: mixxxdj/playground#10