[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: add architecture to .json

Holger Levsen holger at moszumanska.debian.org
Sat Mar 21 09:57:46 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 efa8e62a7bd94126fd18871bdd9b8ae201a0709f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Mar 21 10:57:34 2015 +0100

    reproducible: add architecture to .json
---
 bin/reproducible_json.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py
index fae0d40..38aa675 100755
--- a/bin/reproducible_json.py
+++ b/bin/reproducible_json.py
@@ -21,13 +21,13 @@ output = []
 
 log.info('Creating json dump of current reproducible status')
 
-query = 'SELECT s.name, r.version, s.suite, r.status, r.build_date ' + \
+query = 'SELECT s.name, r.version, s.suite, s.architecture, r.status, r.build_date ' + \
         'FROM results AS r JOIN sources AS s ON r.package_id = s.id '+ \
         'WHERE status != ""'
 result = sorted(query_db(query))
 log.info('\tprocessing ' + str(len(result)))
 
-keys = ['package', 'version', 'suite', 'status', 'build_date']
+keys = ['package', 'version', 'suite', 'architecture', 'status', 'build_date']
 for row in result:
     pkg = dict(zip(keys, row))
     log.debug(pkg)

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