From 9f79f74c1ffaae0e5c4deaf58eb6269a83f7b1bd Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 12 Mar 2015 20:27:04 +0100 Subject: reproducible: use thumbnail images and don't show pkg sets for testing yet --- bin/reproducible_html_graphs.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 437d78f5..ee0a2dfe 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -416,9 +416,11 @@ create_pkg_sets_page() { MAINLABEL[6]="Reproducibility status for packages in $SUITE from '${META_PKGSET[$i]}'" YLABEL[6]="Amount (${META_PKGSET[$i]} packages)" PNG=${TABLE[6]}_${META_PKGSET[$i]}.png + THUMB=${TABLE[6]}_${META_PKGSET[$i]}-thumbnail.png # redo pngs once a day if [ ! -f /var/lib/jenkins/userContent/$SUITE/$ARCH/$PNG ] || [ ! -z $(find /var/lib/jenkins/userContent/$SUITE/$ARCH -maxdepth 1 -mtime +0 -name $PNG) ] ; then create_png_from_table 6 $SUITE/$ARCH/$PNG ${META_PKGSET[$i]} + convert $SUITE/$ARCH/$PNG -adaptive-resize 160x80 $SUITE/$ARCH/$THUMB fi write_page "

\"${MAINLABEL[6]}\"" write_page "
The package set '${META_PKGSET[$i]}' in $SUITE/$ARCH consists of:
" @@ -478,14 +480,14 @@ create_main_stats_page() { write_page "

" # write meta pkg graphs per suite for SUITE in $SUITES ; do - if [ "$SUITE" = "experimental" ] ; then - # no pkg sets in experimental + if [ "$SUITE" != "sid" ] ; then + # only show pkg sets from sid for now continue fi for i in $(seq 1 ${#META_PKGSET[@]}) ; do - PNG=${TABLE[6]}_${META_PKGSET[$i]}.png + THUMB=${TABLE[6]}_${META_PKGSET[$i]}-thumbnail.png LABEL="Reproducibility status for packages in $SUITE/$ARCH from '${META_PKGSET[$i]}'" - write_page "\"$LABEL\"" + write_page "\"$LABEL\"" done done write_page "

" -- cgit v1.2.3-70-g09d2