diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-19 13:02:38 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-19 13:02:38 +0100 |
commit | 54efcb42bd7be12599f53d5a98623c35516955a3 (patch) | |
tree | 5f352f48862f20477e046379bc80fd37b5650cc0 /bin/reproducible_common.sh | |
parent | 8f9ccd3a2127c87ee3240e638b1c53816ff05d15 (diff) | |
parent | e9b5d5af1fde52a271d0e4bee988e458d2b2de11 (diff) | |
download | jenkins.debian.net-54efcb42bd7be12599f53d5a98623c35516955a3.tar.xz |
Merge branch 'master' of git://git.debian.org/git/qa/jenkins.debian.net
Diffstat (limited to 'bin/reproducible_common.sh')
-rwxr-xr-x | bin/reproducible_common.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |