[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Archlinux: temp. workaround redone
Holger Levsen
gitlab at salsa.debian.org
Fri Sep 21 22:22:08 BST 2018
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
8f0187d0 by Holger Levsen at 2018-09-21T21:21:55Z
reproducible Archlinux: temp. workaround redone
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_archlinux_scheduler.sh
Changes:
=====================================
bin/reproducible_archlinux_scheduler.sh
=====================================
@@ -84,8 +84,10 @@ update_archlinux_repositories() {
echo "Result: VERSION=$VERSION"
DATE="$(date -u +'%Y-%m-%d %H:%M')"
if [ -z "$VERSION" ] ; then
- # new package, add to db and schedule
- echo "INSERT into sources (name, version, suite, architecture) VALUES ('$PKG', '$VERSION', '$SUITE', '$ARCH');"
+ echo "UPDATE sources SET version = '$version' WHERE name = '$PKG' AND suite = '$SUITE' AND architecture='$ARCH';"
+ query_db "UPDATE sources SET version = '$version' WHERE name = '$PKG' AND suite = '$SUITE' AND architecture='$ARCH';"
+ # new package, add to db and schedule
+ #echo "INSERT into sources (name, version, suite, architecture) VALUES ('$PKG', '$VERSION', '$SUITE', '$ARCH');"
#query_db "INSERT into sources (name, version, suite, architecture) VALUES ('$PKG', '$VERSION', '$SUITE', '$ARCH');"
#PKGID=$(query_db "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';")
#FIXME: enable next line once the db has been initially populated
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8f0187d072df4a2d9e8891c6a611d1adb63c199a
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/8f0187d072df4a2d9e8891c6a611d1adb63c199a
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/20180921/29050f2d/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list