[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: oldsuites overview: mark archived suites as such
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Apr 27 12:45:41 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
406396d2 by Holger Levsen at 2023-04-27T13:45:27+02:00
reproducible Debian: oldsuites overview: mark archived suites as such
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_html_dashboard.sh
Changes:
=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set noexpandtab:
-# Copyright 2014-2022 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2023 Holger Levsen <holger at layer-acht.org>
# © 2015-2023 Mattia Rizzolo <mattia at mapreri.org>
# released under the GPLv2
@@ -661,7 +661,7 @@ create_dashboard_page() {
write_global_graph
done
write_page "</p><p style=\"clear:both;\">"
- write_page "<a href=\"index_performance.html\">Build network performance stats</a> and an <a href=\"index_oldsuites.html\">overview about the old suites 'stretch', 'buster' and 'bullseye'</a> are also available."
+ write_page "<a href=\"index_performance.html\">Build network performance stats</a> and an <a href=\"index_oldsuites.html\">overview about the old suites 'bullseye', 'buster' and 'stretch'</a> are also available."
write_page "</p>"
# the end
write_page_footer
@@ -691,12 +691,22 @@ create_oldsuites_page() {
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'")
- comma_comma_and ${ARCH}
- write_page "$AGE days for ${ARCH}$COMMA_VAR"
+ local archived=false
+ for i in $ARCHIVED_SUITES ; do
+ if [ "$SUITE" = "$i" ] ; then
+ archived=true
+ fi
done
+ if ! $archived ; then
+ 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'")
+ comma_comma_and ${ARCH}
+ write_page "$AGE days for ${ARCH}$COMMA_VAR"
+ done
+ else
+ write_page "$SUITE has been archived and is not tested anymore."
+ fi
write_page ".</p>"
done
write_page_footer
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/406396d239912acfd82918688d70bc8bedfee4ff
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/406396d239912acfd82918688d70bc8bedfee4ff
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/20230427/222cdd7e/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list