[Qa-jenkins-scm] [jenkins.debian.net] 10/12: reproducible: use suite specific paths to store meta pkg sets

Holger Levsen holger at moszumanska.debian.org
Thu Mar 12 18:20:39 UTC 2015


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 7adfeae03d1019be55ee0b080bd11dad86d8ce73
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 12 18:58:22 2015 +0100

    reproducible: use suite specific paths to store meta pkg sets
---
 bin/reproducible_create_meta_pkg_sets.sh | 9 ++++-----
 bin/reproducible_html_graphs.sh          | 4 ++--
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 5cc66e8..7052db3 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -10,14 +10,13 @@ common_init "$@"
 # common code defining db access
 . /srv/jenkins/bin/reproducible_common.sh
 
-TPATH=/srv/reproducible-results/meta_pkgsets
-CHPATH=/srv/reproducible-results/chdist
-mkdir -p $TPATH $CHPATH
-
 ARCH=amd64
 SUITE=sid
-DISTNAME="$SUITE-$ARCH"
 
+DISTNAME="$SUITE-$ARCH"
+TPATH=/srv/reproducible-results/meta_pkgsets-$SUITE
+CHPATH=/srv/reproducible-results/chdist-$SUITE
+mkdir -p $TPATH $CHPATH
 
 # delete possibly existing dist
 cd $CHPATH
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 697d9de..05116ea 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -171,8 +171,8 @@ gather_suite_stats() {
 # gather meta pkg stats
 #
 gather_meta_stats() {
-	if [ -f /srv/reproducible-results/meta_pkgsets/${META_PKGSET[$1]}.pkgset ] ; then
-		META_LIST=$(cat /srv/reproducible-results/meta_pkgsets/${META_PKGSET[$1]}.pkgset)
+	if [ -f /srv/reproducible-results/meta_pkgsets-$SUITE/${META_PKGSET[$1]}.pkgset ] ; then
+		META_LIST=$(cat /srv/reproducible-results/meta_pkgsets-$SUITE/${META_PKGSET[$1]}.pkgset)
 		if [ ! -z "$META_LIST" ] ; then
 			META_WHERE=""
 			for PKG in $META_LIST ; do

-- 
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