summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-03 01:10:21 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-03 01:13:21 +0100
commit16a1aa50ba4fc781491ebea7f16eb3f0753870bb (patch)
treeb3c353fe80014dd415cf9ac6eb21f0b8f055cb43
parent4d272ec81bf8e67e773a1932c05f20c22392c9bc (diff)
downloadjenkins.debian.net-16a1aa50ba4fc781491ebea7f16eb3f0753870bb.tar.xz
reproducible: common: write the introductory stats sentence only on the main page and in the stats one
-rwxr-xr-xbin/reproducible_common.py10
-rwxr-xr-xbin/reproducible_common.sh4
2 files changed, 2 insertions, 12 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 613d8d6c..bdb5da55 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -116,11 +116,6 @@ html_footer = Template("""
html_head_page = Template((tab*2).join("""
<header>
<h2>$page_title</h2>
- <p>$count_total packages have been attempted to be build so far, that's
- $percent_total% of $amount source packages in Debian sid
- currently. Out of these, $count_good packages ($percent_good%)
- <a href="https://wiki.debian.org/ReproducibleBuilds">could be built
- reproducible!</a></p>
<ul>
<li>Have a look at:</li>
<li>
@@ -203,11 +198,6 @@ def write_html_page(title, body, destfile, suite=None, noheader=False, style_not
suite_links += '<li><a href="/' + i +'">suite: ' + i + '</a></li>'
html += html_head_page.substitute(
page_title=title,
- count_total=count_total,
- amount=amount,
- percent_total=percent_total,
- count_good=count_good,
- percent_good=percent_good,
suite_links=suite_links)
html += body
if style_note:
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 3c9e25c2..bc7f424e 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -143,11 +143,11 @@ write_page_header() {
if [ "$1" = "$MAINVIEW" ] ; then
write_page "<p>These pages contain results obtained from <a href=\"$JENKINS_URL/view/reproducible\">several jobs running on jenkins.debian.net</a>. Thanks to <a href=\"https://www.profitbricks.com\">Profitbricks</a> for donating the virtual machine this is running on!</p>"
fi
- write_page "<p>$COUNT_TOTAL packages have been attempted to be build so far, that's $PERCENT_TOTAL% of $AMOUNT source packages in Debian $SUITE currently. Out of these, $COUNT_GOOD packages ($PERCENT_GOOD%) <a href=\"https://wiki.debian.org/ReproducibleBuilds\">could be built reproducible!</a>"
if [ "${1:0:3}" = "all" ] || [ "$1" = "dd-list" ] || [ "$1" = "stats" ] ; then
+ write_page "<p>$COUNT_TOTAL packages have been attempted to be build so far, that's $PERCENT_TOTAL% of $AMOUNT source packages in Debian $SUITE currently. Out of these, $COUNT_GOOD packages ($PERCENT_GOOD%) <a href=\"https://wiki.debian.org/ReproducibleBuilds\">could be built reproducible!</a>"
write_page " Join <code>#debian-reproducible</code> on OFTC to get support for making sure your packages build reproducibly too!"
+ write_page "</p>"
fi
- write_page "</p>"
write_page "<ul><li>Have a look at:</li>"
for MY_STATE in $ALLSTATES ; do
set_icon $MY_STATE