ppa-dev-tools:refactor-autopkgtest-results

Last commit made on 2023-08-31
Get this branch:
git clone -b refactor-autopkgtest-results 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:
refactor-autopkgtest-results
Repository:
lp:ppa-dev-tools

Recent commits

6c63268... by Bryce Harrington

tests: Implement a few basic presentational tests for Ppa class

6359649... by Bryce Harrington

ppa: Split trigger display separately from trigger construction

Gather all the triggers into a source_pub_triggers data structure, then
separately process the structure with the logic for displaying them.

76ad6f0... by Bryce Harrington

result: Refactor results retrieval from command_tests to ppa module

Now that display of results has been refactored into show_results(), the
code to retrieve the results can move into the ppa module.

This implements get_autopkgtest_results() and corresponding test.

7c3689a... by Bryce Harrington

result: Use more recent example ppa

Testing against real PPAs is very handy to do from a smoketest, but
unfortunately they have a tendancy to bitrot... eventually this should
be made to work more synthetically (maybe select a PPA randomly??) but
for now we just kick the can down the road...

f7d9f2a... by Bryce Harrington

tests: Improve Results constructor instantiation checks

c56a856... by Bryce Harrington

result: Support newer autopkgtest log formats

Since mantic, autopkgtest logs are prepended with a timestamp, which
confuses the parser resulting in the timestamp displayed instead of the
subtest description. This fixes the issue by detecting lines beginning
with three or more numerical digits and ignoring the first word in the
line for extracting subtests.

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

7bef7a0... by Bryce Harrington

Cleanup unneeded rdepends variable

19218ad... by Bryce Harrington

Refactor create command to use f-strings for output

f2e6de1... by Bryce Harrington

Cleanup error printing for file not found

1afddd6... by Bryce Harrington

Cleanup pylint