~smoser/curtin:cleanup/header-simplify

Last commit made on 2018-01-19
Get this branch:
git clone -b cleanup/header-simplify https://git.launchpad.net/~smoser/curtin
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
cleanup/header-simplify
Repository:
lp:~smoser/curtin

Recent commits

06861f1... by Scott Moser

few final cleanups.

477fa72... by Scott Moser

Adjust LICENSE to specify AGPL-3.0-only

1cde82f... by Scott Moser

update LICENSE file and add LICENSE-AGPLv3.

98597c7... by Scott Moser

update HEADER, PYTHON_FOOTER, SHELL_FOOTER macros.

3ae64af... by Scott Moser

add PYTHON_FOOTER or SHELL_FOOTER to end of all files.

b430163... by Scott Moser

Add HEADER_LINE in all shell and python files.

a4c9636... by Scott Moser

tests: cleanup the apt custom sources test.

This test must have gone through some iteration in development.
It was testing in a very white-box way, and not really even validating
that the config was as expected (as made evident by the previous
lack of use of EXPECTED_CONVERTED_CONTENT).

The test now asserts that the two expected changes are made.

8c4af4e... by Scott Moser

apt: Be more lenient when replacing mirrors in /etc/apt/sources.list

Offical stock trusty and precise images contain /etc/apt/sources.list
that have a mirror like:
  http://archive.ubuntu.com/ubuntu
Where xenial and later have that as:
  http://archive.ubuntu.com/ubuntu/

When curtin "parsed" the existing /etc/apt/sources.list into a template
file to use for updating mirrors, it would not identify the trusty
version.

This fixes that parsing to be just as strict as before except for
to accomodate a missing trailing /.

LP: #1744038

6abd085... by Ryan Harper

vmtest: Drop Zesty release

Zesty is no longer supported as of 2018-01-13[1]

1. https://lists.ubuntu.com/archives/ubuntu-announce/2018-January/000227.html

89698cd... by Ryan Harper

vmtest: initialize logger with class names for easy parsing

When running vmtest in parallel, having each message include the
TestClass name helps developers map the output to specific tests when
reading the combined log.