At the moment the generate_filtered_files script creates a file called e.g. OneZoom_latest-all.json. I wonder if instead, it should create a file called OneZoom_2024-30-04_HH-MM-all.json and a symlink called OneZoom_latest-all.json. That way we don't overwrite the older filtered JSON file.
Alternatively if we find an outdated OneZoom_latest-all.json, we could move the older one to an _oldversion-YYYY-MM-DD version.
From @hyanwong in https://github.com/OneZoom/tree-build/issues/64#issuecomment-2198601296:
At the moment the
generate_filtered_files
script creates a file called e.g.OneZoom_latest-all.json
. I wonder if instead, it should create a file calledOneZoom_2024-30-04_HH-MM-all.json
and a symlink calledOneZoom_latest-all.json
. That way we don't overwrite the older filtered JSON file.Alternatively if we find an outdated
OneZoom_latest-all.json
, we could move the older one to an_oldversion-YYYY-MM-DD
version.