So I dug a bit more today along with using launchpadlib to pull out the bug that was effectively hidden.
It appears the web interface does this:
If a bug is upstream it hides it with hide_upstream
If a bug is upstream but not have a bug watch then Invalid status is not considered for resolved_upstream.
If a bug is upstream and has a bug watch then even Invalid status is considered resolved_upstream.
I think probably it would be best to have bugs whether bug watched or not that are Invalid upstream to be not hidden by hide_upstream. Or at the very least treat them both the same way, whichever way you want to treat them.
Using launchpadlib I had to do this to get the equivalent information:
for pkgbug in package.searchTasks(status=['Triaged']):
for task in pkgbug.bug.bug_tasks:
if task.target.resource_type_link.split('#')[1] == 'project':
if task.status == 'Invalid':
if task.bug_watch is None:
print task.bug.id, "-", task.bug_target_name
This is a very heavy process, it takes roughly 12m, just to get information that ought to be accessible already.
So I dug a bit more today along with using launchpadlib to pull out the bug that was effectively hidden.
It appears the web interface does this:
If a bug is upstream it hides it with hide_upstream
If a bug is upstream but not have a bug watch then Invalid status is not considered for resolved_upstream.
If a bug is upstream and has a bug watch then even Invalid status is considered resolved_upstream.
I think probably it would be best to have bugs whether bug watched or not that are Invalid upstream to be not hidden by hide_upstream. Or at the very least treat them both the same way, whichever way you want to treat them.
Using launchpadlib I had to do this to get the equivalent information:
for pkgbug in package. searchTasks( status= ['Triaged' ]): bug.bug_ tasks: resource_ type_link. split(' #')[1] == 'project': target_ name
for task in pkgbug.
if task.target.
if task.status == 'Invalid':
if task.bug_watch is None:
print task.bug.id, "-", task.bug_
This is a very heavy process, it takes roughly 12m, just to get information that ought to be accessible already.