binary packages not exposed in API

Bug #316803 reported by Colin Watson
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Julian Edwards

Bug Description

Distribution source packages are exposed through the Launchpad API now, but binary packages are not.

If this were implemented, it would be possible to implement 'rmadison' (a tool that queries remote archives for versions of packages) using the Launchpad API, rather than using a CGI script running on people.ubuntu.com.

Tags: api lp-soyuz
Revision history for this message
Julian Edwards (julian-edwards) wrote :

I'm going to mark this as a dupe of bug 276020 as the work is being tracked there.

Revision history for this message
Celso Providelo (cprov) wrote :

Hi Colin,

I assume you are using archive.getPublishedSources(). Would be happy to query binaries via archive.getPublishedBinaries(name, version, status, distroarchseries, exact_match) as well ?

It should take too long to expose IDistroArchseries and IBinaryPackagePublishingHistory objects through the API.

Revision history for this message
Colin Watson (cjwatson) wrote :

Fine by me. We only need to query currently-published binaries, not the full history.

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 316803] Re: binary packages not exposed in API

Yes, that's the plan - hopefully this cycle!

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Un-duping because I have a separate fix for this ready to land as soon as 2.2.4 is open for business.

Changed in soyuz:
assignee: nobody → julian-edwards
importance: Undecided → High
milestone: none → 2.2.4
status: New → Triaged
Revision history for this message
Julian Edwards (julian-edwards) wrote :

r8245/devel

distroarchseries and binarypackagepublishinghistory are exported.
IArchive has also now got getPublishedBinaries() to retrieve the binary publications.

Changed in soyuz:
status: Triaged → Fix Committed
Changed in soyuz:
status: Fix Committed → 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.