bagit-java icon indicating copy to clipboard operation
bagit-java copied to clipboard

Bagit update does not update playloadmanifest

Open DaleLore opened this issue 7 years ago • 1 comments

Currently on a mac mini (Late 2014), macOS High Sierra version 10.13.6. I did the latest brew install bagit (which should be BagIt Library Version v4.12.3)

I tried to update a bag's manifest and tag-manifest to a sha512 and only the tagmanifest was updated. Only "Date modified" changed to reflect the current date, but the manifest itself still had the default md5 and did not change.

bagit update --tagmanifestalgorithm sha512 --payloadmanifestalgorithm sha512

I then tried to create a new bag and that seemed to work just fine: bagit baginplace --tagmanifestalgorithm sha512 --payloadmanifestalgorithm sha512

There seems to be a bug or I'm inputting the data in incorrectly. Thanks to whichever kind soul helps me!

DaleLore avatar Nov 05 '18 20:11 DaleLore

the java bagit command line utility has many known issues and is no longer supported. I would recommend upvoting on https://github.com/LibraryOfCongress/bagit-python/issues/61 and using the python command line version which is supported.

jscancella avatar Nov 07 '18 14:11 jscancella