-
Notifications
You must be signed in to change notification settings - Fork 1
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
Synchronization between ShowVoc projects and Git repository files #50
base: main
Are you sure you want to change the base?
Conversation
e443d9d
to
5ed33a4
Compare
84ac987
to
83f4306
Compare
4f052f5
to
bfdb24b
Compare
bfdb24b
to
833e573
Compare
I just committed the configuration to enable sync of all projects.
I also refactored and linted my code with shellcheck. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good @imbrou, thanks for your swift work on this!
I'm a little confused, as it looks like the config file is sourcing from the nextTaxononmies branch. I think we want ShowVOC to reflect the published content (which is on main). 😕
{ | ||
"project_name": "Facets", | ||
"base_uri": "https://github.com/datafoodconsortium/taxonomies/releases/latest/download/facets.rdf#", | ||
"source_url": "https://raw.githubusercontent.com/datafoodconsortium/taxonomies/refs/heads/nextTaxonomies/facets.rdf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this coming from nextTaxonomies
branch? I thought we'd agreed ShowVOC would sync with main
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well spotted: my bad! It was a mistake in the config. I have just pushed a fix.
I tested the sync locally between the (staging) TestSync
project and facets.rdf
from the main
branch and I think it works.
You can see the data in ShowVoc. You must login with admin privileges to see the TestSync
project.
833e573
to
7574e24
Compare
Context
The goal of this PR is to simplify the management of ontologies and taxonomies by automating synchronisation between ShowVoc and Git.
Description
This pull request introduces a GitHub workflow to synchronize ShowVoc projects with RDF files of this repository.
Key choices
main
..github/workflows/scripts/sync-config.json
.Tests performed
The configuration in this PR has been tested in this CI run. It synchronises a test ShowVoc project with the Facets taxonomy file from the
main
branch of this repo.Note: to open the ShowVoc link provided and see the
TestSync
project, you must be logged in with an admin account.TestSync
is a "staging" project, which does not appear neither to visitors, nor to non-admin users.Next steps