- Feb 13, 2025
-
-
Bot authored
## [1.0.1](https://git.gitlab.arm.com/bazel/rules_tar/compare/v1.0.0...v1.0.1) (2025-02-13) ### Bug Fixes * need to roll BCR versions ([6eaa1632](https://git.gitlab.arm.com/bazel/rules_tar/commit/6eaa1632421019a43c7c34d800804c96a2cf8783))
-
Matthew Clarkson authored
The `1.0.0` source integrity is incorrect.
-
Bot authored
# 1.0.0 (2025-02-13) ### Bug Fixes * **ape:** switch to `@ape//ape/toolchain/info:tar` ([3fbb5641](https://git.gitlab.arm.com/bazel/rules_tar/commit/3fbb564107565ff8f55a3f14a67f3d0a5e4de672)) * **concatenate:** build pure Go ([dd5e64d0](https://git.gitlab.arm.com/bazel/rules_tar/commit/dd5e64d06e3d6e006181b6e07096c13765ca3853)) * **concatenate:** log header read error ([0aa6a7c7](https://git.gitlab.arm.com/bazel/rules_tar/commit/0aa6a7c7a041eeb7d086abd1e37913b0f9b3bc21)) * **concatenate:** run under hermetic Bash ([11b53135](https://git.gitlab.arm.com/bazel/rules_tar/commit/11b531355577a9cdd727749160671c398c57ea17)) * correctly export `[@tar](https://git.gitlab.arm.com/tar)` export repository ([011e11f0](https://git.gitlab.arm.com/bazel/rules_tar/commit/011e11f09238463d1c67aee800787bb6f122aeac)) * support Windows ([a13cf8ab](https://git.gitlab.arm.com/bazel/rules_tar/commit/a13cf8abf2fab0b15cbe041cfc34176d03ec0f86)) * switch to `//tar/tool` ([398aba37](https://git.gitlab.arm.com/bazel/rules_tar/commit/398aba37d3957f6d7cf84bc8fb2aa72ce603c6da)) * switch to `rules_license` ([3be92354](https://git.gitlab.arm.com/bazel/rules_tar/commit/3be923541299a9ccaa8c83a1344988047c1ae556)) * update dependencies for Bazel 8 support ([b63af075](https://git.gitlab.arm.com/bazel/rules_tar/commit/b63af075c61cbc4659bc0da1c898968e96ceb861)) * upgrade to `ape@1.0.0-beta.6` ([7599de83](https://git.gitlab.arm.com/bazel/rules_tar/commit/7599de83e505ef12cf456bd5c238918897c8fc4a)) * upgrade to `rules_xz@1.0.1 ([6c8f7c1c](https://git.gitlab.arm.com/bazel/rules_tar/commit/6c8f7c1c19a09936fec82fe0b190a94a2a1bb9d3)) * upgrade to stable dependencies ([aab3d7e1](https://git.gitlab.arm.com/bazel/rules_tar/commit/aab3d7e181467d1de46c5ea2e4eab17177a355e2)) ### Features * add `//tar/concatenate` target ([6ebc7cfa](https://git.gitlab.arm.com/bazel/rules_tar/commit/6ebc7cfa600cbc22eb90c64512af3204a9d60634)) * add `//tar/concatenate` target ([43b780b3](https://git.gitlab.arm.com/bazel/rules_tar/commit/43b780b31c78ae36233db6d13b7ec52cd631e041)) * add `//tar/tool` ([dd68a659](https://git.gitlab.arm.com/bazel/rules_tar/commit/dd68a659de2ca27a26ecb6c685a437e7d9c9357c)) * add `concatenate` toolchain ([6817c555](https://git.gitlab.arm.com/bazel/rules_tar/commit/6817c5550b1725729053b3caa970554aabf0baea)) * add `tar_filter` rule ([271a34cb](https://git.gitlab.arm.com/bazel/rules_tar/commit/271a34cb528fcfa7ae9cd308bd4fa2914bfe4ec9)) * add support for `zstd`, `bzip2` and `gzip` ([9988b851](https://git.gitlab.arm.com/bazel/rules_tar/commit/9988b8516355975191032679fe3f824aa4d62a4c)) * added `e2e` tests for `tar` toolchain ([af1029e7](https://git.gitlab.arm.com/bazel/rules_tar/commit/af1029e73cbd1c23e52c74f1bd3ada61153a93e1)) * added semantic release to bazel template ([a8a66341](https://git.gitlab.arm.com/bazel/rules_tar/commit/a8a663411461dfd66fcc36635b1659a1beb3bd6b)) * **concatenate:** duplicate handling ([e0f4f739](https://git.gitlab.arm.com/bazel/rules_tar/commit/e0f4f739600ad540bf0b06bf510d0594092f15fc)) * created a `tar_extract` rule ([1590851a](https://git.gitlab.arm.com/bazel/rules_tar/commit/1590851ab4c42d2b78122161aacfc1d38664acf1)) * created a `tar_unpack` rule ([7e262e60](https://git.gitlab.arm.com/bazel/rules_tar/commit/7e262e6087587efa15b55b9312debbb3d3c83d74)) * resolved the toolchain for tar ([57f087f2](https://git.gitlab.arm.com/bazel/rules_tar/commit/57f087f292b44657a46d5e74b15193706faeaf8a)) * support added for `xz` ([37c211b9](https://git.gitlab.arm.com/bazel/rules_tar/commit/37c211b95744f859ce00475ce9466779e483de03)) * **toolchains:** switch to using toolchains for compression ([aab887e1](https://git.gitlab.arm.com/bazel/rules_tar/commit/aab887e14a76a370d7db22f4d6fa70e7c9c0fde3)) ### BREAKING CHANGES * `tar_filter#patterns` is now a list of globs to remove from the tape archive. The filters can still be negated: ```py tar_filter( name = "filter.tar.xz", src = "archive.tar.zst", patterns = [ "!**/*.md", # Keep Markdown files "**/*", # Remove all other members ], ) ```
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
`hermetic_cc_toolchain` does not work on remote execution due to not registering the executor constraints for the toolchains. Build the binary in pure mode to remove the need for a C toolchain.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Bazel will select a version within the `compatibility_level`, the warning is noise.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Feb 12, 2025
-
-
Matthew Clarkson authored
-
- Jan 09, 2025
-
-
Bot authored
# [1.0.0-beta.6](https://git.gitlab.arm.com/bazel/rules_tar/compare/v1.0.0-beta.5...v1.0.0-beta.6) (2025-01-09) ### Bug Fixes * switch to `//tar/tool` ([398aba37](https://git.gitlab.arm.com/bazel/rules_tar/commit/398aba37d3957f6d7cf84bc8fb2aa72ce603c6da)) ### Features * add `//tar/tool` ([dd68a659](https://git.gitlab.arm.com/bazel/rules_tar/commit/dd68a659de2ca27a26ecb6c685a437e7d9c9357c)) ### BREAKING CHANGES * `tar_filter#patterns` is now a list of globs to remove from the tape archive. The filters can still be negated: ```py tar_filter( name = "filter.tar.xz", src = "archive.tar.zst", patterns = [ "!**/*.md", # Keep Markdown files "**/*", # Remove all other members ], ) ```
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
These were used to test projects before they were upstreamed to BCR. We can remove them now.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Dec 10, 2024
-
-
Matthew Clarkson authored
Changes both `tar_filter`/`tar_concatenate` to use `//tar/tool` rather than individidual toolchains. This change brings significant features: - Inputs are transparently decompressed using file magic markers - Data on `stdin` is decompressed correctly now - Outputs are trasparently compressed using the file extension - (De)compression is all performed in-process removing the need for Shell pipes - Many bug fixes are squashed during the refactor in the Go code A huge footgun has been removed where the extension were not respected: ```py # Without the `compress` attribute, this creates a `archive.tar.gz` that # is actually a tape archive that is _not_ compressed tar_concatenate( name = "archive.tar.gz", # compress = "@rules_tar//tar/compress:gzip", srcs = ["archive.tar.xz", "something.tar.gz"], ) # With this patch it is now correctly compressed with `gzip` ``` BREAKING CHANGE: `tar_filter#patterns` is now a list of globs to remove from the tape archive. The filters can still be negated: ```py tar_filter( name = "filter.tar.xz", src = "archive.tar.zst", patterns = [ "!**/*.md", # Keep Markdown files "**/*", # Remove all other members ], ) ```
-
Matthew Clarkson authored
-
Matthew Clarkson authored
A generic Go binary that provides concatenation and filtering of tape archives.
-
Matthew Clarkson authored
API to seek until the start of the next tape archive in a stream of bytes.
-
Matthew Clarkson authored
Provides glob matching for multiple patterns.
-
Matthew Clarkson authored
Provides a `duplicate.Flag` implementation to determine what to do with duplicate members.
-
Matthew Clarkson authored
Provides `WriteCloser` interface for output files with transparent decompression.
-
Matthew Clarkson authored
Provides `ReadCloser` interface for input files with transparent decompression.
-
Matthew Clarkson authored
Provides `ReadCloser` interfaces to decompress incoming data. Determines the correct decompression algorithm by reading the file magic markers in the incoming data.
-
Matthew Clarkson authored
Provides `WriteCloser` wrappers that compress the written data. Can determine the compression needed from the file extension _or_ can start a subprocess that performs the compression.
-
Matthew Clarkson authored
-
- Nov 27, 2024
-
-
Bot authored
# [1.0.0-beta.5](https://git.gitlab.arm.com/bazel/rules_tar/compare/v1.0.0-beta.4...v1.0.0-beta.5) (2024-11-27) ### Bug Fixes * update dependencies for Bazel 8 support ([b63af075](https://git.gitlab.arm.com/bazel/rules_tar/commit/b63af075c61cbc4659bc0da1c898968e96ceb861))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
When using `3.1.1` and Bazel `8.0.0rc4` the toolchains do not get registered. This is due to an upstream [issue] that was resolved with a [PR] to disable the default registration in this [commit]. To upgrade past `3.1.0`, we will need to register specific toolchains. [issue]: https://github.com/uber/hermetic_cc_toolchain/issues/181 [pr]: https://github.com/uber/hermetic_cc_toolchain/pull/190 [commit]: https://github.com/uber/hermetic_cc_toolchain/commit/f8c17de30fbf185cc5c2f61b2b508aa3b3d294a1
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-