Closed chuxubank closed 6 days ago
Thanks for reporting this. The underlying problem was that the chezmoi list
command was configured to not write any changes to disk, including not recording that it had recently made a call to the GitHub API. #4034 should fix it.
Describe the bug
I add
to my
~/.local/share/chezmoi/.chezmoi.toml.tmpl
apply it with
chezmoi init
but when I run
chezmoi list
twice, it still callapi.github.com
each time, which make the command much slow.Proxifier log:
To reproduce
Use
in
~/.local/share/chezmoi/.chezmoiexternal.toml.tmpl
I previously use
"{{ (first (gitHubLatestRelease "rime/librime").Assets).BrowserDownloadURL }}"
but no luck.run
chezmoi list
or may other cmds twice within the time specified bygitHub.refreshPeriod
.Expected behavior
No api call to
api.github.com
when the second time run the chezmoi command within thegitHub.refreshPeriod
, otherwise it is easy to achieve github api rate limit.Output of command with the
--verbose
flagWhen no network
Output of
chezmoi doctor
Additional context
My config repo: https://github.com/chuxubank/dotfiles