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

New Packager class replacing Bagit libraries #380

Open
seesmith opened this issue Oct 23, 2017 · 0 comments
Open

New Packager class replacing Bagit libraries #380

seesmith opened this issue Oct 23, 2017 · 0 comments

Comments

@seesmith
Copy link
Contributor

JIRA link https://www.jira.is.ed.ac.uk/browse/RSS022-11

Fix issues with BagIt Library so:

maintain empty directories in deposit without creating dot (hidden) files

maintain symbolic links (rather than resolving & duplicating)

maintain exact file and directory names, do not change filenames

handle the fact that there aren't checksums for empty directories and symbolic links
Checksums should not be created where there is no file, ie directories

Manifest to include symbolic links
Manifest to include empty directories

Ianthe notes:

Packager interface so can choose which to use

methods in Deposit:

Packager.createBag(bagDir);

Packager.addMetadata(bagDir, depositMetadata, vaultMetadata, fileTypeMetadata, externalMetadata);

Packager.extractMetadata(bagDir, metaDir);
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

No branches or pull requests

1 participant