Skip to content

Helper scripts for managing the CMA Archival Repository

License

Notifications You must be signed in to change notification settings

narogers/cma-archives-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cma-archives-utils

Helper scripts for managing the CMA Archival Repository

Batch ingest

Batch ingest scripts generate a manifest file for each matching folder that is found under a root path. Generic batches will include anything that is not a dot file. This behaviour can and should be overriden for specific types of collections as needed. See the lib/ directory for alternate implementations.

To fully customize a batch these methods should be replaced in a subclass

  • extract_title
  • include?
  • is_parseable?
  • generate_metadata
  • parent_collection

Default and extracted metadata fields should be appended to @properties. Any attributes defined here will be set as defaults. An example batch file is provided for reference.

About

Helper scripts for managing the CMA Archival Repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages