From 16a1aa50ba4fc781491ebea7f16eb3f0753870bb Mon Sep 17 00:00:00 2001
From: Mattia Rizzolo
Date: Tue, 3 Mar 2015 01:10:21 +0100
Subject: reproducible: common: write the introductory stats sentence only on
the main page and in the stats one
---
bin/reproducible_common.py | 10 ----------
bin/reproducible_common.sh | 4 ++--
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("""
$page_title
- $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%)
- could be built
- reproducible!
- Have a look at:
-
@@ -203,11 +198,6 @@ def write_html_page(title, body, destfile, suite=None, noheader=False, style_not
suite_links += '
- suite: ' + i + '
'
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 "These pages contain results obtained from several jobs running on jenkins.debian.net. Thanks to Profitbricks for donating the virtual machine this is running on!
"
fi
- write_page "$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%) could be built reproducible!"
if [ "${1:0:3}" = "all" ] || [ "$1" = "dd-list" ] || [ "$1" = "stats" ] ; then
+ write_page "
$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%) could be built reproducible!"
write_page " Join #debian-reproducible
on OFTC to get support for making sure your packages build reproducibly too!"
+ write_page "
"
fi
- write_page "
"
write_page "- Have a look at:
"
for MY_STATE in $ALLSTATES ; do
set_icon $MY_STATE
--
cgit v1.2.3-70-g09d2