What is the problem you're trying to solve
We'd like to migrate off from github.com/gogo/protobuf. The package is looking for owners since 2020 and no longer compatible with https://go.dev/blog/protobuf-apiv2.
This is the master ticket to associate all PRs related to the migration.
Describe the solution you'd like
Use google.golang.org/protobuf instead.
We have removed gogo/protobuf and upgraded protobuf on the following packages.
https://github.com/containerd/protobuild
https://github.com/containerd/ttrpc
gogo/protobuf's code generation extension
There are multiple gogo/protobuf extensions which don't work with protoc-gen-go. That being said, those types are mostly invisible from our Go client. So we might be able to just follow Google's new convention (e.g. using protobuf's Time instead time.Time) instead of making them fully Go-idiomatic.
Addressed
Fixed by #6699
- gogoproto.customtype (10): All of them are used to use
github.com/opencontainers/go-digest.Digest instead of string.
Fixed by #6708
What is the problem you're trying to solve
We'd like to migrate off from github.com/gogo/protobuf. The package is looking for owners since 2020 and no longer compatible with https://go.dev/blog/protobuf-apiv2.
This is the master ticket to associate all PRs related to the migration.
Describe the solution you'd like
Use google.golang.org/protobuf instead.
We have removed gogo/protobuf and upgraded protobuf on the following packages.
https://github.com/containerd/protobuild
https://github.com/containerd/ttrpc
gogo/protobuf's code generation extension
There are multiple gogo/protobuf extensions which don't work with protoc-gen-go. That being said, those types are mostly invisible from our Go client. So we might be able to just follow Google's new convention (e.g. using protobuf's Time instead time.Time) instead of making them fully Go-idiomatic.
cpuin proto becomesCpu, notCPU. We are discussing about the issue in protoc-gen-gogoctrd wouldn't work without gogo/protobuf #6219.Addressed
Fixed by #6699
github.com/opencontainers/go-digest.Digestinstead of string.Fixed by #6708