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

Add an option to prevent checking for new version #688

Closed
Thrathra opened this issue Oct 16, 2024 · 2 comments · Fixed by #689
Closed

Add an option to prevent checking for new version #688

Thrathra opened this issue Oct 16, 2024 · 2 comments · Fixed by #689

Comments

@Thrathra
Copy link
Contributor

Hi, I'm working behind a proxy and it seems the programs tries to connect to crates.io in order to find updates.
As the requests times out, it takes a lot of time to even scan a board.
Is it possible to add an option to prevent such connections?

Thanks in advance!

@SergioGasquez
Copy link
Member

Hi! Currently, we don't have any way of preventing this check, but we would happily accept a contribution adding an argument that skips calling https://github.com/esp-rs/espflash/blob/main/espflash/src/bin/espflash.rs#L167 (this should be also duplicated in cargo-espflash)

@Thrathra
Copy link
Contributor Author

Thanks for your suggestion, I didn't see the right line at first. I opened a pull request.

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants