~alexmurray/ubuntu-security-tools:improve-umt-adt-output

Last commit made on 2021-08-02
Get this branch:
git clone -b improve-umt-adt-output https://git.launchpad.net/~alexmurray/ubuntu-security-tools
Only Alex Murray can upload to this branch. If you are Alex Murray please log in for upload directions.

Branch merges

Branch information

Name:
improve-umt-adt-output
Repository:
lp:~alexmurray/ubuntu-security-tools

Recent commits

48c89ac... by Alex Murray

umt: Only output hyperlinks when we are sure they are supported

As per https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
it looks like VTE versions >= 0.50.0 support this so check for that and
only output in that case.

da72eae... by Alex Murray

umt adt: Automatically guess adt location based on upload destination

Also add --url parameter to allow the URL to the excuses yaml to be
manually specified.

67ca5a6... by Alex Murray

umt: Refactor terminal hyperlinkification into it's own function

4277a72... by Alex Murray

umt adt: Print regular excuses output with hyperlinks and color

As such we now see in the terminal something like the following where the
'Pass' and '[artifacts]' elements are linkified back to the results URLs
etc and the recycling symbol is also linkified to the resubmit URL to
retrigger the autopkgtest etc.

$ umt adt
Removing '../adt' ...
Getting security_focal_excuses.yaml file ...
Migration status for libsndfile (1.0.28-7 to 1.0.28-7ubuntu0.1): BLOCKED: Rejected/violates migration policy/introduces a regression
Issues preventing migration:
autopkgtest for gsequencer/3.1.3-1: amd64: Pass [artifacts], arm64: Test in progress, armhf: Pass [artifacts], ppc64el: Test in progress, s390x: Pass [artifacts]
autopkgtest for libopenmpt/0.4.11-1build1: amd64: Pass [artifacts], arm64: Pass [artifacts], armhf: Pass [artifacts], i386: Regression ♻ [artifacts], ppc64el: Pass [artifacts], s390x: Pass [artifacts]
Additional info:
0 days old

saving ../adt/adt_results.txt ...
TOTAL Packages triggered: 15
PACKAGES SUCCESS: 13
ERROR: 1 REGRESSIONS found, 2 TESTS RUNNING

5132f6f... by Alex Murray

umt adt: Don't consider running tests as having passed

b2ac66a... by Alex Murray

umt adt: Support reading results from proposed-migration

70e95b7... by Alex Murray

umt qrt: Setup local package archive as first step

This way if we need to sign the package we can prompt the user early before
they go make a cup of coffee and come back and find out that the tests
didn't run as it timed out waiting for them to enter their GPG passphrase
etc to sign the packages...

9aeac61... by Avital Ostromich

Updated valid version checking logic, umt msg typo

05b09a4... by Marc Deslauriers

perform groovy EoL tasks

d62ac79... by Steve Beattie

umt: merge new 'adt' command to report test results

Merge branch from Leo.

Signed-off-by: Steve Beattie <email address hidden>
MR: https://code.launchpad.net/~ubuntu-security/ubuntu-security-tools/+git/ubuntu-security-tools/+merge/404029