Closed PrasadBabarendaGamage closed 1 year ago
Manifests can exist anywhere in the folder hierarchy and can refer to relative paths so you need to find all files in the hierarchy that match manifest*.*
.
If I were writing this functionality from scratch, I would use a single manifest at the very top level of the folder structure (next to the dataset_description file) so that you don't have to deal with the manifest file itself moving, only the files inside the hierarchy moving. Franky, taking a checksum of the files and tracking how that moves as a primary key is likely to be more robust because it can recover from cases where the file system watcher was offline.
Thanks very much @tgbugs! Sounds very sensible - we will have a go at implementing as you suggest
@savindi-wijenayaka Here is some information on manifest files:
Hi @tgbugs, for SDS version 2.0.0, should we make sure there is a manifest.xlsx in each folder or search for an existing manifest.xlsx in parent folders?