artefactual/archivematica — pull request #109 by Hwesta (2014-09-06 02:20:01+00:00)
Title: Add metadata files in ingest

Added the ability to upload metadata files from a transfer source directory to a SIP in ingest.

From the metadata page in Ingest, added a link to "Add metadata files". Here, you can browse transfer source directories to select files to upload to the SIP's objects/metadata directory. The preferred place to do this is the add metadata wait point, which was moved to before metadata & submission docs are processed. Converting a metadata.json to a metadata.csv was also added to process metadata files.

Cleaned up the code that parses metadata.csv into file level DC.

metadata.csv files can be added in Transfer and in Ingest. If information conflicts, the Ingest metadata will completely overwrite anything found in transfer. There is also a known bug that if the columns (or column order) differ between the transfer and ingest metadata.csvs, data may end up in the wrong DC tag.

Related to AIP Reingest