From f65fbb022b576c7d565f80d4083f6fac6dcfc873 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 6 Oct 2014 16:50:32 +0200 Subject: reproducible: improve html too --- bin/reproducible_stats.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh index 24cb9305..cc82c433 100755 --- a/bin/reproducible_stats.sh +++ b/bin/reproducible_stats.sh @@ -49,19 +49,19 @@ write_pkg_frameset() { cat > $FRAMESET <<-EOF - - - - - - + + + + + + EOF } init_navi_frame() { NAVI="/var/lib/jenkins/userContent/rb-pkg/$1_navigation.html" - echo "

" > $NAVI + echo "

" > $NAVI echo "$1 " >> $NAVI RESULT=$(sqlite3 -init $INIT $PACKAGES_DB "SELECT build_date,version FROM source_packages WHERE name = \"$PKG\"") BUILD_DATE=$(echo $RESULT|cut -d "|" -f1) @@ -122,10 +122,10 @@ link_packages() { echo "Starting to write statistics index page." echo -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 " " > index.html +write_index "

Statistics for reproducible builds

" +write_index "

This page is updated every three hours. Results are obtained from several build jobs running on jenkins.debian.net. Thanks to Profitbricks for donating the virtual machine it's running on!

" +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! Join #debian-reproducible on OFTC to get support for making sure your packages build reproducibly too!

" write_index "

$COUNT_BAD packages ($PERCENT_BAD% of $COUNT_TOTAL) failed to built reproducibly: " EXTRA_STAR=true link_packages $BAD @@ -148,9 +148,9 @@ fi write_index "

$COUNT_GOOD packages ($PERCENT_GOOD%) successfully built reproducibly: " link_packages $GOOD write_index "

" -write_index "

Packages which failed to build reproducibly, sorted by Maintainers: and Uploaders: fields." -write_index "

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

" -write_index "

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


Packages which failed to build reproducibly, sorted by Maintainers: and Uploaders: fields

" +write_index "

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

" +write_index "

Static URL for this page. Last modified: $(date). Copyright 2014 Holger Levsen, GPL-2 licensed." write_index "

" echo -- cgit v1.2.3-70-g09d2