[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': also consider arch all .buildinfo files

Holger Levsen gitlab at salsa.debian.org
Fri May 1 01:21:26 BST 2020



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


Commits:
fc8c2c3c by Holger Levsen at 2020-05-01T02:21:18+02:00
reproducible Debian rebuilder 'thing': also consider arch all .buildinfo files

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

- - - - -


1 changed file:

- bin/reproducible_debian_rebuilder_prototype.sh


Changes:

=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -62,7 +62,7 @@ VERSION=$(grep-available -S $PKG -s Version $SOURCES | head -1 | cut -d ' ' -f2)
 output_echo "let's try to rebuild $PKG ($VERSION) from $SUITE/$ARCH"
 
 # query a random .buildinfo file path (for that $PKG and $VERSION from bullseye...) from builtin-pho db
-BUILTINPHOPATH=$(psql -A -t -c "SELECT path FROM builds WHERE source='$PKG' AND source_version='$VERSION' AND arch_amd64=true ORDER BY RANDOM() LIMIT 1" buildinfo)
+BUILTINPHOPATH=$(psql -A -t -c "SELECT path FROM builds WHERE source='$PKG' AND source_version='$VERSION' AND arch_amd64=true OR arch_all=true LIMIT 1" buildinfo)
 if [ -z "$BUILTINPHOPATH" ] ; then
 	output_echo "No .buildinfo file found for $PKG ($VERSION) for $ARCH"
 	output_echo ".buildinfo files known for $PKG and arch_amd64 or arch_all"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fc8c2c3cf4bc940b387ab5618da51f4024e9a147
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/20200501/4ec9ca7f/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list