[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: improve HTML output

Holger Levsen gitlab at salsa.debian.org
Mon Jan 27 15:29:15 GMT 2020



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


Commits:
c957cbbd by Holger Levsen at 2020-01-27T16:29:02+01:00
reproducible Debian: improve HTML output

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

- - - - -


1 changed file:

- bin/reproducible_html_dashboard.sh


Changes:

=====================================
bin/reproducible_html_dashboard.sh
=====================================
@@ -661,17 +661,17 @@ create_oldsuites_page() {
 	ARCH="amd64"
 	write_meta_pkg_graphs_links
 	write_page "</p><p style=\"clear:both;\">"
-	write_page "</tr><tr><td class=\"left\">oldest build result in stretch</td>"
 	for ARCH in ${ARCHS} ; do
-		AGE_STRETCH=$(query_db "SELECT CAST(greatest(max(oldest_reproducible), max(oldest_FTBR), max(oldest_FTBFS)) AS INTEGER) FROM ${TABLE[2]} WHERE suite='stretch' AND architecture='$ARCH' AND datum='$DATE'")
-		write_page "<td>$AGE_STRETCH days</td>"
+		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 "</tr></table>"
+	write_page "</p><p style=\"clear:both;\">"
+	write_page "Oldest build result in stretch:"
 	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>"
+		AGE_STRETCH=$(query_db "SELECT CAST(greatest(max(oldest_reproducible), max(oldest_FTBR), max(oldest_FTBFS)) AS INTEGER) FROM ${TABLE[2]} WHERE suite='stretch' AND architecture='$ARCH' AND datum='$DATE'")
+		comma_comma_and ${ARCH}
+		write_page "$AGE_STRETCH days for ${ARCH}$COMMA_VAR"
 	done
-	write_page "</p>"
-	write_page "</table>"
+	write_page ".</p>"
 	write_page_footer
 	publish_page debian
 }



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/c957cbbdc94761bc794f90e8ad7a78d3e9b6452d
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/20200127/6cd5b382/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list