Feature #11002
XML cache task: add option to skip information objects
Status: | Verified | Start date: | 03/23/2017 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | Dan Gillean | % Done: | 0% | |
Category: | CLI tools | |||
Target version: | Release 2.4.0 | |||
Google Code Legacy ID: | Tested version: | |||
Sponsored: | Yes | Requires documentation: |
Description
Add an option to the XML caching CLI task to skip information objects (in case there's an interruption during a long run of the task).
Related issues
History
#2 Updated by Dan Gillean about 5 years ago
- Sponsored changed from No to Yes
- Requires documentation set to Yes
#3 Updated by Dan Gillean about 5 years ago
- Related to Feature #10797: Add EAD support in OAI responses and generate XML metadata asynchronously added
#4 Updated by Mike Cantelon about 5 years ago
- Status changed from In progress to Code Review
- Assignee changed from Mike Cantelon to Nick Wilkinson
PR for CR: https://github.com/artefactual/atom/pull/542
#5 Updated by Jesús García Crespo about 5 years ago
- Status changed from Code Review to Feedback
- Assignee changed from Nick Wilkinson to Mike Cantelon
LGTM
#6 Updated by Mike Cantelon about 5 years ago
- Status changed from Feedback to QA/Review
- Assignee changed from Mike Cantelon to Dan Gillean
Thanks Jesús!
#7 Updated by Dan Gillean about 5 years ago
- File cli-cache-xml-help.png added
As noted on #10797, basic task usage is as such, to generate EAD and DC XML for all existing descriptions:
php symfony cache:xml-representations
The resulting XML files will be placed in 2 directories in the Downloads folder - one for EAD and one for DC. the filenames use a hash, so they cannot be associated at a glance with their corresponding descriptions.
For extremely large descriptions, the task can sometimes exhaust the available memory. As it progresses, it will spit out the object ID for each description it has finished. If the task aborts, you can then use the --skip option to continue where the task has left off. See the attached help output from the task for more information.
#8 Updated by Dan Gillean almost 5 years ago
- Assignee deleted (
Dan Gillean)
#9 Updated by Sara Allain almost 5 years ago
- Assignee set to Dan Gillean
Should the description of --skip be " Numble of information objects to skip"? Or should that be " Number..."?
#10 Updated by Mike Cantelon almost 5 years ago
"Numble" would be a good word for someone nimble with numbers. I'll fix that.
#11 Updated by Mike Cantelon almost 5 years ago
(Committed a fix to that type to qa/2.4.x.)
#12 Updated by Sara Allain almost 5 years ago
- Status changed from QA/Review to Verified
Thanks Mike :D Looks good!
#13 Updated by Dan Gillean almost 5 years ago
- Requires documentation deleted (
Yes)
Documentation added to 2.4 branch in the following commit: