summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_json.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-13 14:59:33 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-13 14:59:33 +0200
commite3fa7e4a7137d209fbb817d9b713b14762fcb644 (patch)
treeb2cff01b7d78dce0e8ac7f809f57845dc98e0805 /bin/reproducible_json.py
parentd70afca923a586f27cbc208c3d8af878d77b675c (diff)
downloadjenkins.debian.net-e3fa7e4a7137d209fbb817d9b713b14762fcb644.tar.xz
reproducible: exclude not-for-us from json output, as we don't know anything sensible about those
Diffstat (limited to 'bin/reproducible_json.py')
-rwxr-xr-xbin/reproducible_json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py
index 26f06a78..59c69a8b 100755
--- a/bin/reproducible_json.py
+++ b/bin/reproducible_json.py
@@ -25,7 +25,7 @@ log.info('Creating json dump of current reproducible status')
# filter_query is defined in reproducible_common.py and excludes some FTBFS issues
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 != "" AND (( status != "FTBFS" ) OR ' \
+ 'WHERE status != "" AND status != "not-for-us" AND (( status != "FTBFS" ) OR ' \
' ( status = "FTBFS" and r.package_id NOT IN (SELECT n.package_id FROM NOTES AS n WHERE ' + filter_query + ' )))'
result = sorted(query_db(query))