Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 21, 2025

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Type Update Change
rules_pkg (source) bazel_dep major 0.9.1 -> 1.1.0
rules_pkg http_archive major 0.9.1 -> 1.1.0

Release Notes

bazelbuild/rules_pkg (rules_pkg)

v1.1.0

Compare Source

New Features

  • pkg_dep: Add the multi_arch option in make_deb.py in order to add the Multi-Arch field in debian control file. (#​937)
  • pkg_rpm: Generic debuginfo RPM platform support (#​942)
  • pkg_rpm: fix sub-RPM post_scriptlet and add %postun support (#​934)
  • install: Add --wipe_destdir option (#​894)
  • pkg_tar: Make compression_level configurable for .tar.gz (#​888)
  • pkg_install: Add destdir attr & read rel paths. (#​886)
  • pkg_install: Support TreeArtifacts. (#​885)

Incompatible Changes

None that we know of.

Change Log

  • Modify the rich_structure example to set include_runfiles (#​906)
  • Fix installing an installed running process (#​941)
  • tar_writer.py: address duplicate dir warning regression (#​900)
  • Add the multi_arch option in make_deb.py in order to add the Multi-Arch field in debian control file. (#​937)
  • Generic debuginfo RPM platform support (#​942)
  • rpm: fix sub-RPM post_scriptlet and add %postun support (#​934)
  • Syntax highlight the readme as starlark (#​939)
  • rpm: Consume group info for sub RPMs (#​931)
  • ci: Check pre-commit hooks in CI (#​922)
  • fix: Avoid else after return in mappings bzl (#​923)
  • Add pre-commit hooks to format trailing whitespaces (#​924)
  • Pre commit autoupdate and format files (#​913)
  • Allow some common rule args in verify_archive_test (#​917)
  • ci: Bump Ubuntu version in CI from 18 to 22 (#​912)
  • Fix check_must_contain_regex in verify_archive.bzl (#​910)
  • Delete deb_packages directory (#​903)
  • install: Add --wipe_destdir option (#​894)
  • Load py_binary from rules_python (#​895)
  • make_rpm: suppress unconditional debug prints (#​892)
  • pkg_install: modify log levels & print destdir by default. (#​891)
  • Make compression_level configurable for .tar.gz (#​888)
  • rpm: Refine prefix matching for sub RPMs to reduce fragility (#​879)
  • pkg_install: Add destdir attr & read rel paths. (#​886)
  • pkg_install: Support TreeArtifacts. (#​885)
  • Add support for repo mapping (#​878)

Thanks to all the contributors to this release: Andrea Nardelli,
Chris Bachhuber, Dahan Gong, Eric Wieser, Ivo List, Luis Padron,
Markus Hofbauer, Mateusz Krakowiak, Michael Kelly, Mike Kelly,
Nic, Peter Collingbourne, Thomas Lam, Tony Aiuto, Yun Peng,
jacky8hyf, hcw-g, njlr, Peter Woodman, wade-arista

MODULE.bazel setup

bazel_dep(name = "rules_pkg", version = "1.1.0")

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_pkg",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.1.0/rules_pkg-1.1.0.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/1.1.0/rules_pkg-1.1.0.tar.gz",
    ],
    sha256 = "b7215c636f22c1849f1c3142c72f4b954bb12bb8dcf3cbe229ae6e69cc6479db",
)
load("@​rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

Using the rules

See the source.

v1.0.1

Compare Source

This is the same as the 1.0.0 release, but with the compatibility level set back to 1 to work around bazelbuild/bazel-central-registry#2232

MODULE.bazel setup

bazel_dep(name = "rules_pkg", version = "1.0.1")

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_pkg",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.0.1/rules_pkg-1.0.1.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/1.0.1/rules_pkg-1.0.1.tar.gz",
    ],
    sha256 = "d20c951960ed77cb7b341c2a59488534e494d5ad1d30c4818c736d57772a9fef",
)
load("@​rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

v0.10.1

Compare Source

This is a bug fix release.

Bug Fixes
* Temporarily restore //mappings.bzl and //pkg.bzl (#​817)
* Fix RPM package release and version files expansion (#​816)
* Apply tar remap_paths to runfiles full paths (#​812)
* Use raw string for docstring that contains a backslash (for Python 3.12) (#​815)

Thanks to: Alex Bozhenko, Chuck Grindel, Diego Ortin, and Tomasz Wojno

v0.10.0

Compare Source

New Features

  • Allow $(var) substitution in filenames (#​620)
  • Rough prototype of @​since processing. (#​617)
  • First cut at runfiles support in pkg_* rules (#​605)
  • Allow substitution of user-defined variables in RPM preamble (#​787)
  • Add %posttrans scriptlet to RPM package (#​799)
  • Allow additional RPM macro defines (#​794)
  • Bring tar runfiles up to feature parity with pkg_files.runfiles. (#​754)
  • Add support for Obsoletes tag in RPM definition (#​778)
  • pkg_deb: allow data.tar.zst (#​761)
  • Add support for failing on file conflicts. (#​683)
  • Make pkg_zip compression configurable (#​737)
  • Append changelog to RPM spec file (#​726)
  • Add basic include_runfiles to pkg_files. (#​724)
  • Add changelog attribute to pkg_deb (#​725)
  • Add support for setting uid/gid from pkg_attributes (#​671)

Bug Fixes

  • Explicitly set the FILE bit in zip external attributes. (#​802)
  • Explicitly set %{_builddir} macro (#​792)
  • Only inject pre and post scriptlets when provided (#​788)
  • Don't load cc toolchain from rules_cc (#​779)
  • doc: Fixup external manual references (#​777)
  • Get bzlmod working in CI (#​766)
  • use runfiles from rules_python (#​768)
  • When pkg_tar.prefix_dir == base of symlink path, don't double-dip. (#​749)
  • add imports to fix bazel --noexperimental_python_import_all_repositories flag (#​630)
  • Align pkg_rpm returned files with other rules (#​692)
  • fix(pkg_tar): properly normalize paths for empty files (#​760)
  • Document that package_dir also uses package_variables (#​747)
  • Fix handling paths with whitespaces (#​733)
  • Fix python 3.6, doesn't support compresslevel
  • Use Gzip compress level 6 (#​720)
  • write debian Date field in UTC rather than local time (#​712)
  • [pkg_deb] Fix multiline fields in changes file (#​691)

**Breaking Changes

  • Remove PackageArtifactsInfo. (#​752)

Thanks to: Adam Azarchs, Alex Eagle, August Karlstedt, Austin Schuh, Adrian Vogelsgesang,
flode, Florian Scheibner, Ignas Kaziukėnas, Jean-Hadrien Chabran, Matt,
Mike Kelly, Paul Draper, Sam Schwebach, Tomasz Wojno, and Vertexwahn
for contributions to this release.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from snape as a code owner September 21, 2025 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants