[Feature] cmdline arg to select user to create PPA under

Bug #1990244 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ppa-dev-tools
Fix Released
High
Unassigned

Bug Description

I see I could change team_name via ~/.config/ppa-dev-tools/config.yml or a selected config file.
But I expect the namespace to create a PPA under a common thing not really fitting a config file.

A common use case might be to create a PPA under some teams namespace to allow others to upload as well. That would help taking over work from others and will be more important the more we grow.

Hence I'm requesting to either add some --team/--namespace/-user/--whatever argument to the ppa creation or to allow prefixing it like "user/ppaname" instead of just "ppaname" as it is today.

Related branches

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

I've filed an MP with a fix to this issue, see linked branch.

With this, the team name (aka 'owner') is respected when set as a config file parameter, command line argument, or included in the PPA address. (Unit test case for all these permutations are included.)

The official command line argument for this is --owner-name, however --team-name, --owner, and --team are supported as aliases, but I suspect the "user/ppaname" form will be the most convenient.

Changed in ppa-dev-tools:
importance: Undecided → High
status: New → In Progress
Bryce Harrington (bryce)
Changed in ppa-dev-tools:
status: In Progress → Fix Committed
Revision history for this message
Bryce Harrington (bryce) wrote :

Now available in the 0.5.0 release.

Changed in ppa-dev-tools:
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.