From acdfc40360d9bb89eddf248d8e229063cb84cc21 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Sun, 27 Dec 2020 16:29:17 -0600 Subject: [PATCH] compatibility maxtrix: Remove broken code The code for looking up Joyent versions does not work. If someone cares about this, they can fix this in whatever way makes sense. Signed-off-by: Richard Laager --- scripts/compatibility_matrix.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/compatibility_matrix.py b/scripts/compatibility_matrix.py index 0d3a804..f8cd873 100755 --- a/scripts/compatibility_matrix.py +++ b/scripts/compatibility_matrix.py @@ -103,15 +103,6 @@ def omniosce(): def joyent(): sources = {'master': 'https://raw.githubusercontent.com/joyent/' 'illumos-joyent/master/usr/src/man/man5/zpool-features.5'} - with urlopen('https://github.com/joyent/illumos-joyent') as web: - versions = findall(r'data-name="release-([0-9]+)"', - web.read().decode('utf-8', 'ignore')) - versions.sort() - versions = versions[-2:] - for ver in versions: - sources[ver] = ('https://raw.githubusercontent.com/joyent/illumos-' - 'joyent/release-{}/usr/src/man/man5/' - 'zpool-features.5'.format(ver)) return sources