summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_indexes.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-05-17 15:31:08 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-17 15:31:08 +0200
commit0c7f0fca338e9147cc033b5720d48d12cf0aa2f8 (patch)
treee18b8b432101037b4d34a573bb72a756da135298 /bin/reproducible_html_indexes.py
parent41f121db19e794f4180239d02b5db8ff19a119f7 (diff)
downloadjenkins.debian.net-0c7f0fca338e9147cc033b5720d48d12cf0aa2f8.tar.xz
reproducible: include filtered ftbfs issues in the .json output
Diffstat (limited to 'bin/reproducible_html_indexes.py')
-rwxr-xr-xbin/reproducible_html_indexes.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 7a0cb16b..30991100 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -46,17 +46,6 @@ Technically speaking, a page can be empty (we all love nonsense) but every
section must have at least a `query` defining what to file in.
"""
-# filter used on the index_FTBFS pages
-filtered_issues = ('timestamps_from_cpp_macros' , 'ftbfs_werror_equals', 'bad_handling_of_extra_warnings', 'ftbfs_pbuilder_malformed_dsc', 'ftbfs_in_jenkins_setup', 'ftbfs_build_depends_not_available_on_amd64' )
-filter_query = ''
-for issue in filtered_issues:
- if filter_query == '':
- filter_query = 'n.issues LIKE "%' + issue + '%"'
- filter_html = '<a href="' + REPRODUCIBLE_URL + ISSUES_URI + '/$suite/' + issue + '_issue.html">' + issue + '</a>'
- else:
- filter_query += ' OR n.issues LIKE "%' + issue + '%"'
- filter_html += ' or <a href="' + REPRODUCIBLE_URL + ISSUES_URI + '/$suite/' + issue + '_issue.html">' + issue + '</a>'
-
queries = {
'count_total': 'SELECT COUNT(*) FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE s.suite="{suite}" AND s.architecture="{arch}"',
'reproducible_all': 'SELECT s.name FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE s.suite="{suite}" AND s.architecture="{arch}" AND r.status="reproducible" ORDER BY r.build_date DESC',