Document the cherry-picking automation#42932
Conversation
ockham
left a comment
There was a problem hiding this comment.
Thanks a lot for documenting this! Looks good; I had one minor nitpick (scattered across multiple comments 😅)
gziolo
left a comment
There was a problem hiding this comment.
Thank you so much for adding this document. I left my feedback on how we could improve the clarity of when this tool can be used. Anyway, I didn't see any blockers, and we can iterate on that.
| @@ -0,0 +1,73 @@ | |||
| # Cherry-picking automation | |||
|
|
|||
| The cherry-picking automation makes cherry-picking PRs into WordPress and Gutenberg release branches a breeze. | |||
There was a problem hiding this comment.
This document is also linked from the section that covers cherry-picking bugs for the Gutenberg plugin releases. As far as I know, we don't have a label for plugin releases, so we should create one as part of the process.
It would also be helpful to make it clear at the top of the document that, by default, it works with the current major WordPress release. Alternatively, we could add the logic that detects the label based on the name of the branch:
release/X.Y- plugin releasewp/X.Y- WP release
There was a problem hiding this comment.
There's nothing major WP release specific in here – it works for the current git branch. I'll clarify that further.
There was a problem hiding this comment.
The autodetection logic would be really nice, too! I'll leave it as a TODO note for anyone who wishes to pick that up
There was a problem hiding this comment.
I think the confusion would get resolved with autodetection of the label that should be scanned.
Anyway, it's fine to leave a note with some examples how to approach that based on the scenario.
Co-authored-by: Bernie Reiter <ockham@raz.or.at>
Co-authored-by: Greg Ziółkowski <grzegorz@gziolo.pl>
Co-authored-by: Greg Ziółkowski <grzegorz@gziolo.pl>
Co-authored-by: Greg Ziółkowski <grzegorz@gziolo.pl>
…tenberg into docs/cherry-pick-automation
What?
Documents the cherry-picking automation introduced in PR 40969.
CC @gziolo @ryanwelcher @ockham