series.getPackageUploads(): Add a flag for "current versions only"

Bug #409811 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

Thanks for implementing bug 123020, now I can get the custom uploads easily.

Sometimes I need to rebuild all the langpacks, and for this purpose I need to get all current static translation tarballs for the current release.

I can do that by getting all translation tarballs since the release opened, and then just filter for the ones which have a version which is current. That filtering has to happen for all of my queries, since I don't want to put in data which is stale.

For efficiency reasons it would be nice if I could pass a flag to getPackageUploads() to only return results for package versions which are currently published.

Tags: api easy lp-soyuz
Revision history for this message
Martin Pitt (pitti) wrote :

Just to clarify, this is purely a bandwidth saving measure, not blocking me from anything, so it's fine as "wishlist" or "low".

Changed in soyuz:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.0
Changed in soyuz:
assignee: nobody → Julian Edwards (julian-edwards)
tags: added: api
Changed in soyuz:
milestone: 3.0 → 3.1.10
Changed in soyuz:
milestone: 3.1.10 → none
assignee: Julian Edwards (julian-edwards) → nobody
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

getQueueItems has been deprecated in favour of getPackageUploads: bug 394645.

Revision history for this message
Robert Collins (lifeless) wrote :

High because system efficiency is important.

Changed in launchpad:
importance: Medium → High
tags: added: easy
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.