From 7fcd9f7cb3bf46ad0b977906b9e8da0c58440928 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 13 Mar 2015 10:38:43 +0100 Subject: reproducible: use thumbnails also on the pkg sets pages --- bin/reproducible_html_graphs.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 8cb64e2e..57144dcb 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -354,7 +354,7 @@ create_suite_stats_page() { echo "$(date) - starting to write $PAGE page." write_page_header $VIEW "Overview of reproducible builds for packages in $SUITE" if [ $(echo $PERCENT_TOTAL/1|bc) -lt 98 ] ; then - 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.

" + write_page "

$COUNT_TOTAL packages have been attempted to be build so far, that's $PERCENT_TOTAL% of $AMOUNT source packages in Debian $SUITE.

" fi write_page "

" set_icon reproducible @@ -408,6 +408,11 @@ create_pkg_sets_page() { fi done write_page "" + for i in $(seq 1 ${#META_PKGSET[@]}) ; do + THUMB=${TABLE[6]}_${META_PKGSET[$i]}-thumbnail.png + LABEL="Reproducibility status for packages in $SUITE/$ARCH from '${META_PKGSET[$i]}'" + write_page "\"$LABEL\"" + done for i in $(seq 1 ${#META_PKGSET[@]}) ; do write_page "


" META_RESULT=true @@ -495,7 +500,11 @@ create_main_stats_page() { write_page "" for SUITE in $SUITES ; do gather_suite_stats - write_page "" + write_page "" done write_page "
suiteall sources packagesreproducible packagesunreproducible packagespackages failing to buildother packages
$SUITE$AMOUNT$COUNT_GOOD / $PERCENT_GOOD%$COUNT_BAD / $PERCENT_BAD%$COUNT_UGLY / $PERCENT_UGLY%$COUNT_OTHER / $PERCENT_OTHER%
$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 -- cgit v1.2.3-70-g09d2