summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-05 15:51:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-05 15:51:55 +0100
commit8dc3b6a275ec89a6adb7a8ca8706084437864d11 (patch)
tree4b973342d424f5777158f2dccf8c5d31433c2c33
parent3bd0650d1480e148d22fc9ab119124ed3f193b0f (diff)
downloadjenkins.debian.net-8dc3b6a275ec89a6adb7a8ca8706084437864d11.tar.xz
reproducible: fix link title to current suite if suite != sid, also unify link target name
-rwxr-xr-xbin/reproducible_common.py3
-rwxr-xr-xbin/reproducible_common.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 7e118f0a..34942fd3 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 943530ba..a54b2ee6 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