[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: html_indexes: use that new link_package() thinghy

Holger Levsen holger at moszumanska.debian.org
Sun Apr 12 23:11:38 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 4978f3e64f16601a026eb22f71f1c824fee90419
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sun Apr 12 20:36:19 2015 +0200

    reproducible: html_indexes: use that new link_package() thinghy
---
 bin/reproducible_html_indexes.py | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 6450c1a..5a35c40 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -325,13 +325,7 @@ def build_page_section(page, section, suite, arch):
             pkg = row[0]
             url = RB_PKG_URI + '/' + suite + '/' + arch + '/' + pkg + '.html'
             html += tab*2
-        html += '<a href="' + url + '" class="'
-        if package_has_notes(pkg):
-            html += 'noted'
-        else:
-            html += 'package'
-        html += '">' + pkg + '</a>'
-        html += get_trailing_icon(pkg, bugs)
+        html += link_package(pkg, suite, arch, bugs)
         if page == 'scheduled':
             html += '</code></td></tr>'
         html += '\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