[iso-tracker] Launchpad integration shows statuses in upstream projects

Bug #559030 reported by Ara Pulido on 2010-04-09
8
This bug affects 1 person
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

Brian Murray (brian-murray) wrote :

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.

Changed in ubuntu-qa-website:
assignee: nobody → Brian Murray (brian-murray)
status: Triaged → In Progress
Ara Pulido (ara) wrote :

Thanks Brian. I will test it today in my environment.

Ara Pulido (ara) wrote :

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 :

Ah, I see were I went wrong. Thanks for letting me know!

Ara Pulido (ara) on 2010-04-19
Changed in ubuntu-qa-website:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers