query_distro() will return version of package in proposed

Bug #1198291 reported by Adam Gandelman on 2013-07-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cloud Archive Utilities
Undecided
Unassigned
openstack-ubuntu-testing
Undecided
Unassigned

Bug Description

When querying for a distro packages' version, the version of that package in -proposed will be returned if it differs from that in -release. This is problematic when trying to generate a list ofoutdated cloud archive packages.

Eg, currently saucy websockify -release version is 0.3.0-0ubuntu1. -proposed is 0.3.0+dfsg1-6.

>>> from cloudarchive import utils
>>> print utils.query_distro(package='spice-html5', release='saucy')
0~0+20130318+ec9ae0cbd6-2
>>> print utils.query_distro(package='websockify', release='saucy')
0.3.0+dfsg1-6

Should either take a parameter to specify which pocket to query, or only return versions from $series-release pocket

Related branches

Adam Gandelman (gandelman-a) wrote :

Also adding lp:openstack-ubuntu-testing. Our backport utilities seem to also be pulling packages from -proposed instead of -released.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers