You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -s https://api.github.com/rate_limit|grep -A 10 "rate" "rate": { "limit": 60, "remaining": 0, "reset": 1699906981, "used": 60, "resource": "core" }}
$ aqua g cli/cli- name: cli/cli version: '[SET PACKAGE VERSION]'
Workaround
No response
Example Code
$ aqua g cli/cliINFO[0000] GitHub API rate limit info aqua_version= env=linux/amd64 gh_rate_limit=60 gh_rate_remaining=0 program=aqua repo=cli/cliINFO[0000] Retrieve pkg version(s) in 433.238297ms aqua_version= env=linux/amd64 program=aqua repo=cli/cliWARN[0000] Version retrieving err aqua_version= env=linux/amd64 error="get the latest GitHub Release: GET https://api.github.com/repos/cli/cli/releases/latest: 403 API rate limit exceeded for xxx . (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 14m11s]" program=aqua repo=cli/cli- name: cli/cli version: '[SET PACKAGE VERSION]'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Feature Overview
Why is the feature needed?
After running
generate
orupdate
, there is no log print in terminal.Especially when GitHub API reaches the rate limit, command will return empty version with no extra info. This will make users confused.
How to reproduce the issue
aqua info
requiresaqua >= v2.10.0
.aqua.yaml
Command and output.
Workaround
No response
Example Code
Reference
Beta Was this translation helpful? Give feedback.
All reactions