[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
bazelbuild/rules_pkg (rules_pkg)
### [`v1.0.0`](https://togithub.com/bazelbuild/rules_pkg/releases/tag/1.0.0)
[Compare Source](https://togithub.com/bazelbuild/rules_pkg/compare/0.10.1...1.0.0)
**New Features**
- Support duplicate paths in tar archives ([#850](https://togithub.com/bazelbuild/rules_pkg/issues/850))
- pkg_rpm
- Add support for generating debuginfo RPMs ([#842](https://togithub.com/bazelbuild/rules_pkg/issues/842))
- Add support for "Epoch" attributes in RPMs ([#858](https://togithub.com/bazelbuild/rules_pkg/issues/858))
- Add pkg_sub_rpm rule for RPM subpackages ([#824](https://togithub.com/bazelbuild/rules_pkg/issues/824))
- Enable pkg_rpm and pkg_subrpm to create empty RPMs ([#859](https://togithub.com/bazelbuild/rules_pkg/issues/859))
- Add conflicts and obsoletes to sub RPMs ([#851](https://togithub.com/bazelbuild/rules_pkg/issues/851))
- Add %posttrans scriptlet to RPM package ([#799](https://togithub.com/bazelbuild/rules_pkg/issues/799))
- Add support for `Obsoletes` tag in RPM definition ([#778](https://togithub.com/bazelbuild/rules_pkg/issues/778))
**Incompatible Changes**
- Append workspace name to the runfiles directory name for `pkg_files` ([#864](https://togithub.com/bazelbuild/rules_pkg/issues/864))
- Update to new stardoc so we can work with bzlmod. ([#853](https://togithub.com/bazelbuild/rules_pkg/issues/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](https://togithub.com/bazelbuild/rules_pkg/tree/1.0.0).
#### What's Changed (in a little more detail)
- Provide more examples for pkg_rpm() by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/823](https://togithub.com/bazelbuild/rules_pkg/pull/823)
- fix: remove unused glob patterns by [@dieortin](https://togithub.com/dieortin) in [https://github.com/bazelbuild/rules_pkg/pull/825](https://togithub.com/bazelbuild/rules_pkg/pull/825)
- Add pkg_sub_rpm rule for RPM subpackages by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/824](https://togithub.com/bazelbuild/rules_pkg/pull/824)
- lint nits by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/831](https://togithub.com/bazelbuild/rules_pkg/pull/831)
- Remove expand_yml.py. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/837](https://togithub.com/bazelbuild/rules_pkg/pull/837)
- Add support for no parent directory inference ([#832](https://togithub.com/bazelbuild/rules_pkg/issues/832)) by [@eejayes](https://togithub.com/eejayes) in [https://github.com/bazelbuild/rules_pkg/pull/834](https://togithub.com/bazelbuild/rules_pkg/pull/834)
- Stop using datetime.utcfromtimestamp() by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/838](https://togithub.com/bazelbuild/rules_pkg/pull/838)
- update scorecard workflow to newer nodejs setup by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/839](https://togithub.com/bazelbuild/rules_pkg/pull/839)
- Update scorecard.yml to new checkout and analysis actions. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/840](https://togithub.com/bazelbuild/rules_pkg/pull/840)
- Improve handling of sub rpms. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/833](https://togithub.com/bazelbuild/rules_pkg/pull/833)
- use sys.exit() instead of exit() by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/844](https://togithub.com/bazelbuild/rules_pkg/pull/844)
- trying scorecard update one more time by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/841](https://togithub.com/bazelbuild/rules_pkg/pull/841)
- Indirect .files_to_run and .default_runfiles through DefaultInfo. by [@lberki](https://togithub.com/lberki) in [https://github.com/bazelbuild/rules_pkg/pull/848](https://togithub.com/bazelbuild/rules_pkg/pull/848)
- rpm: Add conflicts and obsoletes to sub RPMs by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/851](https://togithub.com/bazelbuild/rules_pkg/pull/851)
- Force stardoc integration test to run with bazel 7.0.0 by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/852](https://togithub.com/bazelbuild/rules_pkg/pull/852)
- Start removing licenses(notice) and replacing with license() by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/742](https://togithub.com/bazelbuild/rules_pkg/pull/742)
- Update to new stardoc so we can work with bzlmod. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/853](https://togithub.com/bazelbuild/rules_pkg/pull/853)
- create empty MODULE.bazel files in examples so bazel does not complain by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/855](https://togithub.com/bazelbuild/rules_pkg/pull/855)
- pkg_tar: if symlink starts with ./, keep it absolute by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/854](https://togithub.com/bazelbuild/rules_pkg/pull/854)
- Enable pkg_rpm and pkg_subrpm to create empty RPMs by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/859](https://togithub.com/bazelbuild/rules_pkg/pull/859)
- Append the workspace name to the runfiles directory name by [@EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_pkg/pull/856](https://togithub.com/bazelbuild/rules_pkg/pull/856)
- Add support for generating debuginfo RPMs by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/842](https://togithub.com/bazelbuild/rules_pkg/pull/842)
- Add support for "Epoch" attributes in RPMs by [@TvdW](https://togithub.com/TvdW) in [https://github.com/bazelbuild/rules_pkg/pull/858](https://togithub.com/bazelbuild/rules_pkg/pull/858)
- fix: Not all runfiles are single files by [@ewianda](https://togithub.com/ewianda) in [https://github.com/bazelbuild/rules_pkg/pull/860](https://togithub.com/bazelbuild/rules_pkg/pull/860)
- Exclude release from filename when using release_file by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/863](https://togithub.com/bazelbuild/rules_pkg/pull/863)
- Append workspace name to the runfiles directory name for `pkg_files` by [@sitaktif](https://togithub.com/sitaktif) in [https://github.com/bazelbuild/rules_pkg/pull/864](https://togithub.com/bazelbuild/rules_pkg/pull/864)
- Support duplicate file paths in tar archives by [@eejayes](https://togithub.com/eejayes) in [https://github.com/bazelbuild/rules_pkg/pull/850](https://togithub.com/bazelbuild/rules_pkg/pull/850)
- 1.0 release by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/869](https://togithub.com/bazelbuild/rules_pkg/pull/869)
#### New Contributors
- [@eejayes](https://togithub.com/eejayes) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/834](https://togithub.com/bazelbuild/rules_pkg/pull/834)
- [@EdSchouten](https://togithub.com/EdSchouten) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/856](https://togithub.com/bazelbuild/rules_pkg/pull/856)
- [@TvdW](https://togithub.com/TvdW) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/858](https://togithub.com/bazelbuild/rules_pkg/pull/858)
- [@ewianda](https://togithub.com/ewianda) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/860](https://togithub.com/bazelbuild/rules_pkg/pull/860)
- [@sitaktif](https://togithub.com/sitaktif) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/864](https://togithub.com/bazelbuild/rules_pkg/pull/864)
**Full Changelog**: https://github.com/bazelbuild/rules_pkg/compare/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 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.10.1
->1.0.0
Release Notes
bazelbuild/rules_pkg (rules_pkg)
### [`v1.0.0`](https://togithub.com/bazelbuild/rules_pkg/releases/tag/1.0.0) [Compare Source](https://togithub.com/bazelbuild/rules_pkg/compare/0.10.1...1.0.0) **New Features** - Support duplicate paths in tar archives ([#850](https://togithub.com/bazelbuild/rules_pkg/issues/850)) - pkg_rpm - Add support for generating debuginfo RPMs ([#842](https://togithub.com/bazelbuild/rules_pkg/issues/842)) - Add support for "Epoch" attributes in RPMs ([#858](https://togithub.com/bazelbuild/rules_pkg/issues/858)) - Add pkg_sub_rpm rule for RPM subpackages ([#824](https://togithub.com/bazelbuild/rules_pkg/issues/824)) - Enable pkg_rpm and pkg_subrpm to create empty RPMs ([#859](https://togithub.com/bazelbuild/rules_pkg/issues/859)) - Add conflicts and obsoletes to sub RPMs ([#851](https://togithub.com/bazelbuild/rules_pkg/issues/851)) - Add %posttrans scriptlet to RPM package ([#799](https://togithub.com/bazelbuild/rules_pkg/issues/799)) - Add support for `Obsoletes` tag in RPM definition ([#778](https://togithub.com/bazelbuild/rules_pkg/issues/778)) **Incompatible Changes** - Append workspace name to the runfiles directory name for `pkg_files` ([#864](https://togithub.com/bazelbuild/rules_pkg/issues/864)) - Update to new stardoc so we can work with bzlmod. ([#853](https://togithub.com/bazelbuild/rules_pkg/issues/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](https://togithub.com/bazelbuild/rules_pkg/tree/1.0.0). #### What's Changed (in a little more detail) - Provide more examples for pkg_rpm() by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/823](https://togithub.com/bazelbuild/rules_pkg/pull/823) - fix: remove unused glob patterns by [@dieortin](https://togithub.com/dieortin) in [https://github.com/bazelbuild/rules_pkg/pull/825](https://togithub.com/bazelbuild/rules_pkg/pull/825) - Add pkg_sub_rpm rule for RPM subpackages by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/824](https://togithub.com/bazelbuild/rules_pkg/pull/824) - lint nits by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/831](https://togithub.com/bazelbuild/rules_pkg/pull/831) - Remove expand_yml.py. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/837](https://togithub.com/bazelbuild/rules_pkg/pull/837) - Add support for no parent directory inference ([#832](https://togithub.com/bazelbuild/rules_pkg/issues/832)) by [@eejayes](https://togithub.com/eejayes) in [https://github.com/bazelbuild/rules_pkg/pull/834](https://togithub.com/bazelbuild/rules_pkg/pull/834) - Stop using datetime.utcfromtimestamp() by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/838](https://togithub.com/bazelbuild/rules_pkg/pull/838) - update scorecard workflow to newer nodejs setup by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/839](https://togithub.com/bazelbuild/rules_pkg/pull/839) - Update scorecard.yml to new checkout and analysis actions. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/840](https://togithub.com/bazelbuild/rules_pkg/pull/840) - Improve handling of sub rpms. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/833](https://togithub.com/bazelbuild/rules_pkg/pull/833) - use sys.exit() instead of exit() by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/844](https://togithub.com/bazelbuild/rules_pkg/pull/844) - trying scorecard update one more time by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/841](https://togithub.com/bazelbuild/rules_pkg/pull/841) - Indirect .files_to_run and .default_runfiles through DefaultInfo. by [@lberki](https://togithub.com/lberki) in [https://github.com/bazelbuild/rules_pkg/pull/848](https://togithub.com/bazelbuild/rules_pkg/pull/848) - rpm: Add conflicts and obsoletes to sub RPMs by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/851](https://togithub.com/bazelbuild/rules_pkg/pull/851) - Force stardoc integration test to run with bazel 7.0.0 by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/852](https://togithub.com/bazelbuild/rules_pkg/pull/852) - Start removing licenses(notice) and replacing with license() by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/742](https://togithub.com/bazelbuild/rules_pkg/pull/742) - Update to new stardoc so we can work with bzlmod. by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/853](https://togithub.com/bazelbuild/rules_pkg/pull/853) - create empty MODULE.bazel files in examples so bazel does not complain by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/855](https://togithub.com/bazelbuild/rules_pkg/pull/855) - pkg_tar: if symlink starts with ./, keep it absolute by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/854](https://togithub.com/bazelbuild/rules_pkg/pull/854) - Enable pkg_rpm and pkg_subrpm to create empty RPMs by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/859](https://togithub.com/bazelbuild/rules_pkg/pull/859) - Append the workspace name to the runfiles directory name by [@EdSchouten](https://togithub.com/EdSchouten) in [https://github.com/bazelbuild/rules_pkg/pull/856](https://togithub.com/bazelbuild/rules_pkg/pull/856) - Add support for generating debuginfo RPMs by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/842](https://togithub.com/bazelbuild/rules_pkg/pull/842) - Add support for "Epoch" attributes in RPMs by [@TvdW](https://togithub.com/TvdW) in [https://github.com/bazelbuild/rules_pkg/pull/858](https://togithub.com/bazelbuild/rules_pkg/pull/858) - fix: Not all runfiles are single files by [@ewianda](https://togithub.com/ewianda) in [https://github.com/bazelbuild/rules_pkg/pull/860](https://togithub.com/bazelbuild/rules_pkg/pull/860) - Exclude release from filename when using release_file by [@kellyma2](https://togithub.com/kellyma2) in [https://github.com/bazelbuild/rules_pkg/pull/863](https://togithub.com/bazelbuild/rules_pkg/pull/863) - Append workspace name to the runfiles directory name for `pkg_files` by [@sitaktif](https://togithub.com/sitaktif) in [https://github.com/bazelbuild/rules_pkg/pull/864](https://togithub.com/bazelbuild/rules_pkg/pull/864) - Support duplicate file paths in tar archives by [@eejayes](https://togithub.com/eejayes) in [https://github.com/bazelbuild/rules_pkg/pull/850](https://togithub.com/bazelbuild/rules_pkg/pull/850) - 1.0 release by [@aiuto](https://togithub.com/aiuto) in [https://github.com/bazelbuild/rules_pkg/pull/869](https://togithub.com/bazelbuild/rules_pkg/pull/869) #### New Contributors - [@eejayes](https://togithub.com/eejayes) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/834](https://togithub.com/bazelbuild/rules_pkg/pull/834) - [@EdSchouten](https://togithub.com/EdSchouten) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/856](https://togithub.com/bazelbuild/rules_pkg/pull/856) - [@TvdW](https://togithub.com/TvdW) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/858](https://togithub.com/bazelbuild/rules_pkg/pull/858) - [@ewianda](https://togithub.com/ewianda) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/860](https://togithub.com/bazelbuild/rules_pkg/pull/860) - [@sitaktif](https://togithub.com/sitaktif) made their first contribution in [https://github.com/bazelbuild/rules_pkg/pull/864](https://togithub.com/bazelbuild/rules_pkg/pull/864) **Full Changelog**: https://github.com/bazelbuild/rules_pkg/compare/0.10.1...1.0.0Configuration
š 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.
This PR has been generated by Mend Renovate. View repository job log here.