[Reproducible-commits] [misc] 01/01: Support setting a comment.
Chris Lamb
lamby at moszumanska.debian.org
Wed Jul 1 13:39:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository misc.
commit e4f53b15aa51dae6604e24f03377de69e4e8ae4c
Author: Chris Lamb <lamby at debian.org>
Date: Wed Jul 1 14:38:52 2015 +0100
Support setting a comment.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
edit-notes | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/edit-notes b/edit-notes
index 4501c71..de8b5d6 100755
--- a/edit-notes
+++ b/edit-notes
@@ -10,6 +10,7 @@ parser.add_argument('--verbose', action='store_true')
parser.add_argument('-f', '--fix-note', action='append', default=[])
parser.add_argument('-a', '--add-note', action='append', default=[])
parser.add_argument('-v', '--take-version', action='store_true')
+parser.add_argument('-c', '--set-comment')
parser.add_argument('-d', '--fix-deterministic', action='store_true')
parser.add_argument('packages', nargs='*')
args = parser.parse_args()
@@ -56,5 +57,8 @@ if __name__ == '__main__':
if not add in data['issues']:
data['issues'].append(add)
+ if args.set_comment:
+ data['comments'] = args.set_comment
+
clean.write_out(notes)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list