Git Product home page Git Product logo

Comments (7)

keith avatar keith commented on June 11, 2024 1

I'm using bazelisk 1.1.0 https://github.com/bazelbuild/bazelisk/releases/tag/v1.1.0

from bazelisk.

jin avatar jin commented on June 11, 2024 1

@keith nice, TIL.

from bazelisk.

philwo avatar philwo commented on June 11, 2024 1

Yeah, we could do that. I guess the format is stable enough that it shouldn’t cause issues.

from bazelisk.

jin avatar jin commented on June 11, 2024

USE_BAZEL_VERSION refers to a dotted version, not a path to a local binary.

from bazelisk.

philwo avatar philwo commented on June 11, 2024

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.

keith avatar keith commented on June 11, 2024

Any reason Bazelisk couldn't run your Bazel to get this?

from bazelisk.

philwo avatar philwo commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.