BDBag release 1.5.3
Release Notes
Compatibility and feature micro release.
-
Added a monkeypatch for
hashlib.algorithms_guaranteed
prior to the
import of anybagit
code so thatbagit-1.7.0
(which assumes
algorithms_guaranteed
is present, but in reality only consistently
exists on Python 2.7.9 or greater) can still be used bybdbag
on
systems that only have Python 2.7.0 to 2.7.8 installed.
Lifted the strict pin on Python>=2.7.9. Note that this won't make
standalonebagit
installations work on these systems, but it will
allowbdbag
to successfully import and usebagit
as a library.
Additional notes
here. -
Added code to properly url encode whitespace and other illegal
characters in thefilename
field offetch.txt
, per thebagit
spec.
This will automatically be encoded whenbdbag
generates a bag from a
remote-file-manifest
, and will automatically decoded when attempting
to resolve files via fetch. Added a corresponding unit test. -
Added a new CLI validate option:
--completeness
. This is in parity
withbagit
CLI options and is useful primarily for determining which
files infetch.txt
have not yet been retrieved. Added a corresponding
unit test. -
Added code in the CLIs to print stack traces in when
--debug
is
specified.