Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document pkg_tar.extension's compression options.#973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dougthor42 wants to merge3 commits intobazelbuild:main
base:main
Choose a base branch
Loading
fromdougthor42:u/dthor/document-tar-compression-gh972

Conversation

@dougthor42
Copy link

Fixes#972

| <aid="pkg_tar-empty_dirs"></a>empty_dirs| -| List of strings| optional|`[]`|
| <aid="pkg_tar-empty_files"></a>empty_files| -| List of strings| optional|`[]`|
| <aid="pkg_tar-extension"></a>extension| -| String| optional|`"tar"`|
| <aid="pkg_tar-extension"></a>extension|The extension of the generated file. If`"gz"`,`"bz2"`, or`"xz"`, the tarball will also be compressed using that tool, and is mutually exclusive with`compressor`. Note that`xz` may not be supported based on the Python toolchain.| String| optional|`"tar"`|
Copy link
Author

Choose a reason for hiding this comment

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

Note thatxz may not be supported based on the Python toolchain.

I'm not 100% sure this is true. The source has a TODO to confirmxz availabilty, but it's been there for > 3 years now andHAS_XZ_SUPPORT is True.

# TODO(aiuto): Figure out how to get this from the python toolchain.
# See check for lzma in archive.py for a hint at a method.
HAS_XZ_SUPPORT=True

Maybe I just shouldn't mention thatxz might not be supported?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is fine.

Copy link
Collaborator

Choose a reason for hiding this comment

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

But the problem is that it won't work if you change it here.
It will get lost on the next release update when the file is generated. You need to change it in the rule souce.

dougthor42 reacted with thumbs up emoji
Copy link
Author

Choose a reason for hiding this comment

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

Ah, thanks for letting me know. I've updated the starlark source instead, please LMK if there's something else I'm supposed to do.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@aiutoaiutoAwaiting requested review from aiutoaiuto is a code owner

@jylinv0jylinv0Awaiting requested review from jylinv0

@cgrindelcgrindelAwaiting requested review from cgrindelcgrindel is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Document compression support for pkg_tar

2 participants

@dougthor42@aiuto

[8]ページ先頭

©2009-2025 Movatter.jp