Please expose the list of SourcePackageNames in the API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I have an application that wants to offer a choice of source packages to work
on. In order to provide a pleasing interface for this I want to know what all the
possibilities are to provide search and things. However, iterating over
getPublishedSources for each distribution (plus each distroseries, as you can't do
it for a whole archive) etc. will be painfully slow and inefficient.
For this use case if you could simply expose the list of SourcePackageNames that
soyuz knows about I can use this list (cached) to provide the interface, and
then confirm that the source package is in the distribution etc. if the user selects
it.
If there is an existing way to acheive this that doesn't include the cost of
getPublishedSources then I would be pleased to hear about it.
Thanks,
James
summary: |
- Please expose the list of SourcePackageNames + Please expose the list of SourcePackageNames in the API |
Hi,
It would also be spiffy for this application if there was a function that
could go from a SourcePacakgeName to an IArchive collection of every
archive that has a publication of a package of that name, but I guess
that might be asking for too much?
Thanks,
James