[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: only update the pkg sets for suites in development, also...

Holger Levsen (@holger) gitlab at salsa.debian.org
Sat Jun 17 13:32:42 BST 2023



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


Commits:
0ed8105a by Holger Levsen at 2023-06-17T14:32:16+02:00
reproducible Debian: only update the pkg sets for suites in development, also stop hardcoding suites

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

- - - - -


1 changed file:

- bin/reproducible_create_meta_pkg_sets.sh


Changes:

=====================================
bin/reproducible_create_meta_pkg_sets.sh
=====================================
@@ -256,21 +256,8 @@ update_pkg_set_specific() {
 			;;
 		cloud-image)
 			# cloud images of the Debian GNU/Linux operating system designed for OpenStack.
-			if [ "$SUITE" = "bullseye" ] ; then
-				URL="https://cloud.debian.org/images/cloud/bullseye/daily/latest/debian-11-generic-amd64-daily.json"
-				echo "Downloading $URL now."
-				curl $URL | jq '.items[].data.packages[]?.name' 2>/dev/null | tr -d '"' |xargs echo  > $TMPFILE
-				MISSES=""
-				# convert binary packages into source packages
-				for i in $(cat $TMPFILE) ; do
-					chdist --data-dir=$CHPATH apt-cache $DISTNAME show $i >> ${TMPFILE2} 2>/dev/null || MISSES="$i $MISSES"
-				done
-				echo "The following unknown packages have been ignored: $MISSES"
-				mv ${TMPFILE2} $TMPFILE
-			else
-				chdist --data-dir=$CHPATH grep-dctrl-packages $DISTNAME -X \( -FPriority required --or -FPackage debian-cloud-images-packages \) > ${TMPFILE2}
-				get_installable_set
-			fi
+			chdist --data-dir=$CHPATH grep-dctrl-packages $DISTNAME -X \( -FPriority required --or -FPackage debian-cloud-images-packages \) > ${TMPFILE2}
+			get_installable_set
 			if [ -f $TMPFILE ] ; then
 				convert_from_deb822_into_source_packages_only
 			fi
@@ -594,15 +581,8 @@ TMPFILE2=$(mktemp --tmpdir=$TEMPDIR pkg-sets-XXXXXXXXX)
 TMPFILE3=$(mktemp --tmpdir=$TEMPDIR pkg-sets-XXXXXXXXX)
 index=0
 
-# loop through all suites
-for SUITE in $SUITES ; do
-	if [ "$SUITE" = "experimental" ] ; then
-		# no pkg sets in experimental
-		continue
-	elif [ "$SUITE" = "buster" ] ; then
-		# let's not update the buster pkg sets anymore
-		continue
-	fi
+# loop through all suites still in development, except experimental
+for SUITE in ${TESTING_SUITE} unstable ; do
 	echo "============================================================================="
 	echo "$(date -u) - Creating meta package sets for $SUITE now."
 	echo



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/0ed8105a251e863df8a17e2a1089cf52156a348e
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/20230617/248e765b/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list