[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: fix link title to current suite if suite != sid, also unify link target name

Holger Levsen holger at moszumanska.debian.org
Thu Mar 5 14:55:01 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 8dc3b6a275ec89a6adb7a8ca8706084437864d11
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 5 15:51:55 2015 +0100

    reproducible: fix link title to current suite if suite != sid, also unify link target name
---
 bin/reproducible_common.py | 3 +--
 bin/reproducible_common.sh | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 7e118f0..34942fd 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -157,7 +157,6 @@ html_head_page = Template((tab*2).join("""
     <li><a href="index_all_abc.html">all tested packages (sorted alphabetically)</a></li>
     <li><a href="index_dd-list.html">maintainers of unreproducible packages</a></li>
     <li><a href="index_pkg_sets.html">package sets stats</a></li>
-    <li><a href="index_suite_stats.html">sid stats</a></li>
 $suite_links
     <li><a href="/index_repo_stats.html">repositories overview</a></li>
     <li><a href="/reproducible.html">reproducible stats</a></li>
@@ -193,7 +192,7 @@ def write_html_page(title, body, destfile, suite=None, noheader=False, style_not
     html = ''
     html += html_header.substitute(page_title=title)
     if not noheader:
-        suite_links = ""
+        suite_links = '<li><a href="/' + suite +'">suite: ' + suite + '</a></li>'
         for i in SUITES:
                if i != suite:
                     suite_links += '<li><a href="/' + i +'">suite: ' + i + '</a></li>'
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 943530b..a54b2ee 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -88,7 +88,7 @@ init_html() {
 	SPOKENTARGET["all_abc"]="all tested packages (sorted alphabetically)"
 	SPOKENTARGET["dd-list"]="maintainers of unreproducible packages"
 	SPOKENTARGET["pkg_sets"]="package sets stats"
-	SPOKENTARGET["suite_stats"]="$SUITE stats"
+	SPOKENTARGET["suite_stats"]="suite: $SUITE"
 	SPOKENTARGET["repo_stats"]="repositories overview"
 	SPOKENTARGET["stats"]="reproducible stats"
 	# FIXME: this can probably all go into html_graph.sh now...: query some data we need everywhere

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