Skip to content

Commit b1347fb

Browse files
authored
Upgrade to latest protoc and protoc-gen-go (letsencrypt#4794)
There are some changes to the code generated in the latest version, so this modifies every .pb.go file. Also, the way protoc-gen-go decides where to put files has changed, so each generate.go gets the --go_opt=paths=source_relative flag to tell protoc to continue placing output next to the input. Remove staticcheck from build.sh; we get it via golangci-lint now. Pass --no-document to gem install fpm; this is recommended in the fpm docs.
1 parent b385604 commit b1347fb

File tree

191 files changed

+37684
-15748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+37684
-15748
lines changed

akamai/proto/akamai.pb.go

Lines changed: 134 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

akamai/proto/akamai.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
syntax = "proto2";
22

33
package akamai;
4-
option go_package = "proto";
4+
option go_package = "github.com/letsencrypt/boulder/akamai/proto";
55

66
import "core/proto/core.proto";
77

akamai/proto/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package proto
22

3-
//go:generate sh -c "cd ../.. && protoc --go_out=plugins=grpc,Mcore/proto/core.proto=github.com/letsencrypt/boulder/core/proto:. akamai/proto/akamai.proto"
3+
//go:generate sh -c "cd ../.. && protoc --go_opt=paths=source_relative --go_out=plugins=grpc,Mcore/proto/core.proto=github.com/letsencrypt/boulder/core/proto:. akamai/proto/akamai.proto"

0 commit comments

Comments
 (0)