[Reproducible-commits] [misc] 02/02: clean-notes: print out bug urls instead of just bug IDs, more friendly
Mattia Rizzolo
mattia at mapreri.org
Thu Jun 4 02:23:27 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 68bc5b1952a2142c816c38e188667b1c994c1486
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Thu Jun 4 04:23:21 2015 +0200
clean-notes: print out bug urls instead of just bug IDs, more friendly
---
clean-notes | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/clean-notes b/clean-notes
index 2cf9334..8f2a56c 100755
--- a/clean-notes
+++ b/clean-notes
@@ -357,14 +357,15 @@ def join_notes_bugs(notes, bugs):
try:
if 'bugs' in notes[package]:
if bug not in notes[package]['bugs']:
- print("bug #" + str(bug) + " in package " +
- str(package) + " is not listed in notes.git.")
+ print("https://bugs.debian.org/" + str(bug) +
+ " in package " + str(package) +
+ " is not listed in notes.git.")
notes[package]['bugs'].append(bug)
else:
notes[package]['bugs'] = [bug]
except KeyError:
- print("bug #" + str(bug) + " in package " + str(package) +
- " is not listed in notes.git.")
+ print("https://bugs.debian.org/" + str(bug) + " in package " +
+ str(package) + " is not listed in notes.git.")
notes[package] = {}
notes[package]['bugs'] = [bug]
return 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