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
feat: expose merge strategy for configuration when automerging #10627
feat: expose merge strategy for configuration when automerging #10627
Conversation
I have two areas of feedback here that I'm happy to either modify this Pull Request for, or submit in a follow-up Pull Request.
|
The screenshot here, from bottom to top, shows:
Renovate commits looks like my commits because of how I ran Renovate. |
e3277e5
to
a01c60e
Compare
Expose the underlying merge strategy used by our platforms as a configurable option for each repository to configure with the option `automergeStrategy`. Additionally implement `automergeStrategy` for the Bitbucket Cloud platform, as the only platform that doesn't currently respect the remote repository's configured merge strategy.
a01c60e
to
eccf4de
Compare
I was rude and force-pushed because I noticed an error immediately after pushing, before anyone had a chance to review. The error was an incomplete list of |
One final point of discussion: this PR is a rather in depth approach to the original ticket, with the goal of making the strategy changable on a per-renovate-configuration level, as per the discussion in #7184. However, the only strictly required change in order to resolve #7184 is just... Don't provide the optional If we don't have the appetite yet to take on exposing the merge strategy as a configuration item, I'm happy to put up those changes as a less ambitious PR instead. Thanks again for your time and advice, y'all. |
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.
More later
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.
Some initial changes, more to come later.
A follow-up commit will be added to jostle some new types around in the bitbucket platform module. Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
consistent with the existing code structure conventions. Additionally remove a superfluous markdown link footer that came together strangely when accepted as a change in GitHub.
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 open an issue for all platforms missing implementation too.
@viceice: I'm not sure what's happening, but you're listed as "requesting changes" despite everything being resolved. I think it's coming from the changes in Is everything above board, or am I just failing to GitHub today? |
The request changes will resolve when I approve this pr. Please open issues for the platforms which are missing this feature in this PR. After that I'll approve. 😉 |
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.
Some things I noticed just now.
One thing is for @viceice to apply if OK, the others you can do yourself. 😉
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
One sentence per line. Drop the final `.` on lists.
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.
So the last small thing before we are haape to merge.
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
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.
2 small things, looks good to me otherwise. 😉
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Hey y'all, I think this one should be good to go now. I'll swing back around in a week or so and poke folk again if there's no movement. |
🎉 This PR is included in version 25.60.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes:
Expose the underlying merge strategy used by our platforms as a
configurable option for each repository to configure with the option
automergeStrategy
. Additionally implementautomergeStrategy
for theBitbucket Cloud platform, as the only platform that doesn't currently
respect the remote repository's configured merge strategy.
Context:
closes #7184
Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: