| |
@@ -20,8 +20,9 @@
|
| |
"F33FailsToInstall": 1803235,
|
| |
"F34FailsToInstall": 1868279,
|
| |
"F35FailsToInstall": 1927313,
|
| |
+ "F36FailsToInstall": 1992487,
|
| |
}
|
| |
- RAWHIDE = "35"
|
| |
+ RAWHIDE = "36"
|
| |
|
| |
|
| |
def _bzdate_to_python(date):
|
| |
@@ -278,6 +279,7 @@
|
| |
ftibug = bz.getbug(f"F{release}FailsToInstall")
|
| |
query_fti = bz.build_query(
|
| |
product="Fedora",
|
| |
+ status="__open__",
|
| |
include_fields=[
|
| |
"id",
|
| |
"status",
|
| |
@@ -289,8 +291,11 @@
|
| |
],
|
| |
)
|
| |
query_fti["blocks"] = ftibug.id
|
| |
- current_ftis = {b.component: b for b in bz.query(query_fti)
|
| |
- if b.status != "CLOSED" and b.component != 'distribution'}
|
| |
+ query_results = bz.query(query_fti)
|
| |
+ if len(query_results) == 1000:
|
| |
+ raise NotImplementedError('Bugzilla pagination not yet implemented')
|
| |
+ current_ftis = {b.component: b for b in query_results
|
| |
+ if b.component != 'distribution'}
|
| |
|
| |
env = jinja2.Environment(loader=jinja2.FileSystemLoader(TEMPLATE_DIR))
|
| |
env.globals["release"] = release
|
| |
This should help with the pagination issue described in:
https://github.com/python-bugzilla/python-bugzilla/issues/149
We have more than 1000 bugzillas, but only couple hundreds are open.
Long term, we will need to add code to handle the pages, but this works for now.