[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Arch Linux: fix: really include all recent builds in that page

Holger Levsen gitlab at salsa.debian.org
Sat Jan 19 19:30:11 GMT 2019


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


Commits:
eb294af8 by Holger Levsen at 2019-01-19T19:29:59Z
reproducible Arch Linux: fix: really include all recent builds in that page

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

- - - - -


1 changed file:

- bin/reproducible_html_archlinux.sh


Changes:

=====================================
bin/reproducible_html_archlinux.sh
=====================================
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright 2014-2018 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2019 Holger Levsen <holger at layer-acht.org>
 #                2015 anthraxx <levente at leventepolyak.net>
 # released under the GPLv=2
 
@@ -372,7 +372,7 @@ recent_builds_page(){
 				AND r.build_date > '$MAXDATE'")
 	write_page "<h2>$RECENT builds of Archlinux packages in the last 24h</h2>"
 	include_pkg_table_header_in_page
-	STATE_PKGS=$(query_db "SELECT s.name FROM sources AS s
+	STATE_PKGS=$(query_db "SELECT s.name, s.suite FROM sources AS s
 				JOIN results AS r
 				ON s.id=r.package_id
 				WHERE s.distribution=$DISTROID
@@ -380,7 +380,9 @@ recent_builds_page(){
 				AND r.build_date > '$MAXDATE'
 				ORDER BY r.build_date
 				DESC")
-	for SRCPACKAGE in ${STATE_PKGS} ; do
+	for LINE in ${STATE_PKGS} ; do
+		SRCPACKAGE=$(echo "$LINE" | cut -d "|" -f1)
+		REPOSITORY=$(echo "$LINE" | cut -d "|" -f2 | sed 's#archlinux_##')
 		include_pkg_html_in_page
 	done
 	write_page "    </table>"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/eb294af8818786f4d0e74be93549f0dac2531267
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/20190119/9442c1e2/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list