Closed mark-cooper closed 3 years ago
This will be better for knowing when a mapper has actually changed so we can redownload it:
Digest::SHA256.hexdigest(mapper_config) # where mapper_config is the json string of a mapper
{ "profile": "anthro", "version": "4-1-2", "type": "concept-material", "digest": "254ee2c9eaeb56ae1a2ecd228bd209619d6891386b44781c66ec72a65a5e8716", "enabled": true, "url": "https://raw.githubusercontent.com/collectionspace/cspace-config-untangler/main/data/mappers/release_6_1/anthro/anthro_4-1-2_concept-material.json" },
Somehow I did not get notified of these issues, so I didn't see this until now! I'll add this shortly...
This will be better for knowing when a mapper has actually changed so we can redownload it: