fair-research / bdbag

Big Data Bag Utilities
https://fair-research.org
Apache License 2.0
49 stars 23 forks source link

First cut at dependency refactor. #13

Closed mikedarcy closed 6 years ago

mikedarcy commented 6 years ago

Bagit dependency changed to utilize current release stream from https://github.com/LibraryOfCongress/bagit-python via PyPi. BDBag-specific changes are handled via subclassing and function overloading. There is some code duplication here, and certain parts will need to be kept synchronized with upstream. However, this seems like a more practical approach than trying to maintain a separate fork for a relatively small set of code tweaks.

Profile validation via bagit_profile has been completely internalized with a fork based on the latest code from https://github.com/ruebot/bagit-profiles-validator. This code is pretty static so maintenance should not be a huge issue.

stain commented 6 years ago

Works well here! All tests pass as well.