m15a / flake-awesome-neovim-plugins

Nix flake of Awesome Neovim plugins
BSD 3-Clause "New" or "Revised" License
47 stars 11 forks source link

Ignore cache in commit #107

Closed m15a closed 5 months ago

m15a commented 5 months ago

Cache is handy when developing the updater. However, they are basically not used in daily updating workflow except repository information. Moreover, data are redundant since they are contained in the final JSON output.

EDIT: Cache IS used even for latest commit info. Alas, I was clever, but still the data are redundant.

Ignoring cache means that the number of API requests doubles. But for now it has much leeway.

Besides, it would be more economical to compare current commit hash and the fetched latest using the final JSON output since it contains the hash.