[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] create_meta_pkg_sets: create package sets into public folder

Holger Levsen gitlab at salsa.debian.org
Tue Mar 2 21:34:36 GMT 2021



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


Commits:
2b7b9017 by Frédéric Pierret (fepitre) at 2021-03-02T22:34:03+01:00
create_meta_pkg_sets: create package sets  into public folder

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

- - - - -


3 changed files:

- bin/rblib/const.py
- bin/reproducible_create_meta_pkg_sets.sh
- bin/reproducible_html_pkg_sets.py


Changes:

=====================================
bin/rblib/const.py
=====================================
@@ -28,7 +28,7 @@ defaultarch = conf_distro['defaultarch']
 BIN_PATH = __location__
 BASE = conf_distro['basedir']
 TEMPLATE_PATH = conf_distro['templates']
-PKGSET_DEF_PATH = '/srv/reproducible-results'
+PKGSET_DEF_PATH = os.path.expanduser('~jenkins/userContent/reproducible/debian/pkg-sets')
 TEMP_PATH = conf_distro['tempdir']
 
 REPRODUCIBLE_STYLES = os.path.join(BASE, conf_distro['css'])


=====================================
bin/reproducible_create_meta_pkg_sets.sh
=====================================
@@ -535,7 +535,7 @@ for SUITE in $SUITES ; do
 	echo
 
 	DISTNAME="$SUITE-$ARCH"
-	TPATH=/srv/reproducible-results/meta_pkgsets-$SUITE
+	TPATH=~jenkins/userContent/reproducible/debian/pkg-sets/$SUITE
 	mkdir -p $TPATH
 
 	PACKAGES=$(ls $CHPATH/$DISTNAME/var/lib/apt/lists/*_dists_${SUITE}_main_binary-${ARCH}_Packages)


=====================================
bin/reproducible_html_pkg_sets.py
=====================================
@@ -52,7 +52,7 @@ def percent(part, whole):
 
 
 def gather_meta_stats(suite, arch, pkgset_name):
-    pkgset_file = os.path.join(PKGSET_DEF_PATH, 'meta_pkgsets-' + suite,
+    pkgset_file = os.path.join(PKGSET_DEF_PATH, suite,
                                pkgset_name + '.pkgset')
 
     try:



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2b7b9017f35a971f3c546ce82e0a5fe8a3d41223
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/20210302/1a70efa4/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list