eprintsug / EPrintsArchivematica

Digital Preservation through EPrints-Archivematica Integration - An EPrints export plugin to Archivematica
6 stars 1 forks source link

Checksum Mismatch Reporting #23

Open photomedia opened 3 years ago

photomedia commented 3 years ago

Hi @jb4, thanks, this is coming along nicely! Tomasz and I just had a chat about what we'd want to happen when the mismatch is noted and here's what we're thinking:

By default:

If "force" flag is enabled:

"preservation_note": "Checksum mismatch in EPrints on filename [filename], detected on [date]. Original md5 value [(md5 value stored in database]) overwritten with new value calculated from file on disk ([new md5 value calculated from file on disk])"

Does that seem feasible to you?

Originally posted by @tw4l in https://github.com/eprintsug/EPrintsArchivematica/issues/14#issuecomment-579324191