mjordan / bagit_indexer

Proof-of-concept tool for extracting data from Bags and indexing it in Elasticsearch
The Unlicense
2 stars 0 forks source link

On new, moved and renamed, and modied bags. indexer script should compare the bag's checksum with one in index #9

Open mjordan opened 6 years ago

mjordan commented 6 years ago

The watcher script should use the bag's checksum to confirm that it is dealing with the same bag file in its on_moved() method.

mjordan commented 6 years ago

The checksum should be compared for new bags as well. Logic is:

For moved or renamed bags, the logic is:

For modified bags (bags that overwrite existing bags), the logic is: