prototool
prototool copied to clipboard
Your Swiss Army Knife for Protocol Buffers
This is just a notice that we'll be archiving this repository in a week. If you're an active user, we encourage you to fork the project or use Buf. Thanks!
Hi @[smaye81](https://github.com/uber/prototool/commits?author=smaye81) , please tell me why prototool is no longer supported? Why do you recommend switching to a buf that is not yet in the release? If I submit...
when I run `prototool generate` in my Macbook pro M1 chip, it prints `unsupported value for runtime.GOARCH: arm64`, then I searched the repo and found this function in `internal/protoc/downloader.go`: ```...
This PR provides `format` enhancement for the `optional` proto3 feature, as mentioned in the [#571].
Protobuf allows experimental `optional` fields since v3.12. However, this needs to be specifically enabled in protoc, and prototool doesn't currently seem to allow this. `prototool lint` throws an exit code...
I have a simple `prototool.yaml` ``` --- protoc: version: 3.13.0 lint: group: uber1 ``` How can I add a command line option that is passed to `protoc`?
I have some enums/structs that fail lint in my protobuf, for good reason (e.g. I have an enum called `X509_KEY_USAGE_DATA_ENCIPHERMENT`, and "data encipherment is a phrase taken from IETF spec)....
**Prerequisites:** 1. protoc-gen-go v1.26.0 2. protoc-gen-go-grpc 1.1.0 3. libprotoc 3.12.4 **Steps to reproduce:** 1. `prototool generate ` **Expected results:** Generated protocols. **Actual result:** ``` 2021-07-12T14:03:00.200+0200 WARN protoc returned a line...
Is it possible to use a FileDescriptorSet as input for prototool? I have a FileDescriptorSet which I can use as input to protoc directly, but I like configuring stub generation...