mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 13:06:40 +00:00
fix(badge/downloads): fix issues with total download counts
Excluded patterns had a bug where they basically did not work. This means total downloads were inflated by also counting downloads for all sha256 files. Also the first 1000 limit when listing repository releases seems to no loner be a thing, so we can iterate over all pages. And finally, implement a caching mechanism so we can keep counting releases in case they are removed, or the first 1000 releases limit is enabled again in GitHub's API.
This commit is contained in: