Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] Add an option to disable version check #654

Open
madmatah opened this issue Apr 7, 2021 · 0 comments
Open

[CLI] Add an option to disable version check #654

madmatah opened this issue Apr 7, 2021 · 0 comments
Labels

Comments

@madmatah
Copy link
Contributor

madmatah commented Apr 7, 2021

Feature Request

Arnold CLI is executing a HTTP request to github each time it's executed, to retrieve the latest Arnold release.

This is not always a desired behavior because :

  • It can slow down bulk scripts that are using Arnold CLI
  • It can trigger Github's rate limiter

In this latter case, arnold CLI fails with the following error :
jq: error (at <stdin>:1): Cannot index object with number

because Github is returning the following response :

{"message":"API rate limit exceeded for X.X.X.X. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

Describe the solution you'd like

An option to disable version checking in arnold CLI would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant