RFR: 1797: Add support for /backport pull request command

erik.joelsson at oracle.com erik.joelsson at oracle.com
Thu Feb 2 14:00:34 UTC 2023

On 2/2/23 05:30, Thomas Stüfe wrote:
> Hi Erik :)
> p.s. there is one detail I did not understand:
> "With Zhao’s patch a user can now instead type `/backport` in the pull 
> request and the Skara bots will create the “backport pull request” 
> once the pull request has been integrated."
> Today, /backport does not create a pull request, or? It only creates 
> the backport branch; the pull request creation is still a manual step 
> - either a button press or a manual process via git. So, will 
> /backport in an open PR behave differently from that and create the PR 
> right away?

You are correct, the `/backport` command only creates the branch and 
provides a link for creating the backport. That isn't changing. When 
issuing `/backport` in a pull request the difference is that the link 
appears as a comment on the pull request instead of the commit.

Another aspect of this change is that the author can use it to declare 
their intent of backporting the change to a certain release, which 
reviewers have the opportunity to respond to directly in the current review.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/skara-dev/attachments/20230202/251342cd/attachment-0001.htm>

More information about the skara-dev mailing list