[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: use thumbnail images and don't show pkg sets for testing yet

Holger Levsen holger at moszumanska.debian.org
Thu Mar 12 19:29:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9f79f74c1ffaae0e5c4deaf58eb6269a83f7b1bd
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 12 20:27:04 2015 +0100

    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(-)

diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 437d78f..ee0a2df 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 "<p><a href=\"/userContent/$SUITE/$ARCH/$PNG\"><img src=\"/userContent/$SUITE/$ARCH/$PNG\" alt=\"${MAINLABEL[6]}\"></a>"
 			write_page "<br />The package set '${META_PKGSET[$i]}' in $SUITE/$ARCH consists of: <br />"
@@ -478,14 +480,14 @@ create_main_stats_page() {
 	write_page "</p><p>"
 	# 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 "<a href=\"/$SUITE/$ARCH/index_pkg_sets.html#${META_PKGSET[$i]}\"><img src=\"/userContent/$SUITE/$ARCH/$PNG\" class=\"metaoverview\" alt=\"$LABEL\"></a>"
+			write_page "<a href=\"/$SUITE/$ARCH/index_pkg_sets.html#${META_PKGSET[$i]}\"><img src=\"/userContent/$SUITE/$ARCH/$THUMB\" class=\"metaoverview\" alt=\"$LABEL\"></a>"
 		done
 	done
 	write_page "</p><p>"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list