Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ pkg_tar(<a href="#pkg_tar-name">name</a>, <a href="#pkg_tar-deps">deps</a>, <a h
| <a id="pkg_tar-create_parents"></a>create_parents | - | Boolean | optional | `True` |
| <a id="pkg_tar-empty_dirs"></a>empty_dirs | - | List of strings | optional | `[]` |
| <a id="pkg_tar-empty_files"></a>empty_files | - | List of strings | optional | `[]` |
| <a id="pkg_tar-extension"></a>extension | - | String | optional | `"tar"` |
| <a id="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 that xz may not be supported based on the Python toolchain.

I'm not 100% sure this is true. The source has a TODO to confirm xz availabilty, but it's been there for > 3 years now and HAS_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 that xz might not be supported?

| <a id="pkg_tar-files"></a>files | Obsolete. Do not use. | <a href="https://bazel.build/rules/lib/dict">Dictionary: Label -> String</a> | optional | `{}` |
| <a id="pkg_tar-include_runfiles"></a>include_runfiles | Include runfiles for executables. These appear as they would in bazel-bin.For example: 'path/to/myprog.runfiles/path/to/my_data.txt'. | Boolean | optional | `False` |
| <a id="pkg_tar-mode"></a>mode | - | String | optional | `"0555"` |
Expand Down