Comments (10)
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.
Closing now that 2.0 is released: https://github.com/aspect-build/bazel-lib/releases/tag/v2.0.0
from bazel-lib.
Note that our yq
toolchain has an arm64
binary. Yq is supports json and is a superset of jq.
from bazel-lib.
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.
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.
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.
Jq arm64 linux support will be in the 2.0.0
release.
from bazel-lib.
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.
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.
Ah, so 2.0 of bazel-lib? What makes this a breaking change?
from bazel-lib.
Related Issues (20)
- [FR]: Propagate Tags to Tar HOT 1
- [FR]: write_source_files and write_source_file shall support select()
- [FR]: Tar should add !gzip:timestamp option when compress = gzip
- [Bug]: bsdtar toolchain fails on macOS if host tar is gnutar HOT 2
- [FR]: Support Expanding a filegroup via a rule HOT 2
- [Bug]: `mtree_spec` rule does not encode filenames with special characters HOT 7
- [FR]: Update libarchive to >= 3.7.1 HOT 1
- [Bug]: tar generates incorrect mtree for aspect_rules_js runfiles HOT 1
- [Bug]: unable to use expand_template in v2 HOT 1
- [Bug]: Cannot define custom `coreutils_toolchain`
- [Bug]: xz not found with new statically linked bsdtar HOT 5
- [Bug]: expand_template FORMATTED_DATE
- [FR]: `squash_tars` rule HOT 2
- [FR]: use sha256 instead of sha386 for integrity?
- [Bug]: 2.7.3 broke coreutils on x86 MacOS
- [Bug]: bsdtar.exe fails to run on windows: libcrypto dll not found HOT 1
- [Bug]: bazel-lib v1.42.3 appears to contain incorrect libxml reference
- [Bug]: `mtree_spec` generates incorrect spec file if the root directory has a file and a directory HOT 3
- [Bug]: expand_template with stamp = 1 ignores changes to volatile-status.txt
- [FR]: Simple example of using `run_binary()` with `out_dirs`
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 bazel-lib.