cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Stupp <sn...@snazy.de>
Subject Commit message automation
Date Mon, 24 Aug 2015 12:10:52 GMT
Hi,

yesterday I built a small python script that helps during commits.
In case you’re interested, it’s on github as a public gist https://gist.github.com/snazy/1e7223be98e4ebe608af
<https://gist.github.com/snazy/1e7223be98e4ebe608af>

Usage:
	./commit-jira.py TICKET_NUM
Example:
	./commit-jira.py 12345
(not CASSANDRA-12345)

It uses the JIRA REST API to get the assignee, reviewer and summary to construct the commit
msg and set the --author argument. It also opens a browser tab with the issue.

Robert

PS: I did not test it very thoroughly - so no idea what happens, when reviewer and/or assignee
are not set.

—
Robert Stupp
@snazy


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message