[devscripts] 02/02: scripts/reproducible-check: Base cache name on the remote filename.
Chris Lamb
chris at chris-lamb.co.uk
Sat Sep 16 17:55:41 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 c3df61c5d277371ca0ab3f9c3df9dd669756400c
Author: Chris Lamb <lamby at debian.org>
Date: Sat Sep 16 18:40:01 2017 +0100
scripts/reproducible-check: Base cache name on the remote filename.
---
scripts/reproducible-check | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/reproducible-check b/scripts/reproducible-check
index b1e18b6..a3d3614 100755
--- a/scripts/reproducible-check
+++ b/scripts/reproducible-check
@@ -36,9 +36,11 @@ class ReproducibleCheck(object):
"""
NAME = os.path.basename(__file__)
- CACHE = os.path.join(xdg_cache_home, NAME, 'reproducible.json.bz2')
VERSION = 1
+
STATUS_URL = 'https://tests.reproducible-builds.org/debian/reproducible.json.bz2'
+
+ CACHE = os.path.join(xdg_cache_home, NAME, os.path.basename(STATUS_URL))
CACHE_AGE_SECONDS = 86400
@classmethod
--
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