[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': add a warning if source_version != binary_version
Holger Levsen
gitlab at salsa.debian.org
Sat May 2 13:05:47 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
47aec708 by Holger Levsen at 2020-05-02T14:05:12+02:00
reproducible Debian rebuilder 'thing': add a warning if source_version != binary_version
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
=====================================
@@ -76,12 +76,17 @@ fi
output_echo "Found $BUILTINPHOPATH"
FILE="$(echo $BUILTINPHOPATH | cut -d '/' -f5-)"
PKG="$(echo $FILE | cut -d '_' -f1)"
-VERSION="$(echo $FILE | cut -d '_' -f2)"
+BINARY_VERSION="$(echo $FILE | cut -d '_' -f2)"
POOLPATH="" # declared as a global variable
set_poolpath $PKG # so we can set it here with a function
FTPMASTERPATH="$(echo $BUILTINPHOPATH | cut -d '/' -f2-4)"
URLPATH="https://buildinfos.debian.net/ftp-master.debian.org/buildinfo/$FTPMASTERPATH/"
+if [ "$VERSION" != "$BINARY_VERSION" ] ; then
+ output_echo "Warning: .buildinfo files known for $PKG and $VERSION is $URL_PATH/$FILE this indicates a binNMU because $VERSION != $BINARY_VERSION..."
+ # TODO: what about packages with an epoch?
+fi
+
# FIXME: we need locking to enable concurrent job runs
# FIXME: hack, should be done properly, with cleanup *after* the job run...
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/47aec70847956baa114973aea2c7e4cae92c8586
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/47aec70847956baa114973aea2c7e4cae92c8586
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/20200502/6b4c8aea/attachment.html>
More information about the Qa-jenkins-scm
mailing list