diff --git a/README.rst b/README.rst index 2f30ded7f..c69ff02ea 100644 --- a/README.rst +++ b/README.rst @@ -25,6 +25,11 @@ The dependencies are available via pip:: # Add ~/.local/bin to your $PATH, e.g. by adding this to ~/.bashrc: PATH=$HOME/.local/bin:$PATH +Or, you can use tox:: + + tox -e develop + . .tox/develop/bin/activate + Build ~~~~~ diff --git a/docs/setup.py b/docs/setup.py new file mode 100644 index 000000000..22a93a461 --- /dev/null +++ b/docs/setup.py @@ -0,0 +1,4 @@ +import setuptools + + +setuptools.setup(setup_requires=["pbr"], pbr=True, include_package_data=True) diff --git a/scripts/compatibility_matrix.py b/scripts/compatibility_matrix.py index 423417ba1..df92340b2 100755 --- a/scripts/compatibility_matrix.py +++ b/scripts/compatibility_matrix.py @@ -95,23 +95,10 @@ def freebsd_pre_openzfs(): # There could be some lag between OpenZFS upstream and the FreeBSD, # or even Linux implementations. sources = {} - with urlopen('https://www.freebsd.org/releases/') as web: - versions = findall(r'/releases/([0-9.]+?)R', - web.read().decode('utf-8', 'ignore')) - with urlopen('https://svnweb.freebsd.org/base/release/') as web: - data = web.read().decode('utf-8', 'ignore') - actualversions = [] - for ver in set(versions): - found = list(sorted(findall( - r'/base/release/(' + ver.replace('.', '\\.') + r'[0-9.]*)', - data - ))) - if found: - actualversions.append(found[-1]) - for ver in actualversions: - sources[ver] = ('https://svnweb.freebsd.org/base/release/{}/cddl/' - 'contrib/opensolaris/cmd/zpool/zpool-features.7' - '?view=co'.format(ver)) + + sources['12'] = ('https://raw.githubusercontent.com/freebsd/freebsd-src/' + 'refs/heads/stable/12/cddl/contrib/opensolaris/' + 'cmd/zpool/zpool-features.7') return sources @@ -182,6 +169,7 @@ def nexenta(): openzfs_key = 'OpenZFS (Linux, FreeBSD 13+)' +illumos_key = 'Illumos' sources = { openzfs_key: openzfs(), 'FreeBSD pre OpenZFS': freebsd_pre_openzfs(), @@ -190,7 +178,7 @@ def nexenta(): 'Joyent': joyent(), 'NetBSD': netbsd(), 'Nexenta': nexenta(), - 'Illumos': { + illumos_key: { 'master': 'https://raw.githubusercontent.com/illumos/illumos-gate/' 'master/usr/src/man/man7/zpool-features.7', }, @@ -356,11 +344,12 @@ def nexenta(): html.write('