rules_jsonnet icon indicating copy to clipboard operation
rules_jsonnet copied to clipboard

Jsonnet rules for Bazel

Results 35 rules_jsonnet issues
Sort by recently updated
recently updated
newest added

First of all, thanks for this great rule set. Makes my life a lot easier :+1: We are using jsonnet to build grafana dashboards using the external dependency https://github.com/grafana/grafonnet-lib. Currently,...

When running commands like `npx bazel query --output=graph 'deps(//libs/bazel-rules/kube_app:app_lib)'` where `//libs/bazel-rules/kube_app:app_lib` is a `jsonnet_library` you get the error: >ERROR: /home/f.wiles/.cache/bazel/_bazel_f.wiles/4e95cbad76bfb4ed000904165db39268/external/jsonnet_go/cmd/jsonnet/BUILD.bazel:3:1: no such package '@com_github_fatih_color//': The repository '@com_github_fatih_color' could not be...

Not sure if this is necessary (note the test two above the added test), but it fixes #115.

Current implementation doesn't handle libraries which are generated via different rules (for example genrule) because files generated this way are stored in ctx.bin_dir directory which is not added as an...

cla: yes

This text is in the README for version 0.4.0: ``` http_archive( name = "io_bazel_rules_jsonnet", sha256 = "7f51f859035cd98bcf4f70dedaeaca47fe9fbae6b199882c516d67df416505da", strip_prefix = "rules_jsonnet-0.3.0", urls = ["https://github.com/bazelbuild/rules_jsonnet/archive/0.3.0.tar.gz"], ) load("@io_bazel_rules_jsonnet//jsonnet:jsonnet.bzl", "jsonnet_repositories") jsonnet_repositories() load("@google_jsonnet_go//bazel:repositories.bzl", "jsonnet_go_repositories") jsonnet_go_repositories()...

In light of #139 and #154, I think we should add `import_prefix` and `strip_import_prefix` attrs to `jsonnet_library` to bring virtual includes paths to jsonnet. `proto_library` and `cc_library` had exact same...

I'm trying to find a way to use external libraries that depend on other libraries, where I cannot control the import path. To give you an example, [this library](https://github.com/grafana/jsonnet-libs/blob/master/docker-registry/main.libsonnet) uses...

Hi, I would love to have the rules work with jrsonnet. is there any plan on doing so? If not I am willing to try and tackle it and I...

Due to issue #147 the current release of `rules_jsonnet` is not compatible with the Bazel 5.0.0 release. There is an incompatibility flag that would allow these rules to work, but...

Hello, I am trying to setup the jsonnet bazel rules in the following manner: WORKSPACE: ``` http_archive( name = "bazel_skylib", sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", urls = [ "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", ], )...