RFR: 2304: /backport jdk23 should provide a more helpful message [v3]
Zhao Song
zsong at openjdk.org
Wed Jul 3 17:28:07 UTC 2024
> 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.
Zhao Song has updated the pull request incrementally with one additional commit since the last revision:
review comment
-------------
Changes:
- all: https://git.openjdk.org/skara/pull/1667/files
- new: https://git.openjdk.org/skara/pull/1667/files/3788e4c6..d2733005
Webrevs:
- full: https://webrevs.openjdk.org/?repo=skara&pr=1667&range=02
- incr: https://webrevs.openjdk.org/?repo=skara&pr=1667&range=01-02
Stats: 17 lines in 2 files changed: 7 ins; 8 del; 2 mod
Patch: https://git.openjdk.org/skara/pull/1667.diff
Fetch: git fetch https://git.openjdk.org/skara.git pull/1667/head:pull/1667
PR: https://git.openjdk.org/skara/pull/1667
More information about the skara-dev
mailing list