Releases: collectionspace/cspace-config-untangler
Community profile mappers are all valid
Fixes invalidity problems with invalid mappers in community profiles.
See #60 for details
Fix required fields for special record type mappers
Adds y in template
value to required
key of a FieldMapper
so that it will be required in a CSV template, but not in the actual mapping process.
See #59 for details
Mapper manifest generation on new default branch main
The manifest URLs needed to be changed from referencing master to main
Relationship record types and mapper manifest generation
- Create mappers and CSV templates for objecthierarchy, authorityhierarchy, and nonhierarchicalrelationship
- Reorganize the
exe/ccu
command line - Implement creation of a JSON mapper manifest as required by
cspace-batch-import
. This required implementation of new profile/config naming conventions (documented in README) for consistency - Refresh all current community mappers and templates
Separate RecordMapper per authority subtype
To simplify use of RecordMappers with collectionspace-mapper
and cspace-batch-import
, the write_mappers
command now outputs a separate RecordMapper JSON file per authority subtype.
CSV templates include indication of repeating field group for each column
This will assist users in ensuring field group data has equal numbers of values in each field
Support for batch import using CS refnames as input
There is now an option to output CSV templates for refname input. These include one column per field (with "Refname" appended to the end of the field name), into which refnames from any valid source authority or vocabulary can be entered.
The RecordMappers also include mappings for these columns.
Enforce Ruby version, handle HTTP REST calls
- adds
.ruby-version
file specifying 2.7.0 - if making a cspace-services call returns
OpenSSL::SSL::SSLError
, try the request with http rather than https
Handle explicitly set STRING data types
Addresses #49
Validate mapper source types
Validation of RecordMapper reports invalidity and an error if a field's source was not identified as an option list, vocabulary, or authority.