-
Notifications
You must be signed in to change notification settings - Fork 49
Transitive dependencies on @bazel_tools make it impossible to use Stardoc #166
Comments
Vote on this issue being looked up. This is especially inconvenient as more and more native rules are migrated to starlark. For example, even |
Registering my interest in this being fixed! We'd love to use Stardoc to document bazelbuild/rules_scala but are currently blocked by this very problem: bazelbuild/rules_scala#133 (comment). |
We at @graknlabs managed to work around this issue by explicitly adding |
This is hitting me when trying to fix rules_python's docgen. I can fix this by adding |
This is also impacting the Asylo project's use of skydoc. Our asylo_deps.bzl file cannot have generated documentation due to the dependence on @bazel_tools//tools/build_defs/repo:http.bzl. The bzl_library target [...]/repo:lib appears to not be accessible to depend on. |
For Bazel 1.0, we export all Starlark files under |
I don't think this is fixed due to the visibility of each bzl_srcs target not being public except for
|
IIUC, instead of depending on |
Currently there's no
bzl_libary
targets for@bazel_tools
, because, well,bzl_libary
is defined inbazel-skylib
, and@bazel_tools
is essentially native.This means that a transitive dependency on
@bazel_tools
will be impossible to resolve.Proposal:
bazel-skylib
defines corebzl_library
targets for the full contents of@bazel_tools
, and then Stardoc targets depend on these libraries by default.(Ideally, the
bzl_library
targets responsible for the direct dependency would declare the dependency, but I think it's safe to pull in bazel's core libraries default for ease of use)The text was updated successfully, but these errors were encountered: