This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 99bc0d1  [SPARK-55592] Revise subtask creating message
99bc0d1 is described below

commit 99bc0d18372a8eecae939d92480df5ae281e3f7a
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Feb 18 11:37:58 2026 -0800

    [SPARK-55592] Revise subtask creating message
    
    ### What changes were proposed in this pull request?
    
    This PR aims to revise subtask creating message of `create_spark_jira.py`.
    
    ### Why are the changes needed?
    
    This PR shows a parent ID like "Creating a subtask of SPARK-55000 with 
title: ..." in case of subtask creation.
    
    ```
    $ dev/create_spark_jira.py -p SPARK-55000 'Revise subtask creating message'
    Creating a subtask of SPARK-55000 with title: Revise subtask creating 
message
    Created JIRA issue: SPARK-55592
    git checkout -b SPARK-55592
    Switched to a new branch 'SPARK-55592'
    Created and checked out branch: SPARK-55592
    ['git', 'commit', '-a', '-m', '[SPARK-55592] Revise subtask creating 
message']
    Created a commit with message: [SPARK-55592] Revise subtask creating message
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: `Gemini 3 Pro (High)` on `Antigravity`
    
    Closes #510 from dongjoon-hyun/SPARK-55592.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 dev/create_spark_jira.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev/create_spark_jira.py b/dev/create_spark_jira.py
index 9fd9a36..7cce04e 100755
--- a/dev/create_spark_jira.py
+++ b/dev/create_spark_jira.py
@@ -113,7 +113,10 @@ def main():
     parser.add_argument("-p", "--parent", help="Parent JIRA ID for subtasks")
     args = parser.parse_args()
 
-    print("Creating JIRA issue with title: %s" % args.title)
+    if args.parent:
+        print("Creating a subtask of %s with title: %s" % (args.parent, 
args.title))
+    else:
+        print("Creating JIRA issue with title: %s" % args.title)
 
     jira_id = create_jira_issue(args.title, args.parent)
     print("Created JIRA issue: %s" % jira_id)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to