collectionspace / cspace-config-untangler

Generate CollectionSpace data overviews from profile/tenant configs
MIT License
0 stars 4 forks source link

Add digest property to mappers.json #64

Closed mark-cooper closed 3 years ago

mark-cooper commented 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"
},
kspurgin commented 3 years ago

Somehow I did not get notified of these issues, so I didn't see this until now! I'll add this shortly...