AtlasOfLivingAustralia / image-service

Image repository and tiling services
https://images.ala.org.au
0 stars 17 forks source link

Batch upload alternative #128

Closed sbearcsiro closed 3 years ago

sbearcsiro commented 3 years ago

@djtfmartin this is an alternative implementation of the duplicate image URL tracking - I was looking to prevent a chain of duplicates from being possible in the model (ie A.isDuplicateOf = B, B.isDuplicateOf = C). At the present this shouldn't happen from the code but the model does technically allow it.

The change from this method would be that the new image metadata (audience, creator, etc) would no longer be captured against the duplicate URL. I'm not sure how desirable that is, so happy for this to go either way.