This is an automated email from the ASF dual-hosted git repository. chengpan pushed a commit to branch branch-0.5 in repository https://gitbox.apache.org/repos/asf/kyuubi-shaded.git
The following commit(s) were added to refs/heads/branch-0.5 by this push: new 0aab5bc [KYUUBI-SHADED #63] Correct fix_title in dev/merge_kyuubi_pr.py 0aab5bc is described below commit 0aab5bc17fbebbb7e9bcd0e223cba876758ffb82 Author: Cheng Pan <cheng...@apache.org> AuthorDate: Fri Jul 18 17:16:29 2025 +0800 [KYUUBI-SHADED #63] Correct fix_title in dev/merge_kyuubi_pr.py ### _Why are the changes needed?_ To make it also recognize PR title prefix like `[KYUUBI-SHADED #60]` ### _How was this patch tested?_ Before ``` fix_title("[KYUUBI-SHADED #60] Step 1/2: Copy TSaslServerTransport from Thrift 0.16.0", 62) '[KYUUBI-SHADED #62][KYUUBI-SHADED #60] Step 1/2: Copy TSaslServerTransport from Thrift 0.16.0' ``` After ``` >>> fix_title("[KYUUBI-SHADED #60] Step 1/2: Copy TSaslServerTransport from Thrift 0.16.0", 62) '[KYUUBI-SHADED #60] Step 1/2: Copy TSaslServerTransport from Thrift 0.16.0' ``` Closes #63 from pan3793/merge-fix. d7090c4 [Cheng Pan] Correct fix_title in dev/merge_kyuubi_pr.py Authored-by: Cheng Pan <cheng...@apache.org> Signed-off-by: Cheng Pan <cheng...@apache.org> --- dev/merge_kyuubi_pr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/merge_kyuubi_pr.py b/dev/merge_kyuubi_pr.py index 5f5d1f9..7004cfb 100755 --- a/dev/merge_kyuubi_pr.py +++ b/dev/merge_kyuubi_pr.py @@ -90,7 +90,7 @@ def clean_up(): run_cmd("git branch -D %s" % branch) def fix_title(text, num): - if (re.search(r'^\[KYUUBI\s#[0-9]{3,6}\].*', text)): + if (re.search(r'^\[KYUUBI(-SHADED)?\s#[0-9]{2,6}\].*', text)): return text return '[KYUUBI-SHADED #%s] %s' % (num, text)