|
| 1 | +# Release 0.3.0 |
| 2 | + |
| 3 | +This release features contributions by the Bazel team and |
| 4 | +andreas-0815-qwertz, Andrew Psaltis, Daniel Sullivan, David Schneider, |
| 5 | +Elliot Murphy, Matthias Frei, Matt Mikitka, Pras Velagapudi, Shimin Guo, |
| 6 | +and Ulf Adams |
| 7 | + |
| 8 | +**New Features** |
| 9 | +- commit a4296dac48144dd839da1f093dce00fd3078eaf5 |
| 10 | + |
| 11 | +- Author: Andrew Psaltis <apsaltis@vmware.com> |
| 12 | + Date: Thu Oct 1 17:55:20 2020 -0400 |
| 13 | + experimental/rpm.bzl: Make compression settings configurable (#240) |
| 14 | + This change adds a new attribute binary_payload_compression to the |
| 15 | + experimental pkg_rpm rule. It is implemented in terms of command-line options |
| 16 | + to rpmbuild(8), which are passed in via make_rpm.py. |
| 17 | + We do this by instructing rpmbuild to define the _binary_payload macro on its command line. Tests are also provided. |
| 18 | + This can also be added to the non-experimental pkg_rpm rule in the future; the |
| 19 | + code would be similar. |
| 20 | + Fixes #239. |
| 21 | +- commit aa18e176673d03f05f1d3f0537bae424cfc225fe |
| 22 | + |
| 23 | +- Author: aiuto <aiuto@google.com> |
| 24 | + Date: Tue Sep 29 22:32:00 2020 -0400 |
| 25 | + Provide capability to rename archives based on configuration values (#198) |
| 26 | + TODO for later |
| 27 | + - create cookbook style examples |
| 28 | + - emit PkgFilegroupInfo when that is available |
| 29 | + - implement for pkg_deb, rpm, zip |
| 30 | +- commit 55a1a9b2eca5b78a44fb940f3143a1d88423c2e2 |
| 31 | + |
| 32 | +- Author: Andrew Psaltis <apsaltis@vmware.com> |
| 33 | + Date: Thu Sep 24 15:16:00 2020 -0400 |
| 34 | + Use symlink actions for RPM packages instead of custom actions (#236) |
| 35 | + Like #232, but in the RPM builders. No other callouts to `ln(1)` are made |
| 36 | + directly by `rules_pkg`. |
| 37 | +- commit effac40a51fea25bd566f266f6b7b1d23327f02a |
| 38 | + |
| 39 | +- Author: aiuto <aiuto@google.com> |
| 40 | + Date: Thu Sep 24 08:16:35 2020 -0400 |
| 41 | + Add LICENSE to distribution tarball (#233) |
| 42 | + Fixes #231 |
| 43 | +- commit bd9c7712163c03133b086e4efa0e19ed802aa956 |
| 44 | + |
| 45 | +- Author: Ulf Adams <ulfjack@users.noreply.github.com> |
| 46 | + Date: Thu Sep 24 03:35:39 2020 +0200 |
| 47 | + Use a symlink action, not a shell script (#232) |
| 48 | + Using a shell script is not portable and also causes issues with |
| 49 | + build-without-the-bytes, which can handle local symlink actions (at least in |
| 50 | + principle), but cannot handle symlinks returned from remote execution. |
| 51 | + Also see https://github.com/bazelbuild/bazel/issues/11532. |
| 52 | +- commit 60fbda7768d16e0c5c87f9efdc775f0586001657 |
| 53 | + |
| 54 | +- Author: Daniel Sullivan <danielalexandersullivan@gmail.com> |
| 55 | + Date: Thu Sep 10 10:00:48 2020 -0400 |
| 56 | + Avoid stripping prefixes with incomplete directory names. |
| 57 | +- commit e0d807d0ec4edfc5370f87259ae3461f86f0edb5 |
| 58 | + |
| 59 | +- Author: David Schneider <dschneider@tableau.com> |
| 60 | + Date: Tue Sep 8 18:02:30 2020 -0700 |
| 61 | + Add attribute strip_prefix to pkg_zip (#221) (#230) |
| 62 | +- commit 2ad5bd8fa4dc034081c616521bc7d6a45eb21818 |
| 63 | + |
| 64 | +- Author: Andrew Psaltis <apsaltis@vmware.com> |
| 65 | + Date: Wed Aug 26 23:02:56 2020 -0400 |
| 66 | + `pkg_rpm_ex`: Provide in-rule dependency specifications (#224) |
| 67 | + This change provides four additional attributes to the experimental `pkg_rpm` |
| 68 | + rule, namely: |
| 69 | + - `conflicts`, `string_list`, corresponding the `Conflicts` tag |
| 70 | + - `provides`, `string_list`, corresponding the `Provides` tag |
| 71 | + - `requires`, `string_list`, corresponding the `Requires` tag |
| 72 | + Additionally: |
| 73 | + - `requires_contextual`, `string_list_dict`, providing the capability to specify |
| 74 | + tags like `Requires(postun)`. |
| 75 | + Unit tests were also provided. Non-rpm input files for the `pkg_rpm_ex` output |
| 76 | + test have now been given the ".csv" extension to better help identify that they |
| 77 | + are delimited files (but not strictly comma-delimited). |
| 78 | + Note that these changes only impact the "strong" dependencies between packages; |
| 79 | + [weak dependencies] like "Suggests" and "Recommends" are not explicitly |
| 80 | + supported, but can be added in the future following a similar pattern. |
| 81 | + Fixes #223. |
| 82 | + [weak dependencies]: https://rpm.org/user_doc/dependencies.html#weak-dependencies |
| 83 | +- commit 30bb5b27d11d117259a41d9356ddce0272932d60 |
| 84 | + |
| 85 | +- Author: Shimin Guo <shimin.guo@mixpanel.com> |
| 86 | + Date: Wed Aug 26 19:30:29 2020 -0700 |
| 87 | + Support "provides" in pkg_deb (#225) |
| 88 | +- commit 569a0e57e98e96f7075f500fcc76609d68b465e2 |
| 89 | + |
| 90 | +- Author: dannysullivan <danielalexandersullivan@gmail.com> |
| 91 | + Date: Mon Aug 24 18:23:12 2020 -0400 |
| 92 | + Avoid stripping prefixes with incomplete directory names. |
| 93 | +- commit f7cec56170384450c06004c37520b72e22952999 |
| 94 | + |
| 95 | +- Author: Daniel Sullivan <danielalexandersullivan@gmail.com> |
| 96 | + Date: Thu Aug 20 10:44:46 2020 -0400 |
| 97 | + Remove support for Python 2 (#222) |
| 98 | +- commit 4ad8aa08e02694b71bfc0713da4793150aa4f4bc |
| 99 | + |
| 100 | +- Author: Tony Aiuto <aiuto@google.com> |
| 101 | + Date: Fri Aug 7 11:46:28 2020 -0400 |
| 102 | + Remove testenv.sh. It is no longer used. |
| 103 | +- commit e1b3bea742bc9b2b9d4c7862deafe82a749386cf |
| 104 | + |
| 105 | +- Author: aiuto <aiuto@google.com> |
| 106 | + Date: Fri Aug 7 11:33:01 2020 -0400 |
| 107 | + use runfiles for pkg_tar_test to enable on Windows (#215) |
| 108 | + This is a precursor to geting pkg_tar_test to run on Windows. |
| 109 | + There are still problems to resolve. |
| 110 | +- commit 933fa6fc7fc49788af04a60558722180818d091f |
| 111 | + |
| 112 | +- Author: aiuto <aiuto@google.com> |
| 113 | + Date: Fri Aug 7 11:22:20 2020 -0400 |
| 114 | + Convert pkg_deb tests from shell to python (#211) |
| 115 | +- commit dbd2c4b1f3186703c0b933429fc03924cafb8e4c |
| 116 | + |
| 117 | +- Author: aiuto <aiuto@google.com> |
| 118 | + Date: Fri Aug 7 11:17:32 2020 -0400 |
| 119 | + write debian control tarball in GNU_FORMAT. (#217) |
| 120 | + This addresses part 1 of #216 |
| 121 | +- commit 5985cfff16486f52bb029edd2732ad5868622b94 |
| 122 | + |
| 123 | +- Author: Andrew Psaltis <apsaltis@vmware.com> |
| 124 | + Date: Mon Aug 3 23:26:00 2020 -0400 |
| 125 | + Consolidate make_rpm.bzl and experimental/make_rpm.bzl (#179) |
| 126 | + * Consolidate make_rpm.bzl and experimental/make_rpm.bzl |
| 127 | + This change consolidates all of new features/fixes from |
| 128 | + pkg/experimental/make_rpm.bzl into pkg/make_rpm.bzl. |
| 129 | + Code used specifically by experimental/rpm.bzl is marked as such, and is grouped |
| 130 | + as to be generally obvious. |
| 131 | + Features now supported by non-experimental `pkg_rpm`: |
| 132 | + - Support for older versions of `rpm(8)` (creation of `RPMS` output directory) |
| 133 | + Features supported by non-experimental `pkg_rpm` not supported by experimental |
| 134 | + `pkg_rpm`: |
| 135 | + - Support for `SOURCE_DATE_EPOCH` |
| 136 | + Fixes #173 |
| 137 | +- commit 4b0b9f4679484f107f750a60190ff5ec6b164a5f |
| 138 | + |
| 139 | +- Author: aiuto <aiuto@google.com> |
| 140 | + Date: Wed Jul 15 14:59:02 2020 -0400 |
| 141 | + Add windows to presubmit tests. (#206) |
| 142 | + * add windows to CI. Not everything, but enough to get started |
| 143 | +- commit dede700a2f4aea9854238cad1833b54585f65d43 |
| 144 | + |
| 145 | +- Author: aiuto <aiuto@google.com> |
| 146 | + Date: Wed Jul 15 12:47:59 2020 -0400 |
| 147 | + Drop dependency on xzcat (#205) |
| 148 | + We simply switch to use tarfile mode 'r:*' so that the Python runtime can pick the correct decompression. |
| 149 | + This simplifies the code enormously. |
| 150 | + The removed lines expressed concerns about the peformance of the python3 implementaion of xz decompression. |
| 151 | + Those comments are fairly old, and were addressed in recent Python implementions as noted here: https://bugs.python.org/issue18003 |
| 152 | +- commit 67d64ba774b3e4c33061cf7a95215112c65657a9 |
| 153 | + |
| 154 | +- Author: aiuto <aiuto@google.com> |
| 155 | + Date: Wed Jul 15 12:21:48 2020 -0400 |
| 156 | + Convert build_tar_test to python for readability and portability (#196) |
| 157 | +- commit 154479d9284535c77a781b5be26354f6d46cfe63 |
| 158 | + |
| 159 | +- Author: Elliot Murphy <statik@users.noreply.github.com> |
| 160 | + Date: Thu Jul 9 16:01:27 2020 -0400 |
| 161 | + Control mode on zip inputs (#96) (#97) |
| 162 | +- commit f00b356970524f53d928503ca5443c6108e883e5 |
| 163 | + |
| 164 | + |
| 165 | +- Author: David Schneider <dschneider@tableau.com> |
| 166 | + Date: Wed Jul 1 07:28:00 2020 -0700 |
| 167 | + Allow custom archive name for pkg_tar, pkg_deb, and pkg_zip targets (#194) |
| 168 | +- commit b5add5bf465c626407ad0ded679a0e2c14dad801 |
| 169 | + |
| 170 | +- Author: aiuto <aiuto@google.com> |
| 171 | + Date: Thu May 28 10:42:00 2020 -0400 |
| 172 | + Add licenses clauses to BUILD files (#186) |
| 173 | +- commit 2977b089a6cd45038d39a5498f0a6cabb11774bf |
| 174 | + |
| 175 | +- Author: aiuto <aiuto@google.com> |
| 176 | + Date: Fri May 22 14:50:42 2020 -0400 |
| 177 | + Add a minimal WORKSPACE file to the distributon. (#182) |
| 178 | + We extract this from the top level workspace so it is easier to keep in sync. |
| 179 | +- commit 808c192a0c48f292e6dfaaeb3bfa3d4378f6996d |
| 180 | + |
| 181 | +- Author: andreas-0815-qwertz <57450822+andreas-0815-qwertz@users.noreply.github.com> |
| 182 | + Date: Tue May 19 18:51:17 2020 +0200 |
| 183 | + Make sequence of filenames in control.tar predictable (#120) |
| 184 | + Replacing plain Python dict by an OrderedDict for Python versions |
| 185 | + before 3.7, so that iteration order of "extrafiles" is determined by |
| 186 | + insertion order. Since 3.7 iteration order of plain dict itself is |
| 187 | + stable. |
| 188 | + https://github.com/bazelbuild/rules_pkg/issues/114 |
| 189 | +- commit eab297c6931260e283a3daaf2cdc438f0c6a1cfc |
| 190 | + |
| 191 | +- Author: Andrew Psaltis <apsaltis@vmware.com> |
| 192 | + Date: Mon May 18 22:40:49 2020 -0400 |
| 193 | + Fix `pkg_rpm` `source_date_epoch` attribute (#176) |
| 194 | + The existing `source_date_epoch` attribute for `pkg_rpm` is passed in as |
| 195 | + an `int`, and is then appended to a string. This, naturally, fails. |
| 196 | + The `int` needs to be stringified first. |
| 197 | + Additionally, since the [SOURCE_DATE_EPOCH] value can be any valid UNIX |
| 198 | + epoch value, account for the possibility of it being set to 0 in the |
| 199 | + Starlark code. |
| 200 | + [SOURCE_DATE_EPOCH]: https://reproducible-builds.org/specs/source-date-epoch/#idm55 |
| 201 | +- commit ec802488edc1a0594b019fadf1794f13b434b365 |
| 202 | + |
| 203 | +- Author: Andrew Psaltis <apsaltis@vmware.com> |
| 204 | + Date: Fri Apr 10 10:33:50 2020 -0400 |
| 205 | + Provide pkg_mklinks for creation of in-package symbolic links |
| 206 | + Symbolic links are often included within packages, referring to files and |
| 207 | + directories within and without. |
| 208 | + This commit provides a rule, `pkg_mklinks`, which allows for the creation of |
| 209 | + arbitrary symbolic links within a package, and support within the experimental |
| 210 | + `pkg_rpm` rule to emit them. |
| 211 | + `buildifier` was also opportunistically applied to files in this change. |
| 212 | +- commit b20c45f292be6c74d2f0d829ba02c83dbe271195 |
| 213 | + |
1 | 214 | # Release 0.2.6 |
2 | 215 |
|
3 | 216 | **New Features** |
|
0 commit comments