o2r-project / o2r-meta

Metadata toolsuite for an extract-map-validate workflow supporting reproducible research
Apache License 2.0
2 stars 3 forks source link

add version tag to filename for md files generated #80

Closed ghost closed 6 years ago

ghost commented 6 years ago

according to Spec seg. "Secondary metadata files":

Metadata documents SHOULD be named according to the used standard/model, format/encoding, and version, e.g. datacite40.xml or zenodo_sandbox10.json, and SHOULD use a suitable mime type.

will be updated in spec to reflect version tag contribution added at brokering

ghost commented 6 years ago

use Settings.outputfile per mapping to handle this, i.e. keep maps up to date

ghost commented 6 years ago

@nuest I would like to add this now. can your tools cope with filesnames like zenodo14.json when reading the metadata? Because the version number might produce constantly changing filenames.

nuest commented 6 years ago

Yes, no problem on my end.

Just let me know if I can trust the alphabetical ordering, or if I should parse the file name and use semantic versioning sort or similar. And if there is any seperator like _v.