- 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
-
Matthew Clarkson authored
-
- Nov 26, 2024
-
-
Matthew Clarkson authored
Includes breaking change to `toolchain_local_select` which does not affect this module but is a needed updated for Bazel 8
-
Matthew Clarkson authored
-
- Oct 30, 2024
-
-
Matthew Clarkson authored
-
- Sep 05, 2024
-
-
Bot authored
# [1.0.0-beta.4](https://git.gitlab.arm.com/bazel/rules_tar/compare/v1.0.0-beta.3...v1.0.0-beta.4) (2024-09-05) ### Features * **toolchains:** switch to using toolchains for compression ([aab887e1](https://git.gitlab.arm.com/bazel/rules_tar/commit/aab887e14a76a370d7db22f4d6fa70e7c9c0fde3))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Allows projects to customise the compressor used with toolchains. This is especially useful with the built toolchains: ``` --extra_toolchains=@rules_zstd//zstd/toolchain/zstd:built ```
-
Bot authored
# [1.0.0-beta.3](https://git.gitlab.arm.com/bazel/rules_tar/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2024-09-05) ### Bug Fixes * **concatenate:** log header read error ([0aa6a7c7](https://git.gitlab.arm.com/bazel/rules_tar/commit/0aa6a7c7a041eeb7d086abd1e37913b0f9b3bc21)) ### Features * add `tar_filter` rule ([271a34cb](https://git.gitlab.arm.com/bazel/rules_tar/commit/271a34cb528fcfa7ae9cd308bd4fa2914bfe4ec9))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Aug 31, 2024
-
-
Matthew Clarkson authored
-
- Aug 30, 2024
-
-
Bot authored
# [1.0.0-beta.2](https://git.gitlab.arm.com/bazel/rules_tar/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2024-08-30) ### 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:** run under hermetic Bash ([11b53135](https://git.gitlab.arm.com/bazel/rules_tar/commit/11b531355577a9cdd727749160671c398c57ea17)) ### 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 `concatenate` toolchain ([6817c555](https://git.gitlab.arm.com/bazel/rules_tar/commit/6817c5550b1725729053b3caa970554aabf0baea)) * **concatenate:** duplicate handling ([e0f4f739](https://git.gitlab.arm.com/bazel/rules_tar/commit/e0f4f739600ad540bf0b06bf510d0594092f15fc))
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Avoids need for C/C++ compilation.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-