Make .bzl files compatible with future versions of Bazel#726
Make .bzl files compatible with future versions of Bazel#726ianthehat merged 1 commit intobazel-contrib:masterfrom vladmos:lists_plus_equals
Conversation
|
Please release a new version with this update so that it can be imported from other projects that use rules_go, such as rules_webtesting. Thanks. |
|
There are some major changes pending, that may be affected. How do you find which cases need fixing and which don't? |
|
I need to use these changes before a release candidate for Bazel 0.6 is created, which will happen shortly after Bazel 0.5.4 is out. If it's not possible to release rules_go immediately after Bazel 0.5.4 is out it would be nice to have a cherry-pick release, in that case f083e0f should be included there too. Both changes are compatible with old versions (must work with 0.5 at least) so it shouldn't be a problem. I don't think the proto library has incompatible breaking changes. |
* Remove legacy pip_import * Remove legacy pip_import * Generate docs
In Bazel 0.6 the
+=operator on lists will have mutating semantics instead of copying. Some .bzl files have to be updated to be compatible with both semantics.Protobuf is updated for the same reason.