| |
@@ -76,17 +76,11 @@
|
| |
query['keywords'] = 'Triaged'
|
| |
if last_update:
|
| |
last_update_string = last_update.strftime("%Y-%m-%d %H:%M GMT")
|
| |
- yesterday_timestring = (last_update - datetime.timedelta(days=1)).strftime("%Y-%m-%d")
|
| |
|
| |
# Since this is kind of confusing, the idea here is to only grab only
|
| |
# the bugs whose whiteboard, blocks or dependson has changed since
|
| |
# the last sync or any bugs that have been created in the last day.
|
| |
|
| |
- # Unfortunately, there doesn't seem to be a way to filter the created
|
| |
- # bugs in a way that's more granular than a day, so we'll pull in
|
| |
- # extra bugs and slow down the sync process but the alternative is
|
| |
- # missing bugs from the list
|
| |
-
|
| |
# keep in mind that OP -> open parenthesis, CP -> closed parenthesis
|
| |
# and the OR is to make sure that a bug is returned if ANY of the
|
| |
# changed after conditions are met
|
| |
@@ -107,7 +101,7 @@
|
| |
'v6': last_update_string,
|
| |
'f7': 'creation_ts',
|
| |
'o7': 'greaterthaneq',
|
| |
- 'v7': yesterday_timestring,
|
| |
+ 'v7': last_update_string,
|
| |
'f8': 'short_desc',
|
| |
'o8': 'changedafter',
|
| |
'v8': last_update_string,
|
| |
The comment from @tflink saying this doesn't work, which this
commit removes, seems to be no longer valid. I tested using a
query for creation_ts greaterthaneq "2020-11-27" and then making
it "2020-11-27 16:00 GMT"; the former gave 202 results, the
latter gave 101. That looks a lot like it works.
Signed-off-by: Adam Williamson awilliam@redhat.com