BAM-PFA / pymm

A set of scripts for audiovisual digital preservation tasks
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

something is goofed in final hashdeep audit #10

Closed mcampos-quinn closed 6 years ago

mcampos-quinn commented 6 years ago

The last hashdeep audit fails when a SIP has to be moved from the outdir to a different staging dir.

Probably a dumb mistake, have to figure it out. But not right this second.

Also, if I keep writing to the SIP log the audit will fail. So... Don't? Everything else is still getting logged to DB and to system log.

mcampos-quinn commented 6 years ago

i should make an OBJECT manifest for every fixity check up to the SIP being staged, then do a whole package manifest once it is staged that includes junk like metadata files....

edit: i already proposed this in the other open issue about this topic. so. i think this is what i will do. plus storing the contents of an Objects manifest in the FIXITY table seems to be what it was intended to do (the original mm call just reads from a manifest and inserts a record per line).

mcampos-quinn commented 6 years ago

Solved at 473e02c and 6326f62

Fixity table gets reports as hashes are created during ingestsip.