summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-13 15:06:48 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-13 15:06:48 +0200
commit01826d9a4924a1e78c33d19b4deb833cd4c8f3b3 (patch)
treee25ac0914d9e6da0e5c9ac0a1e37e51b9ea3feb0
parente3fa7e4a7137d209fbb817d9b713b14762fcb644 (diff)
downloadjenkins.debian.net-01826d9a4924a1e78c33d19b4deb833cd4c8f3b3.tar.xz
reproducible: also exclude 404 packages from the json, cause they are usually problems on our side
-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 59c69a8b..32a90a62 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 != "not-for-us" AND (( status != "FTBFS" ) OR ' \
+ 'WHERE status != "" AND status NOT IN ("not-for-us", "404" ) 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))