Incomplete/Confusing Package Recipe API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
According to https:/
I also think that 'archive' should be optional, and 'Daily build archive' should be renamed to 'Default archive' as the default location for the builds to be placed.
I would also like to be able to get and set the default distro series array, and description, from the API.
Changed in launchpad: | |
importance: | Medium → Low |
On 07/20/2010 03:23 PM, Rodney Dawes wrote: /edge.launchpad .net/+apidoc/ devel.html# source_ package_ recipe
> Public bug reported:
>
> According to
> https:/
> there isn't any way to get the list of currently configured default
> series set on the recipe from the LP UI. It however, requires the
> distroseries and pocket arguments. Neither of these make sense to be
> required if there is a defualt configured value.
This is the API we use, and these values are required in order to use
it. We do not use the default value if none is supplied. For on-demand
builds, we use the value supplied by the user, who may choose to accept
the default. For daily builds, we explicitly supply the values
configured for daily builds.
> The pocket option also
> doesn't make much sense if the packages can not be placed into an
> archive other than a PPA.
That is a current limitation, but we expect that to change.
> I also think that 'archive' should be optional, and 'Daily build
> archive' should be renamed to 'Default archive' as the default location
> for the builds to be placed.
That would be inaccurate, since the "Default archive" would not be the
default archive supplied by the user interface.
> I would also like to be able to get and set the default distro series
> array, and description, from the API.
That is reasonable. It hasn't been implemented so far because it's not
well supported by the Zope security mechanisms.
Aaron