APTrust/dart

APTrust profile with BagIt-Version 1.0 generates mismatched manifest algorithms.

Closed this issue · 3 comments

I haven't tried this with the 2.0.1 version mentioned here but when playing with DART I noticed that if I use the APTrust BagIt profile and switch the BagIt-Version to 1.0 I get this bag.

[/Users/whikloj/.dart/bags] 
> ll An\ Example\ Bag
total 40
-rw-r--r--  1 whikloj  staff   77 26 Feb 14:58 aptrust-info.txt
-rw-r--r--  1 whikloj  staff  350 26 Feb 14:58 bag-info.txt
-rw-r--r--  1 whikloj  staff   54 26 Feb 14:58 bagit.txt
drwxr-xr-x  3 whikloj  staff   96 26 Feb 14:58 data
-rw-r--r--  1 whikloj  staff   46 26 Feb 14:58 manifest-md5.txt
-rw-r--r--  1 whikloj  staff  317 26 Feb 14:58 tagmanifest-sha256.txt

I think the inclusion of manifest-md5.txt as the default seems like an error, especially due to the inclusion of tagmanifest-sha256.txt.

I was trying to fix this as a lesson for myself in Node and DART, but it could take me a while. So thought I should bring it to your attention.

Thanks @whikloj. I actually know what's causing that. I'll work on a fix in the next few days.

This should be fixed in version 2.0.2. Download links are here.

Fixed in v2.0.2 and later.