Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work on #391. #399

Merged
merged 1 commit into from
Jun 8, 2017
Merged

Work on #391. #399

merged 1 commit into from
Jun 8, 2017

Conversation

mjordan
Copy link
Collaborator

@mjordan mjordan commented Jun 6, 2017

Github issue: (#391)

What does this Pull Request do?

Adds a shutdown hook script to generate structure.xml files for compound objects.

What's new?

This PR adapts https://github.com/MarcusBarnes/islandora_compound_batch/blob/master/extras/scripts/create_structure_files.php for use as a shutdown hook script.

This does not depend on #396.

How should this be tested?

  1. check out the issue-391 branch.
  2. unzip the attached file, move the .ini, mappings, and metadata files out of the resulting directory, and adjust paths in the .ini file to suit your local environment.
  3. in the mik directory, run ./mik -c issue-391.ini.
  4. running tree on your output directory should reveal a structure.xml file in each of the compound object directories.

Additional Notes

We should update https://github.com/MarcusBarnes/mik/wiki/Shutdown-hooks to document this new script.

Interested parties

@MarcusBarnes

@mjordan
Copy link
Collaborator Author

mjordan commented Jun 8, 2017

Looks like I neglected to attach the test data for this PR too, sorry. Here it is.

issue-391.zip

@MarcusBarnes
Copy link
Owner

Appears to work as described. Thank you @mjordan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants