rules_buf icon indicating copy to clipboard operation
rules_buf copied to clipboard

Bazel rules for Buf.

Results 31 rules_buf issues
Sort by recently updated
recently updated
newest added

I started to use rules_rust, which uses rules_buf. I also use bzlmod and download all dependencies ahead of time to support builds without internet access. For this to work, all...

Under bazel 7.1, I am seeing the following error when running the buf proto lint tests. Under Bazel 6.4 the same test targets pass. ``` Could not find file in...

I think having a bazel rule that can create the buf image for a target is going to be extremely useful. Without it, I have to repeat all the bazel...

At present the [docs for bazel ](https://buf.build/docs/build-systems/bazel/) are written in the context of `WORKSPACE`. `WORKSPACE` is now considered legacy and has been replaced with `bzlmod`. It would be good if...

The Gazelle plugin at the moment only works on `buf_dependencies` when running `update-repos`, which is mostly geared to `WORKSPACE`-based projects. There is support to pull in Buf dependencies in a...

This is kind of a big change. Key takeaways: - Use a single toolchain type, having 3 for 3 different tools is unnecessary, especially since everything is downloaded together -...

Gazelle incorrectly falls back to a matching `buf_dependencies` rule without checking if the file is actually part of the dependency tree. This only happens if the file is not found...

Given a proto: ```proto version: v1 lint: use: - DEFAULT allow_comment_ignores: true ignore: - IMPORT_USED ``` And a `buf.yaml` ```yaml syntax = "proto3"; // buf:lint:ignore IMPORT_USED import "unused.proto"; import "validate/validate.proto";...

From [the docs](https://bazel.build/rules/lib/builtins/repository_ctx#download): `default is ''. If set, restrict cache hits to those cases where the file was added to the cache with the same canonical id` With `http_archive`, the...

Currently, rules_buf only uses gazelle via the `@go_repository_tools` repo to generate the `proto_library` rules. It would be nice if we could also use the repository gazelle to also generate all...