[Reproducible-commits] [misc] 02/04: edit-notes: add a --verbose flag. I love being bugged.
Mattia Rizzolo
mattia at mapreri.org
Wed Jun 24 14:35:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch master
in repository misc.
commit e888c73a69f045d44757be49ebe5444cc910f97f
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Wed Jun 24 13:38:43 2015 +0000
edit-notes: add a --verbose flag. I love being bugged.
---
edit-notes | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/edit-notes b/edit-notes
index 48c885d..4501c71 100755
--- a/edit-notes
+++ b/edit-notes
@@ -6,6 +6,7 @@ import yaml
clean = __import__('clean-notes')
parser = argparse.ArgumentParser()
+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')
@@ -44,6 +45,9 @@ if __name__ == '__main__':
if testedpkgs.get(package, {}).get('status', False) == 'reproducible':
package_issues = data.get('issues', [])
if fix in package_issues:
+ if args.verbose:
+ print('https://reproducible.debian.net/' + package +
+ ' seems to be fixed')
package_issues.remove(fix)
for add in args.add_note:
--
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