diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-21 10:57:34 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-21 10:57:34 +0100 |
commit | efa8e62a7bd94126fd18871bdd9b8ae201a0709f (patch) | |
tree | 13f28d772e90c34103d325fc8b42248422635bb6 | |
parent | 7b87192c1c3ec81b70e7ebc9baa14f82ad9619f8 (diff) | |
download | jenkins.debian.net-efa8e62a7bd94126fd18871bdd9b8ae201a0709f.tar.xz |
reproducible: add architecture to .json
-rwxr-xr-x | bin/reproducible_json.py | 4 |
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) |