Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Dec 21, 2025

This PR contains the following updates:

Package Type Update Change
rules_pkg (source) bazel_dep minor 1.1.01.2.0

Release Notes

bazelbuild/rules_pkg (rules_pkg)

v1.2.0

Compare Source

New Features

  • pkg_deb: add support for md5sums control file
  • pkg_deb: Allow for variables in the package name
  • pkg_deb: Overridable debuginfo type
  • pkg_install: Add destdir_flag to pick up destdir from a bazel-skylib.string_flag().
  • pkg_install: support for symlinks
  • pkg_mklink: support raw symlinks from declare_symlink() (Bazel 8+ only)
  • pkg_rpm: "data" attribute to provide files for rpmbuild b
  • pkg_tar: Conditionally preserve file mtime
  • pkg_tar: Support compression_level when using xz
  • pkg_zip: support synlinks

Incompatible Changes

MODULE.bazel setup

bazel_dep(name = "rules_pkg", version = "1.2.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.2.0/rules_pkg-1.2.0.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/1.2.0/rules_pkg-1.2.0.tar.gz",
    ],
    sha256 = "b5c9184a23bb0bcff241981fd9d9e2a97638a1374c9953bb1808836ce711f990",
)
load("@​rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

Using the rules

See the source.

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_pkg@1.1.0...1.2.0


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 this update again.


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

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

@gemini-code-assist
Copy link

Summary of Changes

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the rules_pkg Bazel dependency to its latest minor version, 1.2.0. This upgrade brings a suite of new features and enhancements across various packaging rules, including improved flexibility for DEB and RPM package creation, better handling of symlinks in installation and archiving, and more granular control over tarball compression and file metadata. The update aims to provide more robust and versatile packaging capabilities for Bazel projects.

Highlights

  • Dependency Update: Updates the rules_pkg Bazel dependency from version 1.1.0 to 1.2.0.
  • Enhanced DEB Packaging: Introduces support for MD5 sums in control files, allows variables in package names, and provides an overridable debuginfo type for pkg_deb.
  • Improved Installation Rules: Adds a destdir_flag to pkg_install for picking up destination directories and extends pkg_install and pkg_zip to support symlinks.
  • Flexible RPM and Tar Archiving: Enables a 'data' attribute for pkg_rpm to provide files for rpmbuild, and for pkg_tar, it adds conditional preservation of file modification times and support for compression_level when using xz.
  • Raw Symlink Support: Adds support for raw symlinks from declare_symlink() within pkg_mklink, specifically for Bazel 8+.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the rules_pkg Bazel dependency from version 1.1.0 to 1.2.0. This is a minor version update that, according to the release notes, introduces new features and bug fixes without any incompatible changes. The change is confined to the MODULE.bazel file and appears to be a routine and safe dependency bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-review Awaiting review from Bazel team on PRs

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

1 participant