summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-11-18 01:35:30 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-18 01:35:30 +0100
commit7562396d09e39cc681366827513fd9b4ed8f3135 (patch)
treee3c591c23dca6509f1ec8faee587dfdea50b5565
parent482759027ef8d95220176184301191b1b942c9f3 (diff)
downloadjenkins.debian.net-7562396d09e39cc681366827513fd9b4ed8f3135.tar.xz
reproducible: no need to guess anymore
-rw-r--r--bin/.reproducible_scheduler.sh.swpbin0 -> 16384 bytes
-rwxr-xr-xbin/reproducible_common.sh3
2 files changed, 1 insertions, 2 deletions
diff --git a/bin/.reproducible_scheduler.sh.swp b/bin/.reproducible_scheduler.sh.swp
new file mode 100644
index 00000000..ef20cb50
--- /dev/null
+++ b/bin/.reproducible_scheduler.sh.swp
Binary files differ
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 8fe2f96c..6f1324d2 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -142,7 +142,6 @@ init_html() {
COUNT_GOOD=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT COUNT(name) FROM source_packages WHERE status = \"reproducible\"")
PERCENT_TOTAL=$(echo "scale=1 ; ($COUNT_TOTAL*100/$AMOUNT)" | bc)
PERCENT_GOOD=$(echo "scale=1 ; ($COUNT_GOOD*100/$COUNT_TOTAL)" | bc)
- GUESS_GOOD=$(echo "$PERCENT_GOOD*$AMOUNT/100" | bc)
BUILDINFO_SIGNS=true
}
@@ -194,7 +193,7 @@ 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 it's 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, $PERCENT_GOOD% were successful, so quite wildly guessing this roughy means about $GUESS_GOOD <a href=\"https://wiki.debian.org/ReproducibleBuilds\">packages should be reproducibly buildable!</a>"
+ 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 packagea ($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 " Join <code>#debian-reproducible</code> on OFTC to get support for making sure your packages build reproducibly too!"
fi