bazel-skylib icon indicating copy to clipboard operation
bazel-skylib copied to clipboard

Common useful functions and rules for Bazel

Results 153 bazel-skylib issues
Sort by recently updated
recently updated
newest added

Incompatible flag --incompatible_disable_depset_items will be enabled by default in a future Bazel release [1], thus breaking Bazel skylib. The flag is documented here: https://github.com/bazelbuild/bazel/issues/9017 Please check the following CI builds...

P4
type: process

Some workflows apply a top level aspect to a build, such as: ``` bazel build //foo:bar --aspect=//baz:my_aspect.bzl%my_aspect ``` It would be nice to have a canonical test rule which would...

type: feature request
P4

I got some feedback today that it was unclear how to access the `target_under_test` target in analysistest (`ctx.attr.analysis_test` returns a list!) We can alleviate some of this confusion with a...

type: feature request
P3

The behavior of `asserts.set_equals` is confusing (it uses old_sets instead of sets) and should be updated.

type: bug
P4

(Maybe this belongs in Bazel's component.) It was mentioned on the Slack that you can't define a bzl_library for your own .bzl files if they load files in @bazel_tools. At...

type: feature request
P4

* [Skylark → Starlark](https://blog.bazel.build/2018/08/17/starlark.html) * Skydoc → [Stardoc](https://github.com/bazelbuild/stardoc) * Skylib → Starlib?

P4
type: process

This process was started in commit 1099dd2 by @thomasvl . 1. Use a `print()` warning. 1. Wait one or two releases. ← we are here. 1. Use a `fail()` error....

P3
type: process

As seen in #49, you can update a .bzl file to add another load statement, but failing to add the dep for the `skylark_library` doesn't cause the build to break....

type: feature request
P4

Now that Bazel ships libraries for all major languages that make it easy to access runfiles by their "runfiles-root-relative path" via the `rlocation` function, it would be very useful if...