Skip to content
Snippets Groups Projects
Unverified Commit ac694a62 authored by Paul Wise's avatar Paul Wise
Browse files

ftbfs: show all FTBFS bugs on the build failure lines

parent 9a8a5c2e
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,21 @@ SELECT distinct source, id, title
db.query(QUERY_OPEN_BUGS_IN_ARCH, ('source', 'id', 'title'), tag=arch,
packages=[*packages])}
# Get opened FTBFS bugs
QUERY_OPEN_FTBFS_BUGS = ("""
SELECT distinct source, id, title
FROM bugs
INNER JOIN bugs_tags
USING (id)
WHERE status != 'done'
AND bugs_tags.tag = 'ftbfs'
AND source = ANY
(%(packages)s)
""")
bugs.update({x['id']: [x['source'], x['title']] for x in
db.query(QUERY_OPEN_FTBFS_BUGS, ('source', 'id', 'title'),
packages=[*packages])})
if bugs:
# Which bugs have a patch?
QUERY_BUGS_WITH_PATCH = ("""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment