bazelbuild / bazelbuild/bazelisk
FR: Specifying fallback location for downloading Bazel binary
- Dominant language
- Go
- Stars
- 2.7k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
Reading https://github.com/bazelbuild/bazelisk?tab=readme-ov-file#where-does-bazelisk-get-bazel-from, it sounds like I can configure a single source location for downloading Bazel.
We want to use the public release of Bazel, but we are trying to get our Bazel builds to have a backup mirror of 3P deps in case of unforseen upstream issues. In Bazel proper, you can achieve this by using `--download_config`, but to bootstrap the build, seems Bazelisk needs to rely on a single source.
This FR is to add a mirror/backup option if the regular source is not reachable.
Contributor guide
Research direction
Start with the README section on where Bazelisk gets Bazel from and compare its single-source behavior with Bazel's --download_config option. Define how a primary source and fallback mirror should be selected and what should happen when the regular source is unreachable; the issue does not name implementation files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100