Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...) https://bazelbuild.github.io/rules_pkg/
Go to file
Lukacs T. Berki 2a2b03fa8f Replace reference to bazel-dev with GitHub Discussions. 2023-04-21 13:10:11 +00:00
.bazelci pkg_zip: Some unicode file handling fixes and basic tests (#641) 2023-02-13 23:25:09 -05:00
deb_packages remove the obsolete deb_packages code. (#547) 2022-03-07 10:41:02 -05:00
distro Allow pkg_tar to have a package_dir == './' (#570) 2022-04-06 13:37:37 -04:00
doc_build exec_tools -> tools (#680) 2023-03-15 10:45:49 -04:00
docs Update advise about pkg_files. (#679) 2023-03-01 14:49:04 -05:00
examples swtich example to OutputGroupInfo (#689) 2023-03-28 18:59:54 -04:00
pkg Add OutputGroupInfo for pkg_rpm rule (#684) 2023-03-28 17:34:25 -04:00
tests pkg_tar should not prefix tree artifacts with ./ (#681) 2023-03-15 23:30:05 -04:00
toolchains typos (#556) 2022-04-01 10:52:46 -04:00
.bazelignore Add .bazelignore to skip examples, deb_packages subdirectories (#457) 2021-11-04 16:01:56 -04:00
.gitignore Add symlink support to pkg_zip (#499) 2022-01-29 00:34:38 -05:00
AUTHORS Correct mistakes in a recent push. (#449) 2021-11-04 14:38:00 -04:00
BUILD add MODULE.bazel (#690) 2023-03-28 23:44:42 -04:00
CHANGELOG.md update version and changelog for release (#633) 2022-11-02 23:24:39 -04:00
CODEOWNERS move the rpmbuild toolchain definition to //toolchains/rpm. (#514) 2022-02-15 19:55:59 -05:00
CONTRIBUTING.md html != md 2020-07-14 20:18:47 -04:00
CONTRIBUTORS Start a developer docs page (#413) 2021-09-01 21:42:29 -04:00
LICENSE initial commit 2017-12-21 14:20:32 -05:00
MODULE.bazel Bump to 0.9.0 (#687) 2023-03-28 23:17:25 -04:00
README.md Update README.md 2022-11-04 15:32:41 -04:00
WORKSPACE Create basic bzlmod setup for rules_pkg. (#625) 2022-10-20 10:46:25 -04:00
WORKSPACE.bzlmod Create basic bzlmod setup for rules_pkg. (#625) 2022-10-20 10:46:25 -04:00
deps.bzl Fix some lint warnings. (#519) 2022-02-03 21:38:56 -05:00
developers.md pkg_zip: Some unicode file handling fixes and basic tests (#641) 2023-02-13 23:25:09 -05:00
install.bzl Post tree-reorganization cleanup (#465) 2021-11-11 14:45:49 -05:00
mappings.bzl Post tree-reorganization cleanup (#465) 2021-11-11 14:45:49 -05:00
package_variables.bzl Reorganize the source tree (#443) 2021-11-03 22:44:26 -04:00
patching.md Replace reference to bazel-dev with GitHub Discussions. 2023-04-21 13:10:11 +00:00
pkg.bzl Move the designated place for pkg_tar to be //pkg:tar.bzl. (#526) 2022-02-08 11:05:27 -05:00
providers.bzl Reorganize the source tree (#443) 2021-11-03 22:44:26 -04:00
rpm.bzl Reorganize the source tree (#443) 2021-11-03 22:44:26 -04:00
version.bzl Bump to 0.9.0 (#687) 2023-03-28 23:17:25 -04:00

README.md

Bazel package building

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.

CI: Build status

Basic rules

Package building rules

  • pkg - Rules for building packages of various types.
  • examples - Cookbook examples for using the rules.

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.

For developers

We hold an engineering status meeting on the first Monday of every month at 10am USA East coast time. Add to calendar / meeting notes