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
.gitignore
AUTHORS
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
CONTRIBUTORS
LICENSE
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
developers.md pkg_zip: Some unicode file handling fixes and basic tests (#641) 2023-02-13 23:25:09 -05:00
install.bzl
mappings.bzl
package_variables.bzl
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
rpm.bzl
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