Skip to content

Support compression_level when using xz#988

Merged
aiuto merged 2 commits intobazelbuild:mainfrom
mathukumillia:add_xz_compression_level_support
Nov 26, 2025
Merged

Support compression_level when using xz#988
aiuto merged 2 commits intobazelbuild:mainfrom
mathukumillia:add_xz_compression_level_support

Conversation

@mathukumillia
Copy link
Copy Markdown
Contributor

@mathukumillia mathukumillia commented Nov 25, 2025

The current pkg_tar rule does not use the compression_level parameter when xz compression is selected. This patch fixes that. It also adds a test that verifies that using different compression levels results in different sizes.

Fixes: #987

CHANGE_LOG

@google-cla
Copy link
Copy Markdown

google-cla bot commented Nov 25, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@mathukumillia mathukumillia force-pushed the add_xz_compression_level_support branch from 37c1f77 to 47b7230 Compare November 25, 2025 18:06
Making buildifier happy to save a review loop.
Copy link
Copy Markdown
Collaborator

@aiuto aiuto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just trying to fix the buildifier warning

@aiuto aiuto merged commit 4bd78fe into bazelbuild:main Nov 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkg_tar does not support compression level when using xz compression

2 participants