Closed KellyStathis closed 1 year ago
I think the /specs for 4.5 are missing. This is basically testing the XSD against examples. Check the specs folder, that is missing. Test are important and show we are being through in the revision and assure backwards compatibility. But one needs the examples to run the specs.
Thanks for this @kjgarza. I can provide the examples shortly, but I'm not sure how to update the .rb tests themselves. I think this might need to fall under the 4.5 implementation.
As a note, we will also be changing the examples and reducing the number of full examples that are maintained by the MWG (see: https://github.com/datacite/metadata-wg/discussions/15)
I think if you duplicate the whole folder and change the references to 4.5 you would at least cover backwards compatibility and the new elements and properties will be the only that will need extra work
@kjgarza Most of the example files are changing and some are being removed, so I think it will need a little more work to update than just changing references—unless we want to point back to some of the 4.4 examples for testing against the 4.5 schema?
I added to the "open questions and pre-merge todos" the question about bug fixes. I think of these, https://github.com/datacite/datacite/issues/1709 is the most feasible because RelatedItem (and this bug) was only introduced in 4.4. The other two have existed for longer and we need to ensure changes are backwards compatible.
Purpose
Update to schema version 4.5.
Approach
Directory structure
Changes
Open Questions and Pre-Merge TODOs
[ ] Update release date in:
[ ] Change DOIs for schema documentation and schema to Findable state (currently in Draft)
[ ] Copy contents of kernel-4 directory to new kernel-4.5 directory.
[ ] Examples
<identifier>
field for these examples (prefix, registering test DOI, etc)[ ] Determine if we can fix any of the following issues as part of this release (these are not yet included in the PR)
Learning
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Reviewer, please remember our guidelines: