[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: Add a PureOS default installation package set.

Holger Levsen gitlab at salsa.debian.org
Tue Dec 11 07:53:23 GMT 2018


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


Commits:
7ee41f26 by Chris Lamb at 2018-12-11T07:53:11Z
reproducible: Add a PureOS default installation package set.

This currently uses the list of binary packages that are shipped with the
.iso image rather than inspecting the ISO itself (which might require
mounting, etc.) or what is actually installed on the system from the
"factory". However, I suspect this is highly accurate and is a good place
to start for now.

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

- - - - -


2 changed files:

- bin/reproducible_create_meta_pkg_sets.sh
- bin/reproducible_pkgsets.csv


Changes:

=====================================
bin/reproducible_create_meta_pkg_sets.sh
=====================================
@@ -417,6 +417,26 @@ update_pkg_set_specific() {
 				ABORT=true
 			fi
 			;;
+		pureos_default_install) # pureos default installation
+			# Use the list of binary packages that is shipped with the .iso image for now
+			BASEURL="https://www.pureos.net/download/"
+			echo "Downloading $BASEURL now."
+			URL="$(curl $BASEURL | sed -n -e 's at .*\(https://downloads.puri.sm/.*\)\.hybrid\.iso.*@\1.packages at p')"
+			if [ -n "$URL" ] ; then
+				echo "Downloading $URL now."
+				# eg. "zlib1g:amd64\t1:1.2.11.dfsg-1"
+				curl $URL | cut -f1 | cut -d: -f1  > $TMPFILE
+				if [ ! -s $TMPFILE ] ; then
+					rm $TMPFILE
+					MESSAGE="Warning: could not download PureOS .packages file from $URL, skipping pkg set..."
+					irc_message debian-reproducible $MESSAGE
+				fi
+			else
+				MESSAGE="Warning: could not determine PureOS ISO .packages file from $BASEURL, skipping pkg set..."
+				irc_message debian-reproducible $MESSAGE
+				ABORT=true
+			fi
+			;;
 		subgraph_OS)
 			# installed by Subgraph OS
 			# one day we will get a proper data provider from Subgraph OS...


=====================================
bin/reproducible_pkgsets.csv
=====================================
@@ -29,6 +29,7 @@ Debian distribution,tails
 Debian distribution,tails_build-depends
 Debian distribution,pureos
 Debian distribution,pureos_build-depends
+Debian distribution,pureos_default_install
 Debian distribution,subgraph_OS
 Debian distribution,subgraph_OS_build-depends
 maintenance team,maint_debian-accessibility



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/7ee41f26ee054a0738280079568c68eb230fc2f3

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/7ee41f26ee054a0738280079568c68eb230fc2f3
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/20181211/e48bd243/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list