ppa-dev-tools:set-command-dependencies

Last commit made on 2023-04-25
Get this branch:
git clone -b set-command-dependencies 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:
set-command-dependencies
Repository:
lp:ppa-dev-tools

Recent commits

d71ef8d... by Bryce Harrington

set: Add --ppa-dependencies support

This feature permits associating other PPAs as available to satisfy
build dependencies for this PPA.

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

1e28c03... by Bryce Harrington

Use LpServiceMock in all command tests.

72c5d51... by Bryce Harrington

Typing for command functions

3bd8dd6... by Bryce Harrington

Add option to use the 'qastaging' Launchpad service

2e6b5d7... by Bryce Harrington

Improve smoketest output formatting

272c487... by Bryce Harrington

suite: Add dependent_packages() API

This routine performs the lookup of a given source package against the
collected Apt info, to determine a list of packages worth running
autopkgtests against. This includes both the source package's build
dependencies and other source packages that depend on it.

Currently, this does not consider recursive dependencies. I.e. if a
build-depends on b, and b build-depends on c, this routine will return
only 'b' when asked about 'a'.

It also is currently unable to handle source packages with undefined or
empty build dependency lists.

820c65f... by Bryce Harrington

suite: Add lookup tables for rdepends and provides

This establishes a pair of lookup tables for finding the source
package(s) for a given binary either by what provides the binary or what
requires it. These two tables together form a data collection mapping
the relationship between a given source package and other source
packages that depend on it, derived from the Build-Depends and Binary
fields of the Apt record.

eee16f5... by Bryce Harrington

ppa: Typing

100b629... by Bryce Harrington

Fix lint and flake issues

a7b937e... by Bryce Harrington

suite: Incorporate SourcePackage and BinaryPackage

Switch the .sources and .binaries member functions to provide actual
SourcePackage and BinaryPackage class objects in their returns, and
update test cases accordingly.