RFR: 1111: Backport command need better matching of target repo
erikj at openjdk.java.net
Fri Jul 16 11:05:31 UTC 2021
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.
Stats: 48 lines in 4 files changed: 10 ins; 17 del; 21 mod
Fetch: git fetch https://git.openjdk.java.net/skara pull/1204/head:pull/1204
More information about the skara-dev