bulk EAD export - add parameter to limit export to top-level descriptions
|Assignee:||Dan Gillean||% Done:|
|Target version:||Release 2.1.0|
|Google Code Legacy ID:||Tested version:||2.0.1, 2.1|
In the command line bulk export, it would be useful to be able to suppress the lower level descriptions, i.e. don't export <dsc> portion of the finding aid.
My own use case is to support transformation to MARC, but I suspect there are other union databases that focus on collection-level descriptions.
#2 Updated by Dan Gillean about 8 years ago
- Category set to EAD
- Assignee set to Jesús García Crespo
- Target version set to Release 2.1.0
Tentatively assigning to 2.1 (as a new feature, it will go in a major release), and to Jesus for triage. Agreed that this would likely be useful functionality for portals!
#5 Updated by Dan Gillean almost 8 years ago
- Target version changed from Release 2.2.0 to Release 2.1.0
Pull request at: https://github.com/artefactual/atom/pull/36
To be reviewed internally, and then merged into 2.1. This will get this feature out there sooner and get a broader set of community feedback on it while still in the development period of the sponsoring client contract (so we can always tweak it further if needed).
#7 Updated by Dan Gillean almost 8 years ago
- Status changed from QA/Review to Verified
- Tested version 2.0.1, 2.1 added
Tested in QA/2.1.x - it works!
Will be adding further documentation about bulk export options soon, when we version the docs for 2.1. This will be included. For now, here are basic notes for any public user looking at this ticket.
To view available options on this CLI task:
php symfony help bulk:export
To invoke the option described in this issue (in this example, we will use the title to specify we want to export "Example Fonds1" and "Example Fonds2" to a folder we have already created, "myEADfolder"):
php symfony bulk:export --current-level-only --criteria="i18n.title in ('Example Fonds1', 'Example Fonds2') /path/to/myEADFolder