ppa-dev-tools:fix-lp1992568-report-common-actions

Last commit made on 2022-10-19
Get this branch:
git clone -b fix-lp1992568-report-common-actions https://git.launchpad.net/ppa-dev-tools
Only Bryce Harrington can upload to this branch. If you are Bryce Harrington please log in for upload directions.

Branch merges

Branch information

Name:
fix-lp1992568-report-common-actions
Repository:
lp:ppa-dev-tools

Recent commits

9e08055... by Bryce Harrington

Add --architectures option for ppa create

7269347... by Bryce Harrington

Specify architectures to set from the caller.

Make set_architectures() require an architectures argument explicitly
and provide the list (ARCHES_PPA) from the caller. This allows
displaying the architectures even with --dry-run.

3577805... by Bryce Harrington

ppa: Support --quiet for ppa create

9898b42... by Bryce Harrington

ppa: Add additional common actions after creation

Fixes: https://bugs.launchpad.net/ppa-dev-tools/+bug/1992568

2c71b3f... by Bryce Harrington

ppa: Fix create --dry-run handling

config is passed into commands, not args, so should be used for testing
dry_run. We still need a ppa object for the output, though, so
construct a dummy one with the data we have.

08102ce... by Bryce Harrington

tests: Urlencode params for action urls

Substitutes + and / in urls so they can be loaded in the browser
properly. This also converts the url tests to use
@pytest.mark.parametrize(), which should make it easier to add more test
cases later.

b1cedec... by Bryce Harrington

trigger: Provide urls to the triggerable actions, with the ppa

The "autopkgtest_url" is renamed to "history_url" to distinguish it from
the actual url used to trigger the test run, which will be called the
"action_url".

d19091c... by Bryce Harrington

ppa: Make string version of a ppa describe the target

The current string representation of a ppa is useful only for showing a
detailed view of the PPA, and is only used in one place.

Much more frequently we need to refer to the PPA by a string that is
essentially the address without the 'ppa:' prefix. We'll use this as
the string format for a PPA instead.

3688eeb... by Bryce Harrington

ppa: Set up subparsers for each command

17fab1d... by Bryce Harrington

tests: Implement test_create_arg_parser()