[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: point out unreproducible packages with .BUILDINFO variations

Holger Levsen holger at layer-acht.org
Fri Nov 24 11:16:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 64eefa4241d619949f06e6eb21ace35de8558f28
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Nov 24 11:16:11 2017 +0000

    reproducible Arch Linux: point out unreproducible packages with .BUILDINFO variations
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_html_archlinux.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 480bff4..254a30c 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -130,7 +130,12 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do
 					echo "       <img src=\"/userContent/static/weather-clear.png\" alt=\"reproducible icon\" /> <a href=\"/archlinux/$REPOSITORY/$PKG/$ARTIFACT\">${ARTIFACT:0:-5}</a> is reproducible<br />" >> $HTML_BUFFER
 				else
 					HTML_TARGET=$HTML_FTBR
-					echo "       <img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" /> <a href=\"/archlinux/$REPOSITORY/$PKG/$ARTIFACT\">${ARTIFACT:0:-5}</a> is unreproducible<br />" >> $HTML_BUFFER
+					# this shouldnt happen, but (for now) it does, so lets at least mark them…
+					EXTRA_REASON=""
+					if [ ! -z "$(grep 'class="source">.BUILDINFO' $ARCHLINUX_PKG_PATH/$ARTIFACT)" ] ; then
+						EXTRA_REASON=" with variations in .BUILDINFO"
+					fi
+					echo "       <img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" /> <a href=\"/archlinux/$REPOSITORY/$PKG/$ARTIFACT\">${ARTIFACT:0:-5}</a> is unreproducible$EXTRA_REASON<br />" >> $HTML_BUFFER
 				fi
 			done
 			# we only count source packages for now…

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list