fcrepo-exts / migration-utils

An in-development framework for managing data migrations from previous versions to 4.x.
Apache License 2.0
13 stars 29 forks source link

Validate fedora 3 checksums for datastream content #154

Closed bcail closed 3 years ago

bcail commented 3 years ago

Validate fedora 3 checksums for datastream content


JIRA Ticket: (https://jira.lyrasis.org/browse/FCREPO-3642)

https://wiki.lyrasis.org/display/FF/2021-02-18-+Fedora+Tech+Meeting

What does this Pull Request do?

Fedora 3 often has checksums for its datastream content. When migrating content over to OCFL, we should verify that the datastream content matches its checksums. This PR adds the feature, and also adds an option to disable checksum validation if desired.

How should this be tested?

There are a couple automated tests, but to test manually: take a fedora3 object, manually change the checksum to be invalid, then run the migration, and it should fail.

Additional Notes:

Documentation will need to be updated.

Interested parties

@fcrepo/committers