Git Product home page Git Product logo

Comments (7)

keith avatar keith commented on June 11, 2024 3

I assume the go version will be the one to stick around, but FWIW I don't think the go build solution should be recommended since we probably shouldn't assume that everyone will have a go environment setup. But at least curling the binary shouldn't be a large effort for installation.

from bazelisk.

jin avatar jin commented on June 11, 2024 2

$ go build github.com/bazelbuild/bazelisk && bazelisk build ... is a really nice user experience.

from bazelisk.

jbduncan avatar jbduncan commented on June 11, 2024

I hope I'm not overstepping my boundaries, but if it were me, I'd be more inclined to keep the Python version, as I believe one could then more easily store Bazelisk in source control (similarly to Gradle Wrapper for Gradle) and it would take considerably less space than compiled Go binaries. But I'd love to be challenged on this. :)

from bazelisk.

jbduncan avatar jbduncan commented on June 11, 2024

Ah cool! I suppose it goes to show how little experience I have with Go. 😉

from bazelisk.

jbduncan avatar jbduncan commented on June 11, 2024

But at least curling the binary shouldn't be a large effort for installation.

Sounds sensible to me! But I think it would be helpful if Bazelisk provided this script in a similar fashion to Gradle Wrapper (one script for *nix, another for Windows?), since for me at least it wasn't obvious that I could do this. :)

from bazelisk.

jeremyschlatter avatar jeremyschlatter commented on June 11, 2024

See also #84

from bazelisk.

TheButlah avatar TheButlah commented on June 11, 2024

I don't have the go toolchain installed, but the go version allows the ability to wget a single binary to get up and running, whereas the python version requires having a properly configured and supported python toolchain. Especially when using bazelisk in environments like docker where the python toolchain might not exist (or is later in the dockerfile), the ability to just use a single binary file as a distribution mechanism is really good.

+1 for the go version being the canonical version, should bazelisk choose to consolidate the versions.

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.