From 0a098867251381e22a72ab9813815236b23bc772 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Wed, 12 Jun 2024 10:42:15 -0400 Subject: [PATCH] Bump RDF Toolkit version; update retrieval point Signed-off-by: Alex Nelson --- README.md | 2 +- pre_commit_hooks/normalize_rdf.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4500181..bcc160e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,6 @@ docker run --rm \ ``` ## Credits -The `rdf-toolkit.jar` tool is obtained from [https://github.com/trypuz/openfibo](https://github.com/trypuz/openfibo). +The `rdf-toolkit.jar` tool is obtained from [https://github.com/edmcouncil/rdf-toolkit/](https://github.com/edmcouncil/rdf-toolkit/). diff --git a/pre_commit_hooks/normalize_rdf.py b/pre_commit_hooks/normalize_rdf.py index b81f9a0..de35fca 100644 --- a/pre_commit_hooks/normalize_rdf.py +++ b/pre_commit_hooks/normalize_rdf.py @@ -27,13 +27,13 @@ def ensure_library() -> None: ] urllib.request.install_opener(opener) urllib.request.urlretrieve( - "https://files.caseontology.org/rdf-toolkit-1.11.0.jar", + "https://github.com/edmcouncil/rdf-toolkit/releases/download/v2.0/rdf-toolkit.jar", "rdf-toolkit.jar", ) # Validate the hash if not check_filehash( "rdf-toolkit.jar", - "cff74ca5835cb6c4935c613c901e064b7d166fdcc874e49da5104cf783036b99", + "d9998747e44c018245c8d769abb62e1b3d6b84405d2c456396e18f2e5088b8f1", ): raise Exception("Invalid hash value") except Exception as e: