[Reproducible-commits] [misc] 01/01: clean-notes drop packages with no comments, issues or bugs
Chris West
faux-guest at moszumanska.debian.org
Sat Feb 7 11:09:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
faux-guest pushed a commit to branch master
in repository misc.
commit 750a3a257d46ad64ee462e23e98ae55ae786fce9
Author: Chris West (Faux) <git at goeswhere.com>
Date: Sat Feb 7 11:08:55 2015 +0000
clean-notes drop packages with no comments, issues or bugs
---
clean-notes | 3 +++
1 file changed, 3 insertions(+)
diff --git a/clean-notes b/clean-notes
index 6e49f3b..f0cbfd3 100755
--- a/clean-notes
+++ b/clean-notes
@@ -259,6 +259,9 @@ def cleanup_notes(notes, toremove):
def write_out(notes):
out = ''
for pkg, values in sorted(notes.items(), key=lambda x: str(x)):
+ if not any((values.get(key, None) for key in ['comments', 'issues', 'bugs'])):
+ continue
+
if pkg[0:2] == '0x': # otherwise something will convert 0xffff to 65535
out += ("!!str " + str(pkg) + ":\n")
else:
--
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