~alexmurray/ubuntu-security-tools:umt-qrt-vm-creation

Last commit made on 2021-09-13
Get this branch:
git clone -b umt-qrt-vm-creation 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:
umt-qrt-vm-creation
Repository:
lp:~alexmurray/ubuntu-security-tools

Recent commits

5453e72... by Alex Murray

umt qrt: Add support for creating a VM if none already exists

Since both uvt and lxc can create VMs, first check if one exists with the
given name, and if not offer to create one.

bfb063e... by Alex Murray

umt qrt: Remove duplicated NotImplementedError()

It turns out the Python base library already implements it's own Exception
called NotImplementedError() so we can just use that instead.

d8652fe... by Steve Beattie

build-tools/buildlog-compare: handle non-utf-8 garbage in logs

Given that buildlog-compare has been converted to python3, use
py3 specific solutions for this. It *may* work under py2.7, but we
should all be working in a modern enough environment for this to work
in python3.

Signed-off-by: Steve Beattie <email address hidden>

d318138... by Alex Murray

umt adt: Slight refactor of adt results handling to be more pythonic

849fd80... by Alex Murray

umt adt: Be graceful if source has not been uploaded

If the source package has not been uploaded then fallback to trying first
the security-proposed PPA and then the proposed-migration excuses in that
order. Also allow the shorthand names of security-proposed / ubuntu as
parameters to the --url argument to make use of this easier.

c619f2d... by Steve Beattie

umt adt: allow passing shortcuts as url options

such that 'umt adt --url security-proposed' will work

Signed-off-by: Steve Beattie <email address hidden>

c48ef36... by Steve Beattie

umt: quote % in umt adt --url help

Without it, it was encoding the whole arg struct into the help string,
like so:

  --url URL Specify the URL to the update_excuses.yaml to use.
                        {'option_strings': ['--url'], 'dest': 'url', 'nargs':
                        None, 'const': None, 'default': None, 'type': None,
                        'choices': None, 'required': False, 'help': 'Specify
                        the URL to the update_excuses.yaml to use. %s can be
                        used as a placeholder for the release name.',
                        'metavar': None, 'container': <argparse._ArgumentGroup
                        object at 0x7f7f59e7f550>, 'prog': 'umt'} can be used
                        as a placeholder for the release name.

Signed-off-by: Steve Beattie <email address hidden>

269f5f9... by Alex Murray

umt: Work-around os.getlogin() failing on older Ubuntu's

ea1c49b... by Alex Murray

Merge branch 'umt-argparse'

https://code.launchpad.net/~alexmurray/ubuntu-security-tools/+git/ubuntu-security-tools/+merge/407579

c250948... by Alex Murray

Add adt to bash completion for umt