diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-11-18 01:35:30 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-18 01:35:30 +0100 |
commit | 7562396d09e39cc681366827513fd9b4ed8f3135 (patch) | |
tree | e3c591c23dca6509f1ec8faee587dfdea50b5565 /bin | |
parent | 482759027ef8d95220176184301191b1b942c9f3 (diff) | |
download | jenkins.debian.net-7562396d09e39cc681366827513fd9b4ed8f3135.tar.xz |
reproducible: no need to guess anymore
Diffstat (limited to 'bin')
-rw-r--r-- | bin/.reproducible_scheduler.sh.swp | bin | 0 -> 16384 bytes | |||
-rwxr-xr-x | bin/reproducible_common.sh | 3 |
2 files changed, 1 insertions, 2 deletions
diff --git a/bin/.reproducible_scheduler.sh.swp b/bin/.reproducible_scheduler.sh.swp Binary files differnew file mode 100644 index 00000000..ef20cb50 --- /dev/null +++ b/bin/.reproducible_scheduler.sh.swp 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 |