Integrated: 1111: Backport command needs better matching of target repo

Erik Joelsson erikj at openjdk.java.net
Mon Aug 30 14:41:56 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.

This pull request has now been integrated.

Changeset: 6a76a146
Author:    Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/6a76a146b39656e441f0c6c15727737d399ce16e
Stats:     48 lines in 4 files changed: 10 ins; 17 del; 21 mod

1111: Backport command needs better matching of target repo

Reviewed-by: kcr, ihse

-------------

PR: https://git.openjdk.java.net/skara/pull/1204


More information about the skara-dev mailing list