Skip to content

Commit

Permalink
feat: bump vtprotobuf (#225)
Browse files Browse the repository at this point in the history
* build: bump protobuf version

* feat: regenerate modelpb

* build: add vtprotobuf dep

* build: bump linters
  • Loading branch information
kruskall authored May 9, 2024
1 parent be2862d commit 9bbda71
Show file tree
Hide file tree
Showing 80 changed files with 1,919 additions and 2,438 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test:
go test -v -race ./...

fmt:
go run golang.org/x/tools/cmd/goimports@v0.3.0 -w .
go run golang.org/x/tools/cmd/goimports@v0.18.0 -w .

protolint:
docker run --volume "$(PWD):/workspace" --workdir /workspace bufbuild/buf lint model/proto
Expand All @@ -20,7 +20,7 @@ generate_code:
generate: generate_code update-licenses

fieldalignment:
go run golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@v0.4.0 -test=false $(shell go list ./... | grep -v modeldecoder/generator | grep -v test | grep -v model/modelpb)
go run golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@v0.18.0 -test=false $(shell go list ./... | grep -v modeldecoder/generator | grep -v test | grep -v model/modelpb)

update-licenses:
go run github.com/elastic/[email protected] -ext .go .
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
github.com/json-iterator/go v1.1.12
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.98.0
github.com/pkg/errors v0.9.1
github.com/planetscale/vtprotobuf v0.6.0
github.com/stretchr/testify v1.9.0
github.com/xeipuuv/gojsonschema v1.2.0
go.elastic.co/apm/v2 v2.6.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/planetscale/vtprotobuf v0.6.0 h1:nBeETjudeJ5ZgBHUz1fVHvbqUKnYOXNhsIEabROxmNA=
github.com/planetscale/vtprotobuf v0.6.0/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
Expand Down
4 changes: 2 additions & 2 deletions model/modelpb/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

153 changes: 25 additions & 128 deletions model/modelpb/agent_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions model/modelpb/apmevent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9bbda71

Please sign in to comment.