ticket system: binarypackage API call not returning anything

Bug #1291078 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
Medium
Andy Doan
Ubuntu CI Services
Fix Released
Medium
Andy Doan

Bug Description

I have a few successful tickets, but this API call isn't returning any:

http://15.125.115.133/api/v1/binarypackage/?format=json
{"meta": {"limit": 20, "next": null, "offset": 0, "previous": null, "total_count": 0}, "objects": []}

Tags: airline

Related branches

Revision history for this message
Evan (ev) wrote :
Revision history for this message
Andy Doan (doanac) wrote :

i just looked at the ticket-system code. This URL is managed by ticket_system/project/api.py and uses the BinaryPackage model. I don't think the lander is doing anything with those models in code right now.

I'm wondering the best way to deal with this. I'm not sure the lander *should* update that API. Upon completion of a ticket, shouldn't the ticket-system know what packages have been added/removed and be able to update this model for us?

Revision history for this message
Chris Johnston (cjohnston) wrote : Re: [Bug 1291078] Re: ticket system: binarypackage API call not returning anything

On Mar 12, 2014 11:30 PM, "Andy Doan" <email address hidden> wrote:
>
> i just looked at the ticket-system code. This URL is managed by
> ticket_system/project/api.py and uses the BinaryPackage model. I don't
> think the lander is doing anything with those models in code right now.
>
> I'm wondering the best way to deal with this. I'm not sure the lander
> *should* update that API. Upon completion of a ticket, shouldn't the
> ticket-system know what packages have been added/removed and be able to
> update this model for us?

If you look in the ticket api, it should be doing this when a ticket status
is updated.

>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1291078
>
> Title:
> ticket system: binarypackage API call not returning anything
>
> Status in Ubuntu CI Services:
> New
>
> Bug description:
> I have a few successful tickets, but this API call isn't returning
> any:
>
> http://15.125.115.133/api/v1/binarypackage/?format=json
> {"meta": {"limit": 20, "next": null, "offset": 0, "previous": null,
"total_count": 0}, "objects": []}
>
> To manage notifications about this bug go to:
>
https://bugs.launchpad.net/ubuntu-ci-services-itself/+bug/1291078/+subscriptions

Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
assignee: Chris Johnston (cjohnston) → Andy Doan (doanac)
Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
status: New → In Progress
Changed in ubuntu-ci-services-itself:
status: In Progress → Fix Committed
Vincent Ladeuil (vila)
Changed in ubuntu-ci-services-itself:
status: Fix Committed → Fix Released
tags: added: airline
Ursula Junque (ursinha)
Changed in uci-engine:
assignee: nobody → Andy Doan (doanac)
importance: Undecided → Medium
milestone: none → phase-0
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.