[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: turn icons for other suites into links too

Holger Levsen holger at moszumanska.debian.org
Thu Mar 19 00:30:48 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 e1cdcbf6e72561a6c8880c6819bd1ace2261aa94
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 19 01:28:40 2015 +0100

    reproducible: turn icons for other suites into links too
---
 bin/reproducible_html_packages.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index 9f4d2c7..61430f8 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -170,8 +170,8 @@ def gen_suites_links(package, suite):
             continue
         status = 'untested' if not i[3] else i[3]
         html += '<span class="avoidwrap">\n' + tab
-        icon = '<img src="/static/{icon}" alt="{status}" title="{status}"/>\n'
-        html += icon.format(icon=join_status_icon(status)[1], status=status)
+        icon = '<a href="/{suite}/{arch}/index_{status}.html"><img src="/static/{icon}" alt="{status}" title="{status}"/></a>\n'
+        html += icon.format(icon=join_status_icon(status)[1], status=status, suite=i[0], arch=i[1])
         html += tab + '<a href="' + RB_PKG_URI + '/' + i[0] + '/' + i[1] + \
                 '/' + str(package) + '.html" target="_parent">' + i[0] + \
                 ':' + i[2] + '</a>\n'

-- 
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