[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: use a bigger hammer, the small one doesnt work: https://jenkins.debian.net/view/reproducible/job/reproducible_create_meta_pkg_sets/501/console

Holger Levsen holger at layer-acht.org
Mon Nov 7 17:23:11 UTC 2016


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 f273ecd2bd9797cfb3be76eefc117553480d45d4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Nov 7 18:23:03 2016 +0100

    reproducible Debian: use a bigger hammer, the small one doesnt work: https://jenkins.debian.net/view/reproducible/job/reproducible_create_meta_pkg_sets/501/console
---
 bin/reproducible_create_meta_pkg_sets.sh | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 351ab04..eadd444 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -34,16 +34,15 @@ import yaml
 try:
 	with open(sys.argv[1]) as fd:
 		manifest = yaml.load(fd)
-except Exception as exc:
-	print("Warning: something went wrong while parsing the build manifest as YAML file: {}".format(exc))
-	sys.exit(0)
-
-seen = set()
-for pkg in (manifest['packages']['binary'] + manifest['packages']['source']):
-	pkgname = pkg['package']
-	if pkgname not in seen:
-		print(pkgname, end='|')
-		seen.add(pkgname)
+
+	seen = set()
+	for pkg in (manifest['packages']['binary'] + manifest['packages']['source']):
+		pkgname = pkg['package']
+		if pkgname not in seen:
+			print(pkgname, end='|')
+			seen.add(pkgname)
+	except Exception as exc:
+		print("Warning: something went wrong while parsing the build manifest as YAML file: {}".format(exc))
 EOF
 )
 	grep-dctrl -F Package -e '^('"$ALL_PKGS"')$' $packages > "$tmpfile"

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