[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible archlinux: drop unneeded line

Mattia Rizzolo gitlab at salsa.debian.org
Fri Dec 27 13:11:36 GMT 2019



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


Commits:
035f6170 by Mattia Rizzolo at 2019-12-27T13:09:23Z
reproducible archlinux: drop unneeded line

DISTROID is already set globally a few lines below

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

- - - - -
231884e8 by Mattia Rizzolo at 2019-12-27T13:10:07Z
reproducible archlinux: fix suite name also here

another fallout from 7a0295e8ef9dd28c2250b2d418f8b279b875929e

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

- - - - -


1 changed file:

- bin/reproducible_archlinux_scheduler.sh


Changes:

=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -101,7 +101,7 @@ update_archlinux_repositories() {
 			while read repository pkgbase version; do
 				PKG=$pkgbase
 				SUITE="$REPO"
-				PKG_IN_DB=$(grep "^archlinux_$REPO|$pkgbase|" $KNOWN | head -1) # why oh why is head -1 needed here?
+				PKG_IN_DB=$(grep "^$REPO|$pkgbase|" $KNOWN | head -1) # why oh why is head -1 needed here?
 				VERSION=$(echo ${PKG_IN_DB} | cut -d "|" -f3)
 			        if [ -z "${PKG_IN_DB}" ] ; then
 					# new package, add to db and schedule
@@ -267,8 +267,6 @@ update_archlinux_repositories() {
 			msg_depwait404=""
 		fi
 		MESSAGE="${message}${msg_old}${msg_depwait404}, for $total scheduled out of $TOTAL."
-		# the next 3 lines could maybe do some refactoring. but then, all of this should be rewritten in python using templates...
-		DISTROID=$(query_db "SELECT id FROM distributions WHERE name='archlinux'")
 		MAXDATE="$(date -u +'%Y-%m-%d %H:%M' -d '4 hours ago')"
 		RECENT=$(query_db "SELECT count(s.name) FROM sources AS s
 				JOIN results AS r



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/e09cda7411fd293090e9d8fd88c25ffb361248c2...231884e85792706cc80b758bdb4cc584cf1f1adf

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/e09cda7411fd293090e9d8fd88c25ffb361248c2...231884e85792706cc80b758bdb4cc584cf1f1adf
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/20191227/9ed246ab/attachment.html>


More information about the Qa-jenkins-scm mailing list