This repository was archived by the owner on Dec 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Table Schemas
Mark Allen Matney, Jr edited this page Sep 13, 2017
·
9 revisions
In order to use the multi sub-command, add a row for each collection to the template source_collections.csv. For a description of what should go in each field, see the "positional arguments" and "optional arguments" sections of the following command's output:
python3 source.py multi --helpAlso, note the following:
-
resource-dir,metadata-dir, andno-set-paramare optional (you may leave these fields blank in order to use the defaults) - anything can go in the
no-set-paramfield (a blank field is interpreted asfalse, and a non-blank field astrue)
In order to use the destination-side wrapper script, a local TinyDB instance should be created, with rows following this schema:
| field name | type | description |
|---|---|---|
collection_key |
string | unique identifier for the set of resources (collection) |
institution_key |
string | unique identifier for the institution |
resourcelist_uri |
string | URL of the collection's ResourceList (or ResourceListIndex) |
changelist_uri |
string | URL of the collection's Changelist (or ChangeListIndex) |
url_map_from |
string | portion of each resource's URL that should be mapped to a local filesystem path |
file_path_map_to |
string | local filesystem path where each resource will be put upon synchronization |
new |
boolean | whether or not a baseline synchronization has been performed on the collection |