-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Purpose support datacite 4.5 (most especially the new resourceTypeGeneral options) ## Changes - update static datacite xsd (used for xml metadata validation) to 4.5 - update all "4.4" datacite iris (starting with "https://schema.datacite.org/meta/kernel-4.4/") - use "/kernel-4/" for concepts (pin to datacite's major version, avoid another recatalog for this reason until datacite 5 (if ever)) - use "/kernel-4.5/" for specific XSD files (pin to datacite's minor version, get reliable validation) - add `--datacite-custom-types` arg to `recatalog_metadata` management command - add "Instrument" and "StudyRegistration" resource type options - update metadata tests accordingly ## Side Effects - changing the iri used to represent datacite types in metadata will cause minor inconsistencies in the search index - only ui-visible effect will be duplicate values in the "resource type" search filter facet on osf search - resolve with `manage.py recatalog_metadata --datacite-custom-types` (may take a short while in large environments) - note: the change to `/kernel-4/` iris instead of `/kernel-4.4/` (or `/kernel-4.5/`) means we won't have this problem with future minor versions (4.6, etc), just major versions (which may work entirely differently, anyway) ## Ticket [ENG-5136]
- Loading branch information
Showing
39 changed files
with
428 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.