rules_pkg
rules_pkg copied to clipboard
Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
This has better UTF-8 fidelity. DO NOT SUBMIT YET. This breaks with Unicode attributes before Python 3.12.
Is it invalid (meaning under no circumstances a good idea, assumed by consuming rules not to happen) to have - A `PackageFilegroupInfo` that contains the same destination file twice? I...
The `build_tar.py` has logic to auto-detect the executable bit of the source files and also apply that in the final tar file: ``` # If mode is unspecified, derive the...
`pkg_tar` has a unique ability to absorb other tarballs in its [`deps` attribute](https://github.com/bazelbuild/rules_pkg/blob/main/pkg/docs/reference.md#pkg_tar) into its output. This should be generalized into allowing any archive to be expanded into another. As...
A "bottle" is a binary package https://docs.brew.sh/Bottles Unlike tools like bazelisk, which are built from source on a user's machine when they `brew install`, bottles allow for things like closed-source...
Repo: Try //tests/tar:relative_links_test on windows.
In using `pkg_filegroup` in our codebases, we've found that it takes a significant amount of vertical space for complex packages. For simple mappings (e.g. copy a target/file to a destination),...
https://github.com/facebook/zstd/ is another compression format with highly tunable compression format that highly desirable performance characteristics. It would be nice if it were supported locally without having to specify an external...
The current version of the "pkg_rpm" rule exposes an "architecture"-argument, which is meant to indicate the package's intended platform. It is being used to define the "BuildArch" option in the...