commit | b035a74ffac0f72eadd354cb61585e1954d937c5 | [log] [tgz] |
---|---|---|
author | flode <flo.de@hotmail.de> | Thu Aug 17 12:40:19 2023 +0200 |
committer | Florian Scheibner <fscheibner@salesforce.com> | Thu Aug 17 13:53:21 2023 +0200 |
tree | 7808decd16b376ef8df18af8babefb7782bf301a | |
parent | 40e1477e71bf935b220741e9f811cf5de92e8770 [diff] |
Make pkg_zip compression configurable Zip offers different compression algorithms and levels. For packaging, sometimes faster compression speed is more important than size. With pkg_tar, there is already the option to use a custom compressor. For pkg_zip these use case are now possible with the exposed zip compression_level and compression_type arguments in this PR. There's a new test case that verifies that the compression settings work by comparing the compressed file sizes. The default compression level is the same as recently change for pkg_tar in
Bazel rules for building tar, zip, deb, and rpm for packages.
For the latest version, see Releases (with WORKSPACE
setup) / Documentation
Use rules-pkg-discuss@googlegroups.com for discussion.
As of Bazel 4.x, Bazel uses this rule set for packaging its distribution. Bazel still contains a limited version of pkg_tar
but its feature set is frozen. Any new capabilities will be added here.
We hold an engineering status meeting on the first Monday of every month at 10am USA East coast time. Add to calendar / meeting notes