diff --git a/scripts/compatibility_matrix.py b/scripts/compatibility_matrix.py index 6b9e754..c9f411c 100755 --- a/scripts/compatibility_matrix.py +++ b/scripts/compatibility_matrix.py @@ -53,7 +53,7 @@ def openzfsonosx(): try: tags = dejson(web.read().decode('utf-8', 'ignore')) tags = [x['name'].lstrip('zfs-macOS-') for x in tags] - tags = [tag for tag in tags if '.99' not in tag] + tags = [tag for tag in tags if '.99' not in tag] tags.sort() latest = tags[-1] tags = [tag for tag in tags if 'rc' not in tag] @@ -321,13 +321,24 @@ for (feature, domain), names in sorted(features.items()): html.write('no') for name, vers in header: for ver in vers: - if (name, ver) in names: + # custom case for OpenZFS FreeBSD https://github.com/openzfs/zfs/pull/12735 + if (feature == 'edonr' and name == openzfs_key and '.' in ver + and (int(ver.split('.')[0]) <= 2 + or (int(ver.split('.')[0]) <= 1 + and int(ver.split('.')[1]) <= 1))): + html.write('yes1') + elif (name, ver) in names: html.write('yes') else: html.write('no') html.write('\n') html.write('\n') - +html.write('
\n') +html.write('

Notes:

\n') +html.write('
    \n') +html.write('
  1. Edonr support was not enabled in FreeBSD with OpenZFS up to 2.1 release included
  2. \n') +html.write('
\n') +html.write('
\n') now = datetime.now().isoformat() + 'Z' html.write('

Table generates by parsing manpages for feature flags, and is entirely dependent on good, accurate documentation.
Last updated on ' + now + ' using
compatibility_matrix.py.

\n')