[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible archlinux: fix further things after normalizing the arch suite names

Mattia Rizzolo gitlab at salsa.debian.org
Fri Dec 6 20:38:57 GMT 2019



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
d8473a13 by Mattia Rizzolo at 2019-12-06T20:38:41Z
reproducible archlinux: fix further things after normalizing the arch suite names

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_html_archlinux.sh


Changes:

=====================================
bin/reproducible_html_archlinux.sh
=====================================
@@ -222,7 +222,7 @@ repository_pages(){
 		TITLE="Reproducible archlinux $REPOSITORY ?!"
 		archlinux_page_header
 		archlinux_repostats_table
-		SUITE="archlinux_$REPOSITORY"
+		SUITE="$REPOSITORY"
 		TESTED=$(query_db "SELECT count(*) FROM sources AS s
 					JOIN results AS r
 					ON s.id=r.package_id
@@ -271,7 +271,7 @@ state_pages(){
 		write_page "<h2>$TESTED packages in $STATE state</h2>"
 		include_pkg_table_header_in_page
 		for REPOSITORY in $ARCHLINUX_REPOS ; do
-			SUITE="archlinux_$REPOSITORY"
+			SUITE="$REPOSITORY"
 			STATE_PKGS=$(query_db "SELECT s.name FROM sources AS s
 					JOIN results AS r
 					ON s.id=r.package_id
@@ -303,7 +303,7 @@ state_pages(){
 
 repository_state_pages(){
 	for REPOSITORY in $ARCHLINUX_REPOS ; do
-		SUITE="archlinux_$REPOSITORY"
+		SUITE="$REPOSITORY"
 		for STATE in FTBFS FTBR DEPWAIT 404 reproducible blacklisted UNKNOWN ; do
 			PAGE=state_${REPOSITORY}_$STATE.html
 			TITLE="Reproducible archlinux, packages in $REPOSITORY in state $STATE"
@@ -382,7 +382,7 @@ recent_builds_page(){
 				DESC")
 	for LINE in ${STATE_PKGS} ; do
 		SRCPACKAGE=$(echo "$LINE" | cut -d "|" -f1)
-		REPOSITORY=$(echo "$LINE" | cut -d "|" -f2 | sed 's#archlinux_##')
+		REPOSITORY=$(echo "$LINE" | cut -d "|" -f2)
 		include_pkg_html_in_page
 	done
 	write_page "    </table>"
@@ -415,7 +415,7 @@ currently_scheduled_page(){
 	IFS=$'\012'
 	for LINE in ${STATE_PKGS} ; do
 		SRCPACKAGE=$(echo "$LINE" | cut -d "|" -f1)
-		REPOSITORY=$(echo "$LINE" | cut -d "|" -f2 | sed 's#archlinux_##')
+		REPOSITORY=$(echo "$LINE" | cut -d "|" -f2)
 		VERSION=$(echo "$LINE" | cut -d "|" -f3)
 		SCH_DATE=$(echo "$LINE" | cut -d "|" -f4-)
 		write_page "     <tr><td>$SRCPACKAGE</td><td>$REPOSITORY</td><td>$VERSION</td><td>$SCH_DATE</td></tr>"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/d8473a131018fa75fbf1dda16e5cadc77f7a4a6e
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/20191206/7749c9b5/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list