Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the independent SPARQL examples utils project #33

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

JervenBolleman
Copy link
Collaborator

Replace the mvn test approach with an utility released in a separate project.

README.md Outdated
@@ -50,26 +50,26 @@ This expects the Jena tools to be available in your $PATH. e.g. `export PATH="$J
Another option is to build the converter and use that.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should completely deprecate and remove the bash script? (./convertToOneTurtle.sh -p uniprot)

README.md Outdated
@@ -50,26 +50,26 @@ This expects the Jena tools to be available in your $PATH. e.g. `export PATH="$J
Another option is to build the converter and use that.

```bash
mvn package
java -jar target/sparql-examples-util-1.0.0-SNAPSHOT-uber.jar -i examples/ -p all -f jsonld
wget 'https://github.com/sib-swiss/sparql-examples-utils/releases/download/v1.0.0/sparql-examples-util-1.0.0-uber.jar'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The project name is sparql-examples-utils but the jar is named sparql-example-util without s

Also do we really need to put the version name + uber in the jar file name?

We could consistently release the jar file as sparql-examples-utils.jar, there should be a --version command to get the version. This way user can easily download the latest version in 1 command:

wget 'https://github.com/sib-swiss/sparql-examples-utils/releases/latest/download/sparql-examples-utils.jar'

We avoid duplication of the version in the download URL, reduce the changes needed to do when a new release is made, and users can still download a specific version if they want to

README.md Outdated
mvn package
java -jar target/sparql-examples-util-1.0.0-SNAPSHOT-uber.jar -i examples/ -p all -f jsonld
wget 'https://github.com/sib-swiss/sparql-examples-utils/releases/download/v1.0.0/sparql-examples-util-1.0.0-uber.jar'
java -jar sparql-examples-util-1.0.0-uber.jar -i examples/ -p all -f jsonld
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this make sense to automatically run the tests when a user generates any artifacts? And add an arguments to skip tests?

@JervenBolleman JervenBolleman merged commit df17f6b into master Aug 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants