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-connect-swift.git
The following commit(s) were added to refs/heads/main by this push:
new e3917c7 [SPARK-55591] Revise subtask creating message
e3917c7 is described below
commit e3917c7425d850616796b4ba9cc50d688ba42627
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Feb 18 10:22:07 2026 -0800
[SPARK-55591] 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-54095 with
title: ..." in case of subtask creation.
```
$ dev/create_spark_jira.py -p SPARK-54095 'Revise subtask creating message'
Creating a subtask of SPARK-54095 with title: Revise subtask creating
message
Created JIRA issue: SPARK-55591
git checkout -b SPARK-55591
Switched to a new branch 'SPARK-55591'
Created and checked out branch: SPARK-55591
['git', 'commit', '-a', '-m', '[SPARK-55591] Revise subtask creating
message']
Created a commit with message: [SPARK-55591] 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 #295 from dongjoon-hyun/SPARK-55591.
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 5076029..c21ca00 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]