Skip to content

Overview

jsferris edited this page Mar 20, 2024 · 2 revisions

Welcome to the i8-workflows wiki! This is intended as a walkthrough of the steps to batch ingest materials onto ProvLibDigital.

Preparation

Metadata

i8 metadata template

Files

CSV file

Download from Google Sheets.

Rename to [collection-number].csv

YML file

Media files

Ingest

Full details here

Workbench

Run check

./workbench --config create_[p/s]-[user].yml --check

Example

./workbench --config create_s-jsf.yml --check

Output

Example of valid output:

OK, connection to Drupal at https://staging.provlibdigital.org verified.

OK, configuration file has all required values (did not check for optional values).

OK, CSV file /mnt/ingest/002-01-01.csv found.

OK, all 16 rows in the CSV file have the same number of columns as there are headers (27).

OK, URL aliases do not already exist.

OK, CSV column headers match Drupal field names.

OK, required Drupal fields are present in the CSV file.

OK, geolocation field values in the CSV file validate.

OK, EDTF field values in the CSV file validate.

OK, term IDs/names in CSV file exist in their respective taxonomies (new terms will be created as noted in the Workbench log).

OK, term IDs/names used in typed relation fields in the CSV file exist in their respective taxonomies (new terms will be created as noted in the Workbench log).

OK, files named in the CSV "file" column are all present.

Configuration and input data appear to be valid.

Once you get this valid output, re-run the command without the --check