published context file versionning #17
Replies: 4 comments 1 reply
-
In our last Ontology call, we discussed our branching strategy. We agreed that we need to publish pre-release files to allow platforms to test/integrate. We thought the easiest way to do this would be to use the current strategy (github latest release) for pre-release files & publish the live release files somewhere else... this could be automated through a github action, but would allow platforms to test changes before they are releases. Could the proxy strategy you propose potentially support that strategy (we effectively need a github action to execute when we remove a pre-release tab to publish the files) ? |
Beta Was this translation helpful? Give feedback.
-
Just adding some notes from our tech call on 26/02/24:
Does that conform with everyone else's understanding @datafoodconsortium/tech_discussions ? |
Beta Was this translation helpful? Give feedback.
-
Finally, we use github page proxy to have usable json context file : http://docs.datafoodconsortium.org/ontology/context.json When a new version of ontology is ready, ontology team have to produce a new file in repo in context directory : context file in root have to be overwrite by last version. Is it ok for you @lecoqlibre and @RaggedStaff ? |
Beta Was this translation helpful? Give feedback.
-
I think you can go ahead @simonLouvet ! I'm closing this discussion for now. Let's reopen if it does not work :) |
Beta Was this translation helpful? Give feedback.
-
Github url provide 302 response to obtain the context. If the good accept is correct, github seems to provides good response.
curl -L -H "Accept: application/ld+json" https://github.com/datafoodconsortium/ontology/releases/download/v1.11.0/context.json
json-ld playground not support this url, and we don't know why. If json-ld playground not support url, softwares using json-ld libraries don't support either.
2 Solutions
Beta Was this translation helpful? Give feedback.
All reactions