rules_proto
rules_proto copied to clipboard
Protocol buffer rules for Bazel
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...
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...
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) Welcome to [Renovate](https://togithub.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....
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...
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...