[Qa-jenkins-scm] [jenkins.debian.net] 01/04: reproducible: chmod the json file correctly.
Holger Levsen
holger at moszumanska.debian.org
Sun Mar 15 11:27:30 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 914fb94cac23f7f57df3308f51d2d81ede56cb12
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Mar 15 11:44:17 2015 +0100
reproducible: chmod the json file correctly.
---
bin/reproducible_json.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py
index d00d509..fae0d40 100755
--- a/bin/reproducible_json.py
+++ b/bin/reproducible_json.py
@@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2015 Mattia Rizzolo <mattia at mapreri.org>
+# Copyright © 2015 Holger Levsen <holger at layer-acht.org>
# Based on reproducible_json.sh © 2014 Holger Levsen <holger at layer-acht.org>
# Licensed under GPL-2
#
@@ -38,6 +39,7 @@ with open(tmpfile.name, 'w') as fd:
json.dump(output, fd, indent=4, sort_keys=True)
os.rename(tmpfile.name, REPRODUCIBLE_JSON)
+os.chmod(REPRODUCIBLE_JSON, 0o644)
log.info(REPRODUCIBLE_URL + '/reproducible.json has been updated.')
--
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