skara icon indicating copy to clipboard operation
skara copied to clipboard

2304: /backport jdk23 should provide a more helpful message

Open zhaosongzs opened this issue 8 months ago • 3 comments

This patch is trying to improve the bot's replies of backport command.

  1. If the user issued /backport jdkX, the bot would check if there is a jdkX branch in current repo, if so, the bot would tell the user that to target a backport to jdkX branch in current repo, he should issue /backport :jdkX.

  2. When user specified branch name in the command but the branch doesn't exist, the bot will list 10 branch names in the target repo, the branch names are just sorted in reverse alphabetical order, so we can't guarantee they are the most relevant ones.


Progress

  • [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace

Issue

  • SKARA-2304: /backport jdk23 should provide a more helpful message (Bug - P3)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/skara.git pull/1667/head:pull/1667
$ git checkout pull/1667

Update a local copy of the PR:
$ git checkout pull/1667
$ git pull https://git.openjdk.org/skara.git pull/1667/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1667

View PR using the GUI difftool:
$ git pr show -t 1667

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/skara/pull/1667.diff

Webrev

Link to Webrev Comment

zhaosongzs avatar Jul 02 '24 18:07 zhaosongzs