From 095d49297b48ce58d2f5590eaf9055646b4b151f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 23 May 2015 19:54:26 +0200 Subject: reproducible: improve layout --- bin/reproducible_html_graphs.sh | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index ecb0ba32..1b729fdc 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -520,8 +520,20 @@ create_main_stats_page() { PAGE=index_${VIEW}.html echo "$(date) - starting to write $PAGE page." write_page_header $VIEW "Overview of various statistics about reproducible builds" - # write suite graphs + # write suite table write_page "

" + write_page "" + for SUITE in $SUITES ; do + gather_suite_stats + write_page "" + done + write_page "
suiteall sources packagesreproducible packagesunreproducible packagespackages failing to buildother packages
$SUITE$AMOUNT" + if [ $(echo $PERCENT_TOTAL/1|bc) -lt 98 ] ; then + write_page "($PERCENT_TOTAL% tested)" + fi + write_page "$COUNT_GOOD / $PERCENT_GOOD%$COUNT_BAD / $PERCENT_BAD%$COUNT_UGLY / $PERCENT_UGLY%$COUNT_OTHER / $PERCENT_OTHER%
" + # write suite graphs + write_page "

" for SUITE in $SUITES ; do write_page " \"$SUITE" done @@ -529,7 +541,7 @@ create_main_stats_page() { # write meta pkg graphs per suite for SUITE in $SUITES ; do if [ "$SUITE" != "unstable" ] ; then - # only show pkg sets from unstable for now + # only show pkg sets from unstable continue fi for i in $(seq 1 ${#META_PKGSET[@]}) ; do @@ -539,17 +551,6 @@ create_main_stats_page() { done done write_page "

" - # write suite table - write_page "" - for SUITE in $SUITES ; do - gather_suite_stats - write_page "" - done - write_page "
suiteall sources packagesreproducible packagesunreproducible packagespackages failing to buildother packages
$SUITE$AMOUNT" - if [ $(echo $PERCENT_TOTAL/1|bc) -lt 98 ] ; then - write_page "($PERCENT_TOTAL% tested)" - fi - write_page "$COUNT_GOOD / $PERCENT_GOOD%$COUNT_BAD / $PERCENT_BAD%$COUNT_UGLY / $PERCENT_UGLY%$COUNT_OTHER / $PERCENT_OTHER%
" # write inventory table write_page "" write_page "" -- cgit v1.2.3-70-g09d2
 amount
identified distinct issues$ISSUES