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

Make the digest algorithm configurable #146

Closed whikloj closed 3 years ago

whikloj commented 3 years ago

JIRA Ticket: https://jira.lyrasis.org/browse/FCREPO-3582

What does this Pull Request do?

Adds a new --algorithm option to choose between sha256 or sha512 inventory manifests.

How should this be tested?

Migration some sample data, get inventory.json with sha512 digests. Then run the same command with --algorithm sha256 and get sha256 digests.

Interested parties

Tag (@ mention) interested parties or, if unsure, @fcrepo-exts/committers