Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency rules_pkg to v1 #111

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2024

This PR contains the following updates:

Package Type Update Change
rules_pkg http_archive major 0.10.1 -> 1.0.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

bazelbuild/rules_pkg (rules_pkg)

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 https://github.com/bazelbuild/bazel-central-registry/issues/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()

v1.0.0

Compare Source

New Features

  • Support duplicate paths in tar archives (#​850)
  • pkg_rpm
    • Add support for generating debuginfo RPMs (#​842)
    • Add support for "Epoch" attributes in RPMs (#​858)
    • Add pkg_sub_rpm rule for RPM subpackages (#​824)
    • Enable pkg_rpm and pkg_subrpm to create empty RPMs (#​859)
    • Add conflicts and obsoletes to sub RPMs (#​851)
    • Add %posttrans scriptlet to RPM package (#​799)
    • Add support for Obsoletes tag in RPM definition (#​778)

Incompatible Changes

  • Append workspace name to the runfiles directory name for pkg_files (#​864)
  • Update to new stardoc so we can work with bzlmod. (#​853)
    Not really incompatible by itself, but it does mean that development of
    rules_pkg itself without bzlmod is now unsupported.
  • Various fixes and improvements to pkg_rpm have probably broken someone's
    workflow. YMMV
  • Lots of bug fixes have made undefined behavior explicit. This also probably
    breaks someone's workflow. YMMV
  • Bzlmod compatibility level 2, so you may have to explicitly upgrade.

MODULE.bazel setup

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

WORKSPACE setup

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

Using the rules

See the source.

What's Changed (in a little more detail)

New Contributors

Full Changelog: bazelbuild/rules_pkg@0.10.1...1.0.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 is behind base branch, 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.

@renovate renovate bot requested a review from a team August 26, 2024 11:38
@renovate renovate bot force-pushed the renovate/rules_pkg-1.x branch 2 times, most recently from 6ccdaf6 to 4e637c5 Compare September 29, 2024 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants