jscancella / bagging

A clean and easy to use implementation of the BagIt specification
Other
2 stars 7 forks source link

Adapt parsing Bagit Profile due to specification. #20

Closed VolkerHartmann closed 4 years ago

VolkerHartmann commented 4 years ago

…/bagit-profiles/bagit-profiles)

Bag-Info: The parameters "required" is 'false' and "repeatable" is 'true' by default. Changed implementation accordingly. Inclusion of "Contact-Name," "Contact-Phone" and "Contact-Email," as defined in the BagIt spec, is not required but is encouraged. -> Add "Contact-Phone" -> "Contact-Name" and "Contact-Email" are now optional Make field "Tag-Manifests-Required" optional Make field "Tag-Files-Required" optional Add test for minimal profile Adapt other tests.

Please ensure you have completed the following before submitting:

If the build fails, please fix it because the pull request will not be merged until it builds without any errors.

jscancella commented 4 years ago

This was manually merged with https://github.com/jscancella/bagging/commit/bcf62f5634a29f5ef223e80bd14e8b1cb79557ab