Closed changlinli closed 9 months ago
Quick Summary: Even with no changes to a custom repos config, we still download repository data from scratch every time.
Any Zokka project.
This is because my time logic relies on comparing timestamps of two files which will basically never be equal. I should instead store the timestamp of the config file in the cached registries data file (as is done for d.dat in elm-stuff).
d.dat
elm-stuff
Quick Summary: Even with no changes to a custom repos config, we still download repository data from scratch every time.
SSCCE
Any Zokka project.
Additional Details
This is because my time logic relies on comparing timestamps of two files which will basically never be equal. I should instead store the timestamp of the config file in the cached registries data file (as is done for
d.dat
inelm-stuff
).