You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This 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.
The text was updated successfully, but these errors were encountered:
NickolausDS
changed the title
Creating bag from remote file manifests raises an exception
Creating a bag from remote file manifests raises an exception
Dec 12, 2017
NickolausDS
changed the title
Creating a bag from remote file manifests raises an exception
Creating a bag from a remote file manifest raises an exception
Dec 12, 2017
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.
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.
The text was updated successfully, but these errors were encountered: