ppa-dev-tools:add_rdepends_argument

Last commit made on 2023-04-18
Get this branch:
git clone -b add_rdepends_argument 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_rdepends_argument
Repository:
lp:ppa-dev-tools

Recent commits

565c3c6... by Bryce Harrington

suite: Fix handling of suites with no packages

The lunar-updates/restricted suite, for example, has no packages yet, so
the binaries and sources objects generated from Packages.xz and
Sources.xz will be empty ("{}"), which fails the validity test and
throws the post-condition exception.

Instead, use None values for sources and binaries to indicate undefined
behavior, and treat an empty dict as a valid case.

c65691a... by Bryce Harrington

suite: Use either Sources.xz or Sources.gz

It appears that the trusty apt repository still uses gzip encoding so
this would either need to exclude trusty or handle both extension
types. This opts for the latter solution in case any users need
trusty support.

6d85b0e... by Bryce Harrington

trigger: Correct urls for differing test package and trigger package

For a basic autopkgtest run the autopkgtests in the trigger package are
used, so package == test_package. However, for testing
reverse-dependencies of a given package, we need to specify both package
names - the former as the test_package, the latter as the trigger
package/version.

38f4566... by Bryce Harrington

ppa: Add --show-rdepends option for tests command

This new option permits display of additional triggers for a given
package for running autopkgtest against all of the packages that depend
on it.

03790b8... by Bryce Harrington

suite: Handle alternative dependencies when generating rdepends table

Packages that depend on one of a set of alternative build
dependencies (e.g. mawk | awk) need to be considered rdepends
of both. The parser puts these into a tuple rather than a simple
string.

Previously, these tuples were not recognized when looking up values, and
thus got skipped. This patch casts simple build dependencies into a
single-element list, so they and the tuples can be handled the same
way.

c044a3d... by Bryce Harrington

ppa: Refactor class members for running and waiting autopkgtest jobs

0082955... by Bryce Harrington

ppa tests: Eliminate blank links between main elements

Triggers and Results had newlines after them, but Running and Waiting
did not. Results also had internal newlines between release items, but
Triggers did not. Remove all these newlines from for consistency.

37f67a7... by Bryce Harrington

suite: Show only rdepends, not build dependencies

Build dependencies may be relevant for the requested package's trigger,
but shouldn't need their own separate triggers like rdepends.

a4c5953... by Bryce Harrington

suite: Drop stray debugging statement

5de94c8... by Bryce Harrington

Use a manual rsync instead of apt-mirror for getting apt data

The apt-mirror command gets both dist indexes and packages, but the
latter is too much data and unnecessary for this tool's purposes.

Eventually ppa-dev-tools should generate its own mirror automatically
but this at least improves the usability significantly in the near term.