[Git][qa/jenkins.debian.net][master] reproducible Debian dashboard: omit links to build-age graphs for archived suites

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Oct 22 18:14:31 BST 2023



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
b4f86ae9 by Holger Levsen at 2023-10-22T19:14:11+02:00
reproducible Debian dashboard: omit links to build-age graphs for archived suites

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_html_dashboard.sh


Changes:

=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -697,10 +697,6 @@ create_oldsuites_page() {
 		ARCH="amd64"
 		write_meta_pkg_graphs_links
 		write_page "</p><p style=\"clear:both;\">"
-		for ARCH in ${ARCHS} ; do
-			write_page " <a href=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\"><img src=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\" class=\"overview\" alt=\"age of oldest reproducible build result in $SUITE/$ARCH\"></a>"
-		done
-		write_page "</p><p style=\"clear:both;\">"
 		local archived=false
 		for i in $ARCHIVED_SUITES ; do
 			if [ "$SUITE" = "$i" ] ; then
@@ -708,6 +704,10 @@ create_oldsuites_page() {
 			fi
 		done
 		if ! $archived ; then
+			for ARCH in ${ARCHS} ; do
+				write_page " <a href=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\"><img src=\"/debian/$SUITE/$ARCH/${TABLE[2]}.png\" class=\"overview\" alt=\"age of oldest reproducible build result in $SUITE/$ARCH\"></a>"
+			done
+			write_page "</p><p style=\"clear:both;\">"
 			write_page "Oldest build result in $SUITE:"
 			for ARCH in ${ARCHS} ; do
 				AGE=$(query_db "SELECT CAST(greatest(max(oldest_reproducible), max(oldest_FTBR), max(oldest_FTBFS)) AS INTEGER) FROM ${TABLE[2]} WHERE suite='$SUITE' AND architecture='$ARCH' AND datum='$DATE'")



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b4f86ae98203dbf3ac1b48627928db1e685777fb

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b4f86ae98203dbf3ac1b48627928db1e685777fb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20231022/a3b2a168/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list