Integrated: 2304: /backport jdk23 should provide a more helpful message

Zhao Song zsong at openjdk.org
Wed Jul 3 18:17:43 UTC 2024


On Tue, 2 Jul 2024 18:15:21 GMT, Zhao Song <zsong at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 273c362a
Author:    Zhao Song <zsong at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/273c362ab262134584830fc99adfd23f6f7ee0f7
Stats:     45 lines in 2 files changed: 41 ins; 0 del; 4 mod

2304: /backport jdk23 should provide a more helpful message

Reviewed-by: erikj

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

PR: https://git.openjdk.org/skara/pull/1667


More information about the skara-dev mailing list