From 7562396d09e39cc681366827513fd9b4ed8f3135 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 18 Nov 2014 01:35:30 +0100 Subject: reproducible: no need to guess anymore --- bin/.reproducible_scheduler.sh.swp | Bin 0 -> 16384 bytes bin/reproducible_common.sh | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 bin/.reproducible_scheduler.sh.swp (limited to 'bin') diff --git a/bin/.reproducible_scheduler.sh.swp b/bin/.reproducible_scheduler.sh.swp new file mode 100644 index 00000000..ef20cb50 Binary files /dev/null and b/bin/.reproducible_scheduler.sh.swp 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 "

These pages contain results obtained from several jobs running on jenkins.debian.net. Thanks to Profitbricks for donating the virtual machine it's 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, $PERCENT_GOOD% were successful, so quite wildly guessing this roughy means about $GUESS_GOOD packages should be reproducibly buildable!" + 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 packagea ($PERCENT_GOOD%) could be built reproducible!" if [ "${1:0:3}" = "all" ] || [ "$1" = "dd-list" ] || [ "$1" = "stats" ] ; then write_page " Join #debian-reproducible on OFTC to get support for making sure your packages build reproducibly too!" fi -- cgit v1.2.3-54-g00ecf