[Feature] cmdline arg to select user to create PPA under
Bug #1990244 reported by
Christian Ehrhardt
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/
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/
Related branches
ppa-dev-tools:fix-lp1990244-create-for-owner
- Lena Voytek (community): Approve
- Canonical Server packageset reviewers: Pending requested
- PpaDevTools Developers: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 732 lines (+207/-111)8 files modifiedNEWS.md (+9/-0)
ppa/ppa.py (+35/-29)
ppa/ppa_group.py (+9/-9)
scripts/ppa (+38/-18)
tests/helpers.py (+3/-2)
tests/test_ppa.py (+32/-32)
tests/test_ppa_group.py (+5/-5)
tests/test_scripts_ppa.py (+76/-16)
Changed in ppa-dev-tools: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
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.