Last commit made on 2024-02-17
Get this branch:
git clone -b refactor-triggers-from-command-tests 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


Recent commits

1a457e7... by Bryce Harrington

results: Fix invalid url generation for get_results()

Ensure that the url is constructed with '/' between components.

374b06a... by Bryce Harrington

tests: Implement test_get_results()

Fix some technical debt in the form of a missing test case. During
implementation it is discovered that there's a bug in how get_results
generates the url for the Result.

c592620... by Bryce Harrington

trigger: Improve Trigger class docs

bd0ad53... by Bryce Harrington

trigger: Rename series_codename to just series

e2aad71... by Bryce Harrington

trigger: Refactor trigger display logic to new show_triggers()

Similar to recent refactoring work extracting show_results,
show_waiting, and show_running, the logic for triggers is also moved out
to its own show_triggers() routine.

This one differs in semantics somewhat in that rather than operating on
all data, it only operates on a single source package at a time. This
is in preparation for enabling richer filtering of the list of triggers
when a PPA contains multiple packages or when rdepends are shown. For
now though, this simply iterates through all the source publications.

ff2d50f... by Bryce Harrington

trigger: Refactor object generation into new get_triggers()

Similar to past refactoring, this also moves the list comprehension into
a routine in the trigger module. For consistency with get_results() and
other routines, this is restructured to return an iterator rather than a
list. And similar to show_triggers(), the semantics focuses on
triggers for a single source package at a time.

89803d7... by Bryce Harrington

processes: Include output when raising ReturnCode

[Sync up with pdbq]

8a46dc9... by Heinrich Schuchardt

Job.request_url: urlencode parameter strings

Triggering autopkgtests for a package with a version number like
8.2313.0-2ubuntu1+ppa1 fail due to missing urlencoding.

Fixes: https://bugs.launchpad.net/ppa-dev-tools/+bug/2049105
Signed-off-by: Heinrich Schuchardt <email address hidden>

ee39cf8... by Heinrich Schuchardt

test_request_url: provide more test cases

Parameterize test_request_url() and provide more test cases.
Expect parameters in a URL to be URL encoded.

Signed-off-by: Heinrich Schuchardt <email address hidden>

55e2df3... by Bryce Harrington

ppa: Fix f-string for how to add the ppa