keyservice: update protobuf to an recent release#1576
Closed
Foxboron wants to merge 1 commit intogetsops:mainfrom
Closed
keyservice: update protobuf to an recent release#1576Foxboron wants to merge 1 commit intogetsops:mainfrom
Foxboron wants to merge 1 commit intogetsops:mainfrom
Conversation
Signed-off-by: Morten Linderud <morten@linderud.pw>
felixfontein
reviewed
Sep 8, 2024
Contributor
felixfontein
left a comment
There was a problem hiding this comment.
Thanks for your contribution! Sorry it took me so long to take a closer look...
|
|
||
| %.pb.go: %.proto | ||
| protoc --go_out=plugins=grpc:. $< | ||
| protoc --go_grpc_opt=require_unimplemented_servers=false --go_grpc_out=. --go_out=. $< |
Contributor
There was a problem hiding this comment.
I can't get this working with go_grpc, I have to use go-grpc:
Suggested change
| protoc --go_grpc_opt=require_unimplemented_servers=false --go_grpc_out=. --go_out=. $< | |
| protoc --go-grpc_opt=require_unimplemented_servers=false --go-grpc_out=. --go_out=. $< |
I installed it with go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest (and go install google.golang.org/protobuf/cmd/protoc-gen-go@latest).
(With the latest version the generated files also look differently.)
Contributor
Author
There was a problem hiding this comment.
I'll take another stab at this then.
This was referenced Dec 1, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm unable to build this project with a recent version of protobuf and it seems like this hasn't been updated in a while.
In an effort to try make it buildable here is the needed patches.