Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove enumvalue_customname, goproto_enum_prefix and enum_customname #6708

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

kzys
Copy link
Member

@kzys kzys commented Mar 21, 2022

This commit removes gogoproto.enumvalue_customname,
gogoproto.goproto_enum_prefix and gogoproto.enum_customname.

All of them make proto-generated Go code more idiomatic, but we already
don't use these enums in our external-surfacing types and they are anyway
not supported by Google's official toolchain (see #6564).

Signed-off-by: Kazuyoshi Kato katokazu@amazon.com

@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

@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 21, 2022

Build succeeded.

This commit removes gogoproto.enumvalue_customname,
gogoproto.goproto_enum_prefix and gogoproto.enum_customname.

All of them make proto-generated Go code more idiomatic, but we already
don't use these enums in our external-surfacing types and they are anyway
not supported by Google's official toolchain (see containerd#6564).

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
@kzys kzys force-pushed the remove-enum-customization branch from 1a8f0f3 to 067611f Compare March 21, 2022 19:48
@kzys kzys marked this pull request as ready for review March 21, 2022 19:57
@theopenlab-ci
Copy link

theopenlab-ci bot commented Mar 21, 2022

Build succeeded.

@kzys kzys added this to New in Code Review via automation Mar 21, 2022
@dmcgowan dmcgowan moved this from New to Ready For Review in Code Review Mar 21, 2022
@dmcgowan dmcgowan added this to the 1.7 milestone Mar 21, 2022
Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

None yet

4 participants