-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propertly differential CSV Entry types (#511)
* skip if model_mapping is blank to avoid shoveling everything into @Works when there are multiple model_mappings * basic specs for #build_records * #build_records specs related to model field mappings * CSVs that don't have a model column assume all records are works
- Loading branch information
1 parent
6b1ba8c
commit 74f39fb
Showing
3 changed files
with
110 additions
and
23 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
source_identifier,model,title,parents | ||
art_c_1,Collection,Collection 1, | ||
art_c_2,Collection,Collection 2,art_c_1 | ||
art_w_1,Work,Work 1,art_c_2 | ||
art_w_2,Work,Work 2,art_w_1 | ||
art_fs_1,FileSet,File Set 1,art_w_1 | ||
art_fs_2,FileSet,File Set 2,art_w_2 |
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