~mwhudson/curtin:document-ptable-raid

Last commit made on 2018-06-21
Get this branch:
git clone -b document-ptable-raid https://git.launchpad.net/~mwhudson/curtin
Only Michael Hudson-Doyle can upload to this branch. If you are Michael Hudson-Doyle please log in for upload directions.

Branch merges

Branch information

Name:
document-ptable-raid
Repository:
lp:~mwhudson/curtin

Recent commits

08a530f... by Michael Hudson-Doyle

add partitioned raid example

90a04da... by Michael Hudson-Doyle

we do not expect to handle any other partition types ...

90747af... by Michael Hudson-Doyle

document that you can set ptable on raids

edb096d... by Scott Moser

vmtests: move skip-by date of xfs root and xfs boot out 1 year.

This pushes out the skip-by date of bug 1652822 for a year.
xfs root and xfs boot seems an unlikely use case, and thus a bug
not likely to be fixed. So we do not want to see warnings on it.

d879ca0... by Ryan Harper

vmtests: network_mtu move fixby date out 4 months from last value

The upstream changes needed to handle mixed ipv4/ipv6 mtu have not
been completed in networkd so this test is currently failing.
Move our skipby date out 4 months.

9d0e557... by Scott Moser

Fix WorkingDir class to support already existing target directory.

The WorkingDir class can take a config that defines a target directory.
If that directory already existed, then WorkingDir would raise a
OSError (FileExistsError) when it attempted to os.mkdir.

The fix here just allows a target to exist already as long as it is empty.

LP: #1775622

1bc868b... by Scott Moser

Fix extraction of local filesystem image.

Curtin would fail to extract an image if the image was a
local filesystem path or a file:// url.

Also here is a fix for ensure_dir which would be tripped if you
call write_file("foo.txt"). In that path, ensure_dir would be called
with the result of os.path.dirname("foo.txt") which is "" and
os.makedirs("") would fail.

LP: #1775630

4c6be7b... by Ryan Harper

Fix tip-pyflakes imported but unused call to util.get_platform_arch

Fix tox -e tip-pyflakes complaint about unused import to
util.get_platform_arch.

3e0c1c2... by Scott Moser

subp: update return value of subp with combine_capture=True.

combine_capture previously would return None in the stderr response.
This was inconsistent with capture=True, combine_capture=False.
It seems more consistent to always return the bytes or string as
documented. Test case and docstring are updated accordingly.

f98eb1b... by Scott Moser

tox: add a xenial environments, default envlist changes.

A previous commit used mock.assert_called, which is not
present in xenial versions of mock so build would fail on xenial.
Due to bugs that are present in the trusty versions of mock it would
pass there.

So we add a tox environment 'xenial-py3' and add that to the
default set of environments that are run with a 'tox' invocation.

Other changes to the envlist here:
a.) make it multiple lines for easier future diffing.
b.) run py3-flake8 first, it runs quickly and gives good feedback.
c.) drop trusty-check which was running trusty pyflakes. We do not
    run pyflakes in package build any more.
d.) replace trusty-py3 with xenial-py3. Just to save time in default 'tox'
    run we only run one "old" python3 unit tests.