Closed NickolausDS closed 6 years ago
Unfortunately, this is an issue with bagit-1.6.x
and some new error checking logic which basically is prohibiting the bagging of an empty directory. I can reproduce this with just bagit ./bag/
on an empty directory. This worked in bagit-1.5.4
and I think needs to continue to work. There is a pretty easy one line fix for this in bagit.py
so I will file a PR with bagit and see what they have to say.
Filed a PR for bagit
: https://github.com/LibraryOfCongress/bagit-python/pull/100
When creating a bag with the following command:
An error is raised:
Details about the above command:
bag/
in the command above is an empty directorymanifest.json
corresponds to the example in the docsThis didn't seem to happen on previous versions. Before, it allowed me to create an 'empty' bdbag with a fetch file that could be used to pull down the remote files and validate them.