Comments (7)
I'm using bazelisk 1.1.0 https://github.com/bazelbuild/bazelisk/releases/tag/v1.1.0
from bazelisk.
@keith nice, TIL.
from bazelisk.
Yeah, we could do that. I guess the format is stable enough that it shouldn’t cause issues.
from bazelisk.
USE_BAZEL_VERSION refers to a dotted version, not a path to a local binary.
from bazelisk.
Hi @keith,
Yes, that’s exactly the problem. Bazelisk currently cannot extract the version number from a given local Bazel binary, which is why it can’t fetch the flags needed to migrate from GitHub when using that feature.
If you or others have ideas how to improve this, I’d love to hear them!
from bazelisk.
Any reason Bazelisk couldn't run your Bazel to get this?
from bazelisk.
I recently found out that we have support for bazel --version
, which does not require starting up a Bazel server or extracting the install_base, so it's very fast. We could use that to implement the version detection.
from bazelisk.
Related Issues (20)
- `last_rc` was returning a 6.3.2 release candidate even though 6.3.2 was released HOT 2
- `MODULE.bazel` and `REPO.bazel` are not supported
- Server crashed during startup. while parsing option --digest_function=BLAKE3: Not a valid hash function HOT 2
- Go Bazelisk Binary Does Not Respect "arch --arch arm64"
- Use of --credential_helper flag causes Bazelisk to exit with code 37 HOT 3
- Bazelisk run doesn't propagate signals to the child process
- Bazelisk 1.18 doesn't handle WORKSPACE-less repositories HOT 3
- Bazelisk does not print its version anymore in `1.18.0` when calling `bazelisk version` HOT 2
- py_bazelisk_test & py3_bazelisk_test is failing with Bazel@HEAD HOT 2
- Support BAZELISK_VERIFY_SHA256 for multiplatform projects HOT 1
- .bazelversion not being read in parent directory outside of WORKSPACE HOT 2
- Bazelisk is failing with "httputil:go_default_test" at Bazel@HEAD HOT 2
- `latest-1` is resolved as 7.0.0 instead of 6.4.0 HOT 1
- could not download Bazel when I want to execute the command:bazel build onos HOT 9
- bazelisk run/test hide segmentation violations
- Error loading package under directory error with Bazel@HEAD in CI HOT 6
- How to avoid bazel installation? HOT 6
- Could not download Bazel - bad file descriptor HOT 1
- caoky HOT 1
- Use cached executable if no network available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazelisk.