mjordan / iipqa

Command-line tool for applying Quality Assurance checks against Islandora import packages in preparation for importing them into Islandora.
GNU General Public License v3.0
3 stars 0 forks source link

Provide option for validating single-file object input required by the Islandora REST Ingester #15

Closed mjordan closed 6 years ago

mjordan commented 6 years ago

The Islandora REST Ingester requires data for single-file objects to be organized differently than Islandora Batch; each object's files are in a subdirectory, and each file is named after a datastream, like this:

sampleinput/
 ├── foo
 │   ├── MODS.xml
 │   └── OBJ.png
 ├── bar
 │   ├── MODS.xml
 │   └── OBJ.jpg
 ├── empty
 └── baz
    ├── MODS.xml
    ├── TN.png
    └── OJB.jpg

iipqa should provide a validator for this data.

mjordan commented 6 years ago

Turns out we needed to add a --skip_structure option to allow compound packages to pass.

Closed with 2851acb8ddb9608c60cfb21631ac1af2ecd0b53c.