<div dir="ltr">On our scrum with Katello yesterday, they raised an issue that since they are developing against our release branches, they need bug fixes to be cherry picked to release branches asap. Currently this is up to release leads, but we've seen this week that this is problematic as two of our release leads have been out/unavailable.<div><br></div><div>One suggestion is to automate the cherry picking process. I think we could develop a PR bot similar to the one Foretello uses[1] (see this PR[2] as an example). I think the basic workflow for this bot would be:</div><div><br></div><div>- If a PR is created with no issue attached or [noissue], it would loudly warn that no issue is attached</div><div>- If the PR has a redmine issue attached, it would:</div><div>  - Attach the PR to the redmine issue and set the status to POST[3]<br></div><div>  - Set the PR labels depending on the issue type. One of the labels would be 'Needs Cherrypick' if the issue type is a bug. This label can be removed before merge for things we don't want cherry picked.<br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>- When any PR is merged with 'Needs Cherrypick', it could either automatically open a cherrypick PR or actually do the cherrypick (falling back to a PR if the merge fails due to conflicts).</div><div><br></div><div>Thoughts?</div><div><br></div><div>[0] <a href="https://pulpproject.org/2019/11/04/pulp-3-GA-update/#cherry-picking" target="_blank">https://pulpproject.org/2019/11/04/pulp-3-GA-update/#cherry-picking</a></div><div>[1] <a href="https://github.com/theforeman/prprocessor" target="_blank">https://github.com/theforeman/prprocessor</a></div><div>[2] <a href="https://github.com/Katello/katello/pull/8441" target="_blank">https://github.com/Katello/katello/pull/8441</a></div><div>[3] <a href="https://pulp.plan.io/issues/4365" target="_blank">https://pulp.plan.io/issues/4365</a></div><div><br></div><div>David<br></div></div></div></div></div></div></div></div></div></div>