diff options
| author | J08nY | 2024-08-15 18:25:01 +0200 |
|---|---|---|
| committer | J08nY | 2024-08-15 18:25:01 +0200 |
| commit | ba11d870fbef49ac9fc1b738a95c5e86764fd8cc (patch) | |
| tree | 5872b0c46c3d4dd5b15d09f99c0089b08d208dfa /fetchReleases.py | |
| parent | 55c75863518f07ecee19a6d5fd429a43a8a6a8bf (diff) | |
| download | ECTester-ba11d870fbef49ac9fc1b738a95c5e86764fd8cc.tar.gz ECTester-ba11d870fbef49ac9fc1b738a95c5e86764fd8cc.tar.zst ECTester-ba11d870fbef49ac9fc1b738a95c5e86764fd8cc.zip | |
Diffstat (limited to 'fetchReleases.py')
| -rw-r--r-- | fetchReleases.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fetchReleases.py b/fetchReleases.py index 4fe4e53..eb8afd6 100644 --- a/fetchReleases.py +++ b/fetchReleases.py @@ -129,10 +129,7 @@ def fetch_openssl(): tags = [release["tag_name"] for release in resp_releases.json() if not release["draft"] and not release["prerelease"]] tags += [tag_ref["ref"].split("/")[-1] for tag_ref in resp_tags.json() if tag_ref["ref"].startswith("refs/tags/openssl-") or tag_ref["ref"].startswith("refs/tags/OpenSSL_")] - tags = list(filter(lambda tag: "FIPS" not in tag and "reformat" not in tag and "alpha" not in tag and "beta" not in tag and "pre" not in tag, tags)) - for tag in tags: - print(tag) - + tags = list(filter(lambda tag: "FIPS" not in tag and "reformat" not in tag and "alpha" not in tag and "beta" not in tag and "pre" not in tag, tags)) single_version_template = env.from_string("""{{ flat_version }} = buildECTesterStandalone { {{ pkg }} = { version="{{ version }}"; hash="{{ digest }}"; }; @@ -140,7 +137,6 @@ def fetch_openssl(): renders = [] versions = {} for tag in tags: - print(tag) if tag.startswith("OpenSSL_"): match = re.match(r"OpenSSL_(?P<major>\d+)_(?P<minor>\d+)_(?P<patch>\d+)(?P<ext>.*)", tag) sort_version = f"{match['major']}.{match['minor']}.{match['patch']}{'+' + match['ext'] if match['ext'] else ''}" @@ -330,6 +326,9 @@ def fetch_nettle(): for tag in resp.json(): if tag['name'] == 'release_nettle_0.2.20010617': continue + if tag['name'] == 'nettle_3.5_release_20190626': + # broken upstream! https://git.lysator.liu.se/nettle/nettle/-/commit/ee5d62898cf070f08beedc410a8d7c418588bd95 + continue version = tag['name'].split('_')[1] # NOTE skip release candidates if re.search(r'\drc\d', version): |
