~sbeattie/ubuntu-security-tools:umt-warnings

Last commit made on 2022-04-23
Get this branch:
git clone -b umt-warnings https://git.launchpad.net/~sbeattie/ubuntu-security-tools
Only Steve Beattie can upload to this branch. If you are Steve Beattie please log in for upload directions.

Branch merges

Branch information

Name:
umt-warnings
Repository:
lp:~sbeattie/ubuntu-security-tools

Recent commits

e630e67... by Steve Beattie

umt: also emit warnings during download

umt emits some specialized warnings on a per package basis but only
during `umt check`. This is late in the update preparation process, and
often a preparer has already tripped over some of these issues before
they even get to the point of running `umt check`.

To address this, also emit the warnings during `umt download`, when
someone is at the beginning of preparing an update, and will hopefully
take them into account when doing the preparation.

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

e293beb... by Steve Beattie

umt: split out per-package warnings to separate function

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

d3683d0... by Steve Beattie

umt: warn about CRLF in tests for curl

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

3f978d2... by Steve Beattie

umt: clean up codestyle (except for long lines)

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

b4fc1c2... by Steve Beattie

umt: add warning for mongodb

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

e77fabc... by "Leonidas S. Barbosa" <leo.barbosa@canonical>

Improving a bit the comment txt

e168e7f... by "Leonidas S. Barbosa" <leo.barbosa@canonical>

Adding a check for mismatch in destination release versus changelog

There are cases where one pass the destination:<release> while doing a umt upload.
For cases where one miss type the release, by e.g: esm-infra:focal, where the package to be updated

was in fact a xenial one it can cause a bit of disaster.

This patch fix it adding a check for theses cases.

cdf3e15... by Alex Murray

umt qrt: Ensure apt supports the arguments we pass to it

apt only supports some arguments on newer Ubuntu releases so conditionally
add arguments when we know they are supported.

Signed-off-by: Alex Murray <email address hidden>

85d3c58... by Alex Murray

umt qrt: Be smarter about how we tell apt to install binary packages

Use --only-upgrade so that apt won't install every single binary package
which we specify, only those which are already installed (and since we run
./install-packages ./test-xxxx.py beforehand the QRT test script should
have ensured we already have the required packages installed for the
test). Hence remove the --exclude-binaries option from umt qrt as this
shouldn't be needed anymore as --only-upgrade should DTRT to avoid
installing say incompatible binary packages from the same source package
etc.

Signed-off-by: Alex Murray <email address hidden>

277603d... by Spyros Seimenis

Remove "quilt patches applied" check from umt

It seems that this check is no longer needed
since dpkg-buildpackage handles the case where
patches are already applied even for quilt 1.0
by performing a pop -a.

Tested with a package which uses quilt 1.0.