-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This upgrades the minimum go v1.23. Upgrades otel libs to v1.29.0 (latest at go1.21) and the rest to latest. Fixes lint issues. Migrates buf yaml config to v2. --------- Signed-off-by: Edward McFarlane <[email protected]>
- Loading branch information
1 parent
af3ce21
commit 800b6b3
Showing
15 changed files
with
115 additions
and
266 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
version: v1 | ||
version: v2 | ||
managed: | ||
enabled: true | ||
go_package_prefix: | ||
default: connectrpc.com/otelconnect/internal/gen | ||
override: | ||
- file_option: go_package_prefix | ||
value: connectrpc.com/otelconnect/internal/gen | ||
plugins: | ||
- name: go | ||
- local: protoc-gen-go | ||
out: internal/gen | ||
opt: paths=source_relative | ||
- name: connect-go | ||
- local: protoc-gen-connect-go | ||
out: internal/gen | ||
opt: paths=source_relative |
This file was deleted.
Oops, something went wrong.
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,15 @@ | ||
version: v2 | ||
modules: | ||
- path: internal/proto | ||
lint: | ||
use: | ||
- STANDARD | ||
except: | ||
- FIELD_NOT_REQUIRED | ||
- PACKAGE_NO_IMPORT_CYCLE | ||
disallow_comment_ignores: true | ||
breaking: | ||
use: | ||
- WIRE_JSON | ||
except: | ||
- FIELD_SAME_DEFAULT |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,24 +1,27 @@ | ||
module connectrpc.com/otelconnect | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
toolchain go1.23.2 | ||
|
||
require ( | ||
connectrpc.com/connect v1.16.2 | ||
github.com/google/go-cmp v0.5.9 | ||
github.com/stretchr/testify v1.8.4 | ||
go.opentelemetry.io/otel v1.19.0 | ||
go.opentelemetry.io/otel/metric v1.19.0 | ||
go.opentelemetry.io/otel/sdk v1.19.0 | ||
go.opentelemetry.io/otel/sdk/metric v1.19.0 | ||
go.opentelemetry.io/otel/trace v1.19.0 | ||
google.golang.org/protobuf v1.33.0 | ||
connectrpc.com/connect v1.17.0 | ||
github.com/google/go-cmp v0.6.0 | ||
github.com/stretchr/testify v1.9.0 | ||
go.opentelemetry.io/otel v1.29.0 | ||
go.opentelemetry.io/otel/metric v1.29.0 | ||
go.opentelemetry.io/otel/sdk v1.29.0 | ||
go.opentelemetry.io/otel/sdk/metric v1.29.0 | ||
go.opentelemetry.io/otel/trace v1.29.0 | ||
google.golang.org/protobuf v1.35.1 | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-logr/logr v1.2.4 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/sys v0.12.0 // indirect | ||
golang.org/x/sys v0.24.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
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
Oops, something went wrong.