rules_proto icon indicating copy to clipboard operation
rules_proto copied to clipboard

Protocol buffer rules for Bazel

Results 30 rules_proto issues
Sort by recently updated
recently updated
newest added

For some reason, I'm getting an error when trying to deploy to google endpoints. Here is a preview of my WORKSPACE: ``` http_archive( name = "rules_proto", sha256 = "fbf650f1cf4517c894eb0ed1ddf935ac49cd0aa7b111d5de0aad2814decff9d6", strip_prefix...

P4

Generating docs for Protobuf message/services is a common use-case, so it would be nice to provide a way to generate them. I'm a bit on the edge of whether this...

enhancement
P3

Welcome to [Renovate](https://redirect.github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable...

When using `proto_common.compile` on a Windows host the resulting path passed to `plugin_format_flag` uses forward slashes. This is fine for `.exe`, but it breaks for `.bat` plugins. It seems that...

P3

After asking in https://bazelbuild.slack.com/archives/C04281DTLH0/p1716279966809639 I gave it a tried, and it seems to be working. The implementation is based on https://github.com/bazelbuild/rules_python/blob/730a2e39bd2702910f28629d4583b3ec49f4ee5e/python/current_py_toolchain.bzl Tested with the following snippet: ``` load("@rules_proto//proto:defs.bzl", "current_proto_toolchain") current_proto_toolchain(...

Hi! My repository (grpc-gateway) [auto-updated to v6.0.0](https://github.com/grpc-ecosystem/grpc-gateway/pull/4266) a while back but the CI buildifier job started failing, like so: ``` ERROR: error loading package '@@com_github_bazelbuild_buildtools//build_proto': at /github/home/.cache/bazel/_bazel_root/13dc60d22ee138725abf21b91435297b/external/rules_proto/proto/defs.bzl:18:6: at /github/home/.cache/bazel/_bazel_root/13dc60d22ee138725abf21b91435297b/external/rules_proto/proto/proto_toolchain.bzl:17:6: at...

bug
P3

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4093#0191abc3-fcd0-4666-81cc-70fb8587acec Platform: Ubuntu Logs: ``` ERROR: error loading package 'external': Both --enable_bzlmod and --enable_workspace are disabled, but one of them must be enabled to fetch external dependencies. ``` Culprit:...

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4026#01910c21-52f1-4035-b660-2df32df053eb Platform: MacOS, Windows, Ubuntu Logs: ``` ERROR: /Users/buildkite/builds/bk-macos-pln3-i0oq/bazel-org-repo-root/rules_proto/docs/BUILD:3:23: Generating proto for Starlark doc for defs failed: (Exit 1): defs_stardoc failed: error executing Stardoc command (from target //docs:defs) (cd...

P3

## Problem Statement In our project, we prefer to enable strict protobuf validations, with `--fatal_warnings` on for our targets. Currently, we're not able to do so if any of the...

P4