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

Use cached executable if no network available #570

Open
kooooootb opened this issue Apr 11, 2024 · 0 comments
Open

Use cached executable if no network available #570

kooooootb opened this issue Apr 11, 2024 · 0 comments
Labels
help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional) type: feature request New feature or request

Comments

@kooooootb
Copy link

Is it possible or are there any downsides of using cached bazel executable if available when there is no network connection?
Im frequently programming abroad with weak to no internet connection and I also dont want to lock my bazel version because one of the bazelisk's purposes is to use the latest version of bazel

If it helps, now if i run it with no internet i will get smth like:
2024/04/11 10:03:43 could not download Bazel: could not resolve the version 'latest' to an actual version number: unable to determine latest version: could not list Bazel versions in GCS bucket: could not list GCS objects at https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/: could not fetch https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/: Get "https://www.googleapis.com/storage/v1/b/bazel/o?delimiter=/": dial tcp: lookup www.googleapis.com on [::1]:53: read udp [::1]:36292->[::1]:53: read: connection refused

@meteorcloudy meteorcloudy added type: feature request New feature or request help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional) labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Needs help from external contributors P2 We'll consider working on this in future. (Assignee optional) type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants