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

Draft: Introduce a build process based on maven #975

Closed
wants to merge 7 commits into from

Conversation

fkleedorfer
Copy link
Collaborator

@fkleedorfer fkleedorfer commented Sep 24, 2024

This is a - for now prototypical - implementation of a build process based on maven.

Structure

  • pom.xml: defines the build process
  • src/main/rdf - rdf sources
  • src/main/resources - other stuff
  • target - the folder generated during the build process

Operations

  • check format of all ttl files under src/main/rdf
    • (fix formatting by calling spotless plugin explicitly)
  • calculate applicableUnits
  • check the SHACL rules on the union of all vocab files, the inferred data and the schema.

Addresses #959

@jhodgesatmb
Copy link
Collaborator

jhodgesatmb commented Sep 24, 2024 via email

@fkleedorfer
Copy link
Collaborator Author

what's R2?

@jhodgesatmb
Copy link
Collaborator

jhodgesatmb commented Sep 24, 2024 via email

@steveraysteveray steveraysteveray marked this pull request as draft September 24, 2024 14:54
@fkleedorfer fkleedorfer mentioned this pull request Sep 24, 2024
8 tasks
@fkleedorfer
Copy link
Collaborator Author

Should the build process maybe be in R2?

I don't think so. Having the build in the public repo allows every contributor to build the whole thing and execute all the checks if they want. Moreover if the build is in this repo, we can trigger it upon PR in a github action and the checks are executed automatically. Less work for everyone. Plus, contributors can improve the build process, too

@jhodgesatmb
Copy link
Collaborator

jhodgesatmb commented Sep 24, 2024 via email

- spotless for RDF formatting
- Use released shacl-maven-plugin
   - infer applicableUnits using SHACL-AF rules
   - enforce SHACL shapes
@jhodgesatmb
Copy link
Collaborator

jhodgesatmb commented Oct 28, 2024 via email

@jhodgesatmb
Copy link
Collaborator

jhodgesatmb commented Oct 28, 2024 via email

@fkleedorfer
Copy link
Collaborator Author

Closing in favor of the same PR off a branch in the qudt-public-repo repository instead of a fork

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