From 9f49dbf75df97a09bdc76d4681a3dfb3ed7228f5 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 5 Oct 2014 21:11:06 +0200 Subject: reproducible: add some output to show when running the job --- bin/reproducible_stats.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 1f0cc4b9..a003c253 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -74,6 +74,7 @@ finish_navi_frame() { link_packages() { for PKG in $@ ; do + echo -n "." VERSION=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT version FROM source_packages WHERE name = \"$PKG\"") # remove epoch EVERSION=$(echo $VERSION | cut -d ":" -f2) @@ -113,11 +114,13 @@ link_packages() { done } +echo "Starting to write statistics index page." write_index "" > index.html write_index "

Statistics for reproducible builds

" write_index "

Results were obtained by several jobs running on jenkins.debian.net. This page is updated after each job run.

" write_index "

$COUNT_TOTAL packages attempted to 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_index "

$COUNT_BAD packages ($PERCENT_BAD% of $COUNT_TOTAL) failed to built reproducibly: " +echo -n "Starting to loop through the packages tested" link_packages $BAD write_index "

" write_index @@ -140,6 +143,7 @@ write_index "

Packages which failed to build reproducibly, sorted by Maint write_index "

$(echo $BAD | dd-list -i) 

" write_index "

Static URL for this page. Last modified: $(date)" write_index "

" +echo # job output html2text index.html -- cgit v1.2.3-70-g09d2