artefactual/archivematica — pull request #148 by Hwesta (2014-12-18 19:14:44+00:00)
Title: CONTENTdm: metadata-only project client DIP upload

Changes to how CONTENTdm DIP upload works, specifically for project client in a metadata-only DIP 'upload'.

simple.txt and compound.txt are now generated soley from the METS file, instead of querying the CONTENTdm server for what fields are available for this collection. The column names are based on the XML element names of associated dmdSecs, which are generated from the incoming metadata.csv

Both simple.txt and compound.txt have the AIP UUID and file UUID added as columns. Bulk compound.txts (only directories) have Directory name as the first column, while the rest have Filename as the last column.

Converted restructureDIPForContentDMUPload to use lxml instead of xml.dom.minidom, as lxml is more powerful for searching. All the project client code uses lxml, but not all the direct upload code uses it, so direct upload doesn't work currently.

This relies on and currently includes changes in #147

refs #7239