RFR: 1111: Backport command needs better matching of target repo
kcr at openjdk.java.net
Fri Jul 16 14:03:51 UTC 2021
On Fri, 16 Jul 2021 11:01:48 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> This patch improves the /backport commit command, making it smarter when trying to find the target repository from the argument given by the user. Instead of trying to piece it together based on the namespace (organization/group) of the current repository, it goes straight to the forks configuration and tries to match the repo from there. We can only do backports if there is a valid fork configuration anyway.
> In addition to this, I'm also changing the error message you get when you enter an invalid target repo. The list now includes the namespace prefix for each repo, and a note that supplying it is optional.
Marked as reviewed by kcr (Reviewer).
More information about the skara-dev