Closed avivace closed 5 months ago
It looks like it passes all the tests (python setup.py test doesn't return any error) and it also succeds to validate the bag I added in https://github.com/LibraryOfCongress/bagit-conformance-suite/pull/14 with this kind of entries in the fetch.txt:
python setup.py test
file:///home/avivace/cern/example_bags/source/sachiel.png 42000 sachiel.png
It should effectively fix https://github.com/LibraryOfCongress/bagit-python/issues/153.
The fetch.txt validation now passes when:
if not (all((parsed_url.scheme, parsed_url.netloc)) or parsed_url.scheme == "file"):
It looks like it passes all the tests (
python setup.py test
doesn't return any error) and it also succeds to validate the bag I added in https://github.com/LibraryOfCongress/bagit-conformance-suite/pull/14 with this kind of entries in the fetch.txt:It should effectively fix https://github.com/LibraryOfCongress/bagit-python/issues/153.
The fetch.txt validation now passes when: