summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_json.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-21 10:57:34 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-21 10:57:34 +0100
commitefa8e62a7bd94126fd18871bdd9b8ae201a0709f (patch)
tree13f28d772e90c34103d325fc8b42248422635bb6 /bin/reproducible_json.py
parent7b87192c1c3ec81b70e7ebc9baa14f82ad9619f8 (diff)
downloadjenkins.debian.net-efa8e62a7bd94126fd18871bdd9b8ae201a0709f.tar.xz
reproducible: add architecture to .json
Diffstat (limited to 'bin/reproducible_json.py')
-rwxr-xr-xbin/reproducible_json.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py
index fae0d402..38aa6757 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)