Skip to content

uhlibraries-digital/little-white-oak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Little White Oak

A collection of Archivematica scripts to handle SIP ingests

Requirements

Archivematica 1.17

updatePmArkErcWhere.py

Updates a PM Ark erc.where in Greens to the AIP download location.

The following fields must be given in the metadata.csv file found in the SIP transfer package:

Field Value
dcterms.identifier PM Ark (ark:/1234/pm4899938)

postPmArkToArchivesSpace.py

Posts the PM Ark to a Digital Object that is attached to the archival object in ArchivesSpace.

The following fields must be given in the metadata.csv file found in the SIP transfer package:

Field Value
dcterms.identifier PM Ark (ark:/1234/pm4899938)
uhlib.aSpaceUri ArchivesSpace archival object uri

Installation

Copy updatePmArkErcWhere.py and postPmArkToArchivesSpace.py to /usr/lib/archivematica/MCPClient/clientScripts.

Patch /usr/lib/archivematica/MCPServer/assets/workflow.json with the following command:

patch -b /usr/lib/archivematica/MCPServer/assets/workflow.json workflow.patch

Add the following lines to /usr/lib/archivematica/MCPClient/archivematicaClientModules under [supportedCommands]:

postPmArkToArchivesSpace_v0.0 = postPmArkToArchivesSpace 
updatePmArkErcWhere_v0.0 = updatePmArkErcWhere

Add the following configuration options to your MCPClient config /etc/default/archivematica-mcp-client:

# Greens Ark Minter

MINTER_BASE_URL=<Greens Base url>
MINTER_UPDATE_URL=<Greens Ark api update url>
MINTER_API_KEY=<Greens API KEY>
MINTER_ARCHIVEMATICA_URL=<Archivematica base url>

# ArchivesSpace

ASPACE_API_ENDPOINT=<ArchivesSpace API Endpoint>
ASPACE_USERNAME=<ArchivesSpace username>
ASPACE_PASSWORD=<ArchivesSpace password>

Restart Archivematica to accept the changes

About

Collection of Archivematica scripts used during SIP ingest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages