[Feature] select pocket dependencies on ppa creation (and or later update them)

Bug #1990245 reported by Christian Ehrhardt 
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ppa-dev-tools
New
Undecided
Unassigned

Bug Description

A common reason for a PPA is to pre-build something complex before uploading it to the -devel release. But builds in -devel have proposed enabled by default.

The PPAs as created by ppa tools have only "default" like one you'd create on the Web-UI.
I'm assuming that developers not driving SRUs would appreciate a quick way to also enable proposed when creating their PPA.

The Web UI has:
Ubuntu dependencies:
 Basic (only released packages).
 Security (basic dependencies and important security updates).
 Default (security dependencies and recommended updates).
 Proposed (default dependencies and proposed updates).
 Backports (default dependencies and unsupported updates).

So it would be great to have this for users:

ppa create foo --dependencies [Basic|Security|Default|Proposed|Backports]

There is also a way to add custom dependencies, e.g. to other PPAs.
That imho is fine as a later addition not embedded to "create".
Or - for now - leaving that custom deps to the Web UI, but later on as a follow on item.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

+1 for this feature request. That'd be helpful.

Revision history for this message
Bryce Harrington (bryce) wrote :

The option should probably be called like --pocket or --pocket-dependencies, to avoid confusion with other kinds of dependency-related things associated with PPAs. I've adjusted the bug title.

summary: - [Feature] select dependencies on ppa creation (and or later update them)
+ [Feature] select pocket dependencies on ppa creation (and or later
+ update them)
Revision history for this message
Bryce Harrington (bryce) wrote :

Unfortunately, this feature is a bit tricky to implement, because I am not yet able to find a way to set this through the Launchpad API. (If anyone knows, I'm all ears.)

Beyond looking at the API docs, I poked around in the client-side PPA object without identifying an obvious setting record. I've also dug through the Launchpad server-side archive code for the web UI to set this parameter, but that server code seems not to be associated with a REST API.

Anyway, hopefully I'm missing something, but if not, it suggests the way forward here would require getting API support for this to Launchpad itself first.

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.