ppa-dev-tools:add_suite_module

Last commit made on 2023-03-16
Get this branch:
git clone -b add_suite_module 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:
add_suite_module
Repository:
lp:ppa-dev-tools

Recent commits

e0d6324... by Bryce Harrington

Add Suite class

Break the Suite class out of the repository module and complete its
implementation, including unit tests and a smoke test.

As previously, the smoke test expects to work on a local mirror of an
Apt repository. This can be created using the apt-mirror utility.

aef7ba1... by Bryce Harrington

repository: Cleanup lintian warnings

6bdee60... by Bryce Harrington

repository: Standardize terminology for release-pockets to suites

0bf5bc3... by Bryce Harrington

repository: Fix missing import for smoketest

bad3b8b... by Bryce Harrington

Add repository class

Provides a programmatic interface to the top directories a local mirror
of an apt repository. This allows inspection of the main sections of
the mirrors or "suites", which represent different Ubuntu distro release
pockets such as 'lunar-proposed', 'kinetic-security', or 'feisty-updates'.

This includes handling of one special case: The 'release' pocket is not
stored by name, but represents the default (blank) pocket. So, for
example, 'jammy' should really be interpreted as 'jammy-release'.

(This also includes an initial stub of a Suite class but just as a data
shim. It will be broken out and expanded in latter commits.)

7e59879... by Bryce Harrington

ppa: Raise exception on invalid ppa name

This might break a few uses that are only checking for a null config,
but raising an exception in this circumstance is a better behavior.

b5b41be... by Bryce Harrington

tests: Create mock PPAs with the default processors enabled

4485f2f... by Bryce Harrington

tests: Add tests for create_config()

Implements test cases for the create_config() routine, including
checking for expected exceptions.

4114463... by Bryce Harrington

ppa: Move DEFAULT_CONFIG to top level

This is to facilitate testing, so we can use this data object to
distinguish changed values.

f977aea... by Bryce Harrington

Add typing info for argparse objects