commit | 006af3e3932c5edc240b3ba762a5d6901cd7de9e | [log] [tgz] |
---|---|---|
author | aiuto <aiuto@google.com> | Mon Oct 16 16:10:06 2023 -0400 |
committer | GitHub <noreply@github.com> | Mon Oct 16 16:10:06 2023 -0400 |
tree | 7b10c02d1030e5a2400dbf3212ed3d88c256dd53 | |
parent | 320107ad11779cf24dbc4c9d247e1e20eed832fa [diff] |
When pkg_tar.prefix_dir == base of symlink path, don't double-dip. (#749) * Correct for case where tar has prefix_dir and files/symlinks, but the user has already mapped the prefix_dir into those paths. Under the old behavior, prefix_dir was (incorrectly) not added to symlinks, so some users made the desired prefix part of the link. Protecting them against the double inclusion of the prefix is probably the least surprising behavior. Add tests for this, which required improving verify_archive_test. * make buildifier happy * do not run the symlink test on windows * huh? why are symlinks in a tree failing on CI?
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