Skip to content

Conversation

@kzys
Copy link
Member

@kzys kzys commented Apr 21, 2022

This PR migrates containerd off from github.com/gogo/protobuf.

This PR touches 160+ files, but many of them are auto-generated and they are in "make protos" and "go mod tidy and go mod vendor" commits. It would be easier to review commit-by-commit (and skimming them) rather than reviewing the whole PR in "Files changed" tab.

@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kzys kzys force-pushed the proto-upgrade-6 branch 9 times, most recently from daedf7b to 84d2248 Compare April 21, 2022 15:06
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 21, 2022

Build succeeded.

@kzys kzys force-pushed the proto-upgrade-6 branch 3 times, most recently from 314eb2c to e656e08 Compare April 21, 2022 15:50
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 21, 2022

Build succeeded.

@kzys kzys force-pushed the proto-upgrade-6 branch 2 times, most recently from d188149 to ecf23ba Compare April 21, 2022 17:40
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 21, 2022

Build succeeded.

@kzys kzys force-pushed the proto-upgrade-6 branch 3 times, most recently from 060c567 to a0403dc Compare April 21, 2022 19:29
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 21, 2022

Build succeeded.

@kzys kzys force-pushed the proto-upgrade-6 branch 2 times, most recently from e918c36 to e0a69c0 Compare April 21, 2022 20:06
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 21, 2022

Build succeeded.

@kzys kzys force-pushed the proto-upgrade-6 branch from e0a69c0 to 15fcce0 Compare April 21, 2022 20:35
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 21, 2022

Build succeeded.

@kzys kzys force-pushed the proto-upgrade-6 branch from 15fcce0 to 9e3db00 Compare April 21, 2022 21:04
@dmcgowan dmcgowan added this to the 1.7 milestone Apr 21, 2022
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 21, 2022

Build succeeded.

Kazuyoshi Kato added 5 commits April 22, 2022 15:31
protoc-gen-go-ttrpc's generated Go code doesn't work with ttrpc v1.1.0.

Signed-off-by: Kazuyoshi Kato <[email protected]>
This commit migrates containerd/protobuf from github.com/gogo/protobuf
to google.golang.org/protobuf and adjust types. Proto-generated structs
cannot be passed as values.

Fixes containerd#6564.

Signed-off-by: Kazuyoshi Kato <[email protected]>
Previouslty "Size" was reserved by protoc-gen-gogoctrd and user-generated
"Size" was automatically renamed to "Size_" to avoid conflicts.

Signed-off-by: Kazuyoshi Kato <[email protected]>
Signed-off-by: Kazuyoshi Kato <[email protected]>
@kzys kzys force-pushed the proto-upgrade-6 branch from 9e3db00 to eb07ac0 Compare April 22, 2022 15:40
Kazuyoshi Kato added 3 commits April 22, 2022 15:40
containerd/typeurl#35 is needed to handle
types generated by protoc-gen-go.

Signed-off-by: Kazuyoshi Kato <[email protected]>
Signed-off-by: Kazuyoshi Kato <[email protected]>
Signed-off-by: Kazuyoshi Kato <[email protected]>
@kzys kzys force-pushed the proto-upgrade-6 branch from eb07ac0 to 7a4f81d Compare April 22, 2022 15:41
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 22, 2022

Build succeeded.

@kzys
Copy link
Member Author

kzys commented Apr 22, 2022

Since containerd/typeurl#35 has been merged (with only one review, sorry), this is ready for review and merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants