[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: really fix state pages

Holger Levsen gitlab at salsa.debian.org
Wed Sep 26 01:30:57 BST 2018


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


Commits:
84387798 by Holger Levsen at 2018-09-26T00:28:28Z
reproducible Archlinux: really fix state pages

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

- - - - -


1 changed file:

- bin/reproducible_html_archlinux.sh


Changes:

=====================================
bin/reproducible_html_archlinux.sh
=====================================
@@ -241,10 +241,12 @@ state_pages(){
 			for PKG in ${STATE_PKGS} ; do
 				cat $ARCHBASE/$REPOSITORY/$PKG/pkg.html >> $PAGE 2>/dev/null || true
 			done
-			STATE_PKGS=$(query_db "SELECT s.name FROM sources AS s WHERE s.architecture='x86_64' AND s.suite='$SUITE' AND s.id NOT IN (SELECT package_id FROM results)")
-			for PKG in ${STATE_PKGS} ; do
-				cat $ARCHBASE/$REPOSITORY/$PKG/pkg.html >> $PAGE 2>/dev/null || true
-			done
+			if [ "$STATE" = "UNKNOWN" ] ; then
+				STATE_PKGS=$(query_db "SELECT s.name FROM sources AS s WHERE s.architecture='x86_64' AND s.suite='$SUITE' AND s.id NOT IN (SELECT package_id FROM results)")
+				for PKG in ${STATE_PKGS} ; do
+					cat $ARCHBASE/$REPOSITORY/$PKG/pkg.html >> $PAGE 2>/dev/null || true
+				done
+			fi
 		done
 		write_page "    </table>"
 		archlinux_page_footer



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8438779856d94b023098aee28c956fbfe0e7d61c
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/20180926/c6a2fdf5/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list