Merge ~cjwatson/launchpad:publish-single-archive-option into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | fe7e2924511b316b6a177feb664a4ebaa098da49 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:publish-single-archive-option |
Merge into: | launchpad:master |
Diff against target: |
129 lines (+84/-2) 2 files modified
lib/lp/archivepublisher/scripts/publishdistro.py (+18/-2) lib/lp/archivepublisher/tests/test_publishdistro.py (+66/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guruprasad | Approve | ||
Review via email: mp+435203@code.launchpad.net |
Commit message
publish-distro: Add an --archive option
Description of the change
This fixes an annoyance when performing QA: `publish-distro` already had `--ppas` options and similar to tell it to run over all archives of a particular kind, but previously the only way to get it to run over a single archive was to hack the `is_ppa_public` etc. functions in place. This option should make publisher QA a little more convenient in future.
To post a comment you must log in.
LGTM 👍
P.S. I do not understand the usage of `defer. inlineCallbacks ` and the `yield` statements in a test method even after reading https:/ /docs.twisted. org/en/ twisted- 20.3.0/ core/howto/ defer-intro. html#inline- callbacks- using-yield. But as the assertions made at the end of that test look okay to me, I approved this MP.