Feature #11002

XML cache task: add option to skip information objects

Added by Mike Cantelon over 3 years ago. Updated almost 3 years ago.

Status:VerifiedStart date:03/23/2017
Priority:MediumDue 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).

cli-cache-xml-help.png - CLI task help output (11.8 KB) Dan Gillean, 04/19/2017 04:19 PM


Related issues

Related to Access to Memory (AtoM) - Feature #10797: Add EAD support in OAI responses and generate XML metadat... Verified 01/23/2017

History

#2 Updated by Dan Gillean over 3 years ago

  • Sponsored changed from No to Yes
  • Requires documentation set to Yes

#3 Updated by Dan Gillean over 3 years ago

  • Related to Feature #10797: Add EAD support in OAI responses and generate XML metadata asynchronously added

#4 Updated by Mike Cantelon over 3 years ago

  • Status changed from In progress to Code Review
  • Assignee changed from Mike Cantelon to Nick Wilkinson

#5 Updated by Jesús García Crespo over 3 years ago

  • Status changed from Code Review to Feedback
  • Assignee changed from Nick Wilkinson to Mike Cantelon

LGTM

#6 Updated by Mike Cantelon over 3 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 3 years ago

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 about 3 years ago

  • Assignee deleted (Dan Gillean)

#9 Updated by Sara Allain almost 3 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 3 years ago

"Numble" would be a good word for someone nimble with numbers. I'll fix that.

#11 Updated by Mike Cantelon almost 3 years ago

(Committed a fix to that type to qa/2.4.x.)

#12 Updated by Sara Allain almost 3 years ago

  • Status changed from QA/Review to Verified

Thanks Mike :D Looks good!

#13 Updated by Dan Gillean almost 3 years ago

  • Requires documentation deleted (Yes)

Documentation added to 2.4 branch in the following commit:

Also available in: Atom PDF