Merge ppa-dev-tools:set-command-private-ppa into ppa-dev-tools:main
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | a116288136ae712e726d5e8f7830b64ca77830ba |
Proposed branch: | ppa-dev-tools:set-command-private-ppa |
Merge into: | ppa-dev-tools:main |
Diff against target: |
395 lines (+173/-31) 7 files modified
ppa/ppa.py (+24/-0) ppa/ppa_group.py (+3/-1) scripts/ppa (+43/-21) tests/helpers.py (+5/-2) tests/smoketest_ppa_set (+70/-0) tests/test_ppa_group.py (+10/-0) tests/test_scripts_ppa.py (+18/-7) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lena Voytek (community) | Approve | ||
Canonical Server packageset reviewers | Pending | ||
PpaDevTools Developers | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+447032@code.staging.launchpad.net |
Description of the change
Implements support for creating private PPAs and toggling PPAs public vs. private.
Creating private PPAs requires special authorization that I don't seem to have, with the result that I've not been able to verify that this actually works correctly "live". However, I've included checks for some of the authorization errors I've hit, and implemented a slew of unit tests. I'll try to find someone with access to do the live verification, but apart from that I think this code is ready for review and landing.
As usual, to run the testsuite, do:
$ make check
or
$ pytest-3
And the smoketest has been updated to include toggling --private:
$ ./tests/
However as mentioned, unless you have authorization to modify privacy on PPAs that will merely generate errors.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
LGTM! just one note for one of the help strings