[devscripts] 01/01: scripts/reproducible-check: Use the restricted JSON file that hides transient issues. (Closes: #875861)
Chris Lamb
chris at chris-lamb.co.uk
Sat Sep 16 17:58:56 UTC 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository devscripts.
commit 1ae5cf6dbd18c00bbe3061ce0017f03374f98d1b
Author: Chris Lamb <lamby at debian.org>
Date: Sat Sep 16 18:49:13 2017 +0100
scripts/reproducible-check: Use the restricted JSON file that hides transient issues. (Closes: #875861)
---
scripts/reproducible-check | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scripts/reproducible-check b/scripts/reproducible-check
index a3d3614..51d6c2d 100755
--- a/scripts/reproducible-check
+++ b/scripts/reproducible-check
@@ -38,7 +38,7 @@ class ReproducibleCheck(object):
NAME = os.path.basename(__file__)
VERSION = 1
- STATUS_URL = 'https://tests.reproducible-builds.org/debian/reproducible.json.bz2'
+ STATUS_URL = 'https://tests.reproducible-builds.org/debian/reproducible-tracker.json.bz2'
CACHE = os.path.join(xdg_cache_home, NAME, os.path.basename(STATUS_URL))
CACHE_AGE_SECONDS = 86400
@@ -125,9 +125,10 @@ class ReproducibleCheck(object):
with bz2.open(self.CACHE) as f:
return {
- (x['package'], x['architecture'], x['version'])
+ (x['package'], y['architecture'], x['version'])
for x in json.loads(f.read().decode('utf-8'))
- if x['status'] == 'unreproducible'
+ for y in x['architecture_details']
+ if y['status'] == 'unreproducible'
}
def get_installed_packages(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list