Skip to content

Tags: luispadron/rules_pkg

Tags

1.0.1

Toggle 1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revert compatibility_level back to 1 so we can push to BCR. (bazelbui…

…ld#877)

* Revert compatibility_level back to 1 so we can push to BCR.

See bazelbuild/bazel-central-registry#2232
for discussion.

* update version#

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1.0 release (bazelbuild#869)

0.10.1

Toggle 0.10.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update changelog and version numbers. (bazelbuild#819)

* update changelog

* freshdocs

0.10.0

Toggle 0.10.0's commit message
**New Features**

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

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

**Incompatible Changes**
-   Remove PackageArtifactsInfo. (bazelbuild#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, Vertexwahn

**MODULE.bazel setup**

```
bazel_dep(name = "rules_pkg", version = "0.10.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/0.10.0/rules_pkg-0.10.0.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/0.10.0/rules_pkg-0.10.0.tar.gz",
    ],
    sha256 = "e93b7309591cabd68828a1bcddade1c158954d323be2205063e718763627682a",
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

```

**Using the rules**

See [the source](https://github.com/bazelbuild/rules_pkg/tree/0.10.0).

0.9.1

Toggle 0.9.1's commit message
update ver

0.9.0

Toggle 0.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
add MODULE.bazel (bazelbuild#690)

* add MODULE.bazel

0.8.1

Toggle 0.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
update version to 8.1 to sync with bzlmod (bazelbuild#665)

0.8.0

Toggle 0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
update version and changelog for release (bazelbuild#633)

* update version and changelog for release
* fix a brittle test that depended on rules python internals. It fails depending on which Bazel you use, even though the rule is doing the right thing.

Force merge so I can get the release to unblock last minute bazelcon demos.

0.7.1

Toggle 0.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
bump version for patch release (bazelbuild#614)

0.7.0

Toggle 0.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
R7 (bazelbuild#575)

* update README and docs for 0.7.0