[iso-tracker] Launchpad integration shows statuses in upstream projects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Ubuntu QA Website |
High
|
Brian Murray |
Bug Description
Launchpad integration for bugs in the ISO tracker does not work as expected.
We are only interested in Ubuntu tasks and their statuses, but, currently, the report shows some Upstream tasks and their statuses.
I.e.:
519541 Abiword 2.8.1 freezes with document lost when help... AbiWord Confirmed Unknown
Please, change the script to show the Ubuntu task status and not any other upstream task.
Only one exception needs to be considered: Upstream bugs filed directly, with no Ubuntu task associated (important for example, for Wubi tasks, that don't have an Ubuntu task)
Summary:
If the bug has an Ubuntu task -> Show the ubuntu task
If the bug does not have an Ubuntu task -> Show the upstream task
Related branches
Brian Murray (brian-murray) wrote : | #1 |
Changed in ubuntu-qa-website: | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Ara Pulido (ara) wrote : | #2 |
Thanks Brian. I will test it today in my environment.
Ara Pulido (ara) wrote : | #3 |
Well, it wasn't completely flawless ;-)
But after a minor change to your patch it worked perfectly and I have upload it to the trunk branch. Thanks!
Changed in ubuntu-qa-website: | |
status: | In Progress → Fix Committed |
Brian Murray (brian-murray) wrote : | #4 |
Ah, I see were I went wrong. Thanks for letting me know!
Changed in ubuntu-qa-website: | |
status: | Fix Committed → Fix Released |
I didn't feel comfortable just merging this as I don't really have an easy way to test it although I'm certain the code is flawless! In addition to making the change you've requested I've also modified bug_comments to be significantly faster as bug.message_count is now exported in the Launchpad API.