The previous setup generated Gemini 2 XML on the metadata server and inserted a link to that API call into the Zenodo description. That means that the Zenodo publication step requires a metadata server to be active to generate the Zenodo description.
I'm regretting that, because it is cleaner if sdv can be used with the hierarchy: validate, publish, discovery. Users should only have to spin up a metadata server if they want the discovery and safedata in R and having validate and publish as stand alone things is really useful.
So - we'd like backwards compatibility with those links (and the metadata server can generate Gemini XML easily enough) but I think what we really want is for sdv 3.0.0 to recommend adding the Gemini XML as part of the Zenodo record. However we do want the Zenodo description to point to the metadata server if one is available.
[ ] We can now simply generate the XML and add it to the deposit before publishing.
[ ] We need backwards compatibility to link to the metadata server, but it would be good to keep open the option of publishing datasets without having to use the metadata server.
How does the XML distribution work in version 3+?
The previous setup generated Gemini 2 XML on the metadata server and inserted a link to that API call into the Zenodo description. That means that the Zenodo publication step requires a metadata server to be active to generate the Zenodo description.
I'm regretting that, because it is cleaner if
sdv
can be used with the hierarchy: validate, publish, discovery. Users should only have to spin up a metadata server if they want the discovery and safedata in R and having validate and publish as stand alone things is really useful.So - we'd like backwards compatibility with those links (and the metadata server can generate Gemini XML easily enough) but I think what we really want is for sdv 3.0.0 to recommend adding the Gemini XML as part of the Zenodo record. However we do want the Zenodo description to point to the metadata server if one is available.
See also comments: https://github.com/ImperialCollegeLondon/safedata_validator/pull/111#discussion_r1485700989