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

[Feature Request] Allow Disabling of Version Check #1464

Closed
tylergets opened this issue May 24, 2024 · 2 comments
Closed

[Feature Request] Allow Disabling of Version Check #1464

tylergets opened this issue May 24, 2024 · 2 comments

Comments

@tylergets
Copy link

Is your feature request related to a problem? Please describe.
The CLI currently uses 'get-latest-version' package to check for updates. In internet limited enviroments this causes zenstack generate to fail. It also adds unnecessary telemetary.

Describe the solution you'd like
Allow disabling of the update check.

Describe alternatives you've considered
If the update check fails, it could not cause the process to exit with non zero code.

Additional context
This is particulary import for building Zenstack projects using Nix. Partially related is #1046

Thank you!

@ymc9
Copy link
Member

ymc9 commented May 28, 2024

Hi @tylergets ,

There's already a "--no-version-check" switch for "generate" and "init". Could you try if it works?

@ymc9
Copy link
Member

ymc9 commented Jul 12, 2024

V2.3.0 now has a 1000ms timeout fo the check.

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

No branches or pull requests

2 participants