-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's annoying to get a recent protoc on LTS versions of Ubuntu, so I thought I'd support my friends over at Buf and try out their tool. Turns out that I had a lot of protobuf that didn't meet Peter's bar :) This commit fixes all the lint errors, fixes the resulting build errors, and moves the Makefile to use a locally-installed buf. This diff is unmanageably enormous, but this is a personal project free of the tyranny of code review. Overall, buf is pretty nice. I can't find a way to skip gRPC and Twirp codegen in the main module, so I'm just deleting the unwanted files. I chimed in on bufbuild/buf#224 to see if they're willing to add an allowlist.
- Loading branch information
1 parent
513c262
commit 0ec8298
Showing
40 changed files
with
2,117 additions
and
1,774 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.bin filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
bin/ | ||
cover.out | ||
internal/crosstest/crosspb/.faux | ||
internal/pingpb/.faux | ||
internal/statuspb/.faux | ||
todo | ||
.faux.pb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: v1beta1 | ||
plugins: | ||
- name: go | ||
out: . | ||
opt: paths=source_relative | ||
- name: go-grpc | ||
out: . | ||
opt: paths=source_relative | ||
path: ./bin/protoc-gen-go-grpc | ||
- name: twirp | ||
out: . | ||
opt: paths=source_relative | ||
path: ./bin/protoc-gen-twirp | ||
- name: go-rerpc | ||
out: . | ||
opt: paths=source_relative | ||
path: ./bin/protoc-gen-go-rerpc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: v1beta1 | ||
lint: | ||
use: | ||
- DEFAULT | ||
breaking: | ||
use: | ||
- WIRE_JSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
Oops, something went wrong.