[Git][qa/jenkins.debian.net][master] reproducible Debian: ignore non buildd bulidinfo files

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Dec 13 12:44:51 GMT 2024



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


Commits:
f3996505 by Jochen Sprickerhof at 2024-12-13T13:44:27+01:00
reproducible Debian: ignore non buildd bulidinfo files

Since 2020-04-23 buildinfo files from the buildd are named
-buildd.buildinfo. So we can differentiate them from uploaded files, as
sbuild --source-only-changes is producing.

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

- - - - -


1 changed file:

- bin/reproducible_pool_buildinfos.sh


Changes:

=====================================
bin/reproducible_pool_buildinfos.sh
=====================================
@@ -49,6 +49,8 @@ do_day(){
 	cd $DAY
 	for FILE in * ; do
 		# echo $FILE
+		# Ignore uploaded buildinfo file if one from the buildd exists
+		test "${FILE#*-buildd.buildinfo}" == "$FILE" -a -e "${FILE%.buildinfo}-buildd.buildinfo" && continue
 		PACKAGE=$(echo $FILE | cut -d '_' -f1)
 		if [ "${PACKAGE:0:3}" = "lib" ] ; then
 			POOLDIR="${PACKAGE:0:4}"



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f3996505a625fb7a79560ed2b857a4daa8745a39
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/20241213/c4cc42cb/attachment.htm>


More information about the Qa-jenkins-scm mailing list