Giter Club home page Giter Club logo

Comments (10)

kormide avatar kormide commented on June 18, 2024 2

Ah, so 2.0 of bazel-lib? What makes this a breaking change?

Yup. We're planning to cut a bazel-lib 2.0 release in mid-late October. There were a couple of breaking changes:

  • A jq flag we were relying on for stamping support was removed, so we had to make a change that would break consumers who were stamping with jq.
  • The naming convention for the jq binaries changed, so rather than supporting pre-1.7 conventions we decided to drop them and only support 1.7+ going forward.

You can see the changes here: #520

from bazel-lib.

kormide avatar kormide commented on June 18, 2024 1

Closing now that 2.0 is released: https://github.com/aspect-build/bazel-lib/releases/tag/v2.0.0

from bazel-lib.

kormide avatar kormide commented on June 18, 2024

Note that our yq toolchain has an arm64 binary. Yq is supports json and is a superset of jq.

from bazel-lib.

thesayyn avatar thesayyn commented on June 18, 2024

Idea; https://wapm.io/syrusakbary/jq has jq as a wasm binary and can run anywhere wasmer can run which is basically every nix platform plus windows. wasmer can be introduced as a toolchain and jq ran with it.

from bazel-lib.

keith avatar keith commented on June 18, 2024

That sounds like a bit of overhead? i think the worst case alternative is we build jq manually, or host our own binary for that case?

from bazel-lib.

thesayyn avatar thesayyn commented on June 18, 2024

That sounds like a bit of overhead?

I strongly agree. If we delegate "building from the source part" to the users, then it's a viable choice. I am not a huge fan of taking another ruleset as a dependency, just to build from the source.

from bazel-lib.

kormide avatar kormide commented on June 18, 2024

Jq arm64 linux support will be in the 2.0.0 release.

from bazel-lib.

rcorre avatar rcorre commented on June 18, 2024

Jq arm64 linux support will be in the 2.0.0 release.

Is there an issue tracking this somewhere? I found jqlang/jq#2386, which has a 1.7 milestone, and jqlang/jq#2459, which doesn't have any milestone.

I'm trying to figure out what's necessary for bazel-contrib/rules_oci#253 to be fixed.

from bazel-lib.

thesayyn avatar thesayyn commented on June 18, 2024

https://github.com/jqlang/jq/releases/tag/jq-1.7 is the available binaries as part of 1.7 release. i believe we are waiting for 2.0 release to make this breaking change.

from bazel-lib.

rcorre avatar rcorre commented on June 18, 2024

Ah, so 2.0 of bazel-lib? What makes this a breaking change?

from bazel-lib.

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.