Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
Adds affiliation to list of repeatable fields for standard ingest and…
Browse files Browse the repository at this point in the history
… metadata file upload. (#1874)

Standard ingest config and Dublin Core CSV metadata profile config have been
committed, since they should be standard.

Completes DDR-892.
  • Loading branch information
dchandekstark authored and Jim Coble committed May 19, 2017
1 parent f370a3e commit cd8d055
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 30 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/log/*
/tmp

# Ignore all config yaml files
# Ignore config yaml files by default
/config/*.yml
/config/metadata_file_profiles/*.yml
# Except for these ...
Expand All @@ -25,9 +25,6 @@
# Environment configs
/config/environments/*.rb

# Ignore certain translation files
/config/locales/admin_set.yml

# SimpleCov / Coveralls
/coverage

Expand Down
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ before_script:
- "cp config/log4r.yml.sample config/log4r.yml"
cache: bundler
script: "bundle exec rake dul_hydra:ci:build"
notifications:
email:
- [email protected]
# To exclude antivirus tests:
# env:
# - SPEC_OPTS="--tag ~antivirus"
Expand Down
29 changes: 29 additions & 0 deletions config/metadata_file_profiles/Dublin_Core_CSV.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
:csv:
:col_sep: ","
:quote_char: '"'
:header_converters:
:parse:
:local_identifier: identifier
:repeatable_fields:
- affiliation
- category
- company
- contributor
- creator
- date
- format
- hasPart
- identifier
- isFormatOf
- isPartOf
- language
- medium
- placement_company
- product
- publication
- series
- setting
- spatial
- subject
- tone
- type
37 changes: 37 additions & 0 deletions config/standard_ingest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
:scanner:
:exclude:
- .DS_Store
- Thumbs.db
- metadata.txt
:targets: dpc_targets
:intermediate_files: intermediate_files
:metadata:
:csv:
:encoding: UTF-8
:headers: true
:col_sep: "\t"
:parse:
:repeating_fields_separator: ;
:repeatable_fields:
- affiliation
- category
- company
- contributor
- creator
- date
- format
- hasPart
- identifier
- isFormatOf
- isPartOf
- language
- medium
- placement_company
- product
- publication
- series
- setting
- spatial
- subject
- tone
- type
23 changes: 0 additions & 23 deletions config/standard_ingest.yml.sample

This file was deleted.

0 comments on commit cd8d055

Please sign in to comment.