[Qa-jenkins-scm] [jenkins.debian.net] 01/01: b/reproducible_common.py: Make trailing bug icons HTML anchors.
Holger Levsen
holger at moszumanska.debian.org
Sat Aug 29 09:11:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit a2423ddb3fcbf39544169a0e27300babfa29c903
Author: Chris Lamb <lamby at debian.org>
Date: Sat Aug 29 09:37:14 2015 +0100
b/reproducible_common.py: Make trailing bug icons HTML anchors.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
bin/reproducible_common.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index d03e215..b4d5622 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -552,6 +552,7 @@ def get_trailing_icon(package, bugs):
html = ''
if package in bugs:
for bug in bugs[package]:
+ html += '<a href="https://bugs.debian.org/{bug}">'.format(bug=bug)
html += '<span class="'
if bugs[package][bug]['done']:
html += 'bug-done" title="#' + str(bug) + ', done">#</span>'
@@ -561,6 +562,7 @@ def get_trailing_icon(package, bugs):
html += 'bug-patch" title="#' + str(bug) + ', with patch">+</span>'
else:
html += 'bug" title="#' + str(bug) + '">#</span>'
+ html += '</a>'
return html
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list