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

chore(internal): gen googleapis-discovery compute genproto #4306

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

noahdietz
Copy link
Contributor

Hardcodes go-genproto generation for google/cloud/compute/v1 from googleapis-discovery. We will need to figure out how we support other protos in that repo in the future.

Note: This deos not add gapic gen for compute yet.

Note: compute.pb.go is approximately 158k LoC 😮 .

cc: @vchudnov-g @software-dov

@noahdietz noahdietz requested a review from a team as a code owner June 23, 2021 21:15
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 23, 2021
@codyoss
Copy link
Member

codyoss commented Jun 24, 2021

@noahdietz Can can you rebase this PR now that regen should be unblocked.

@noahdietz
Copy link
Contributor Author

@noahdietz Can can you rebase this PR now that regen should be unblocked.

Done!

})
}
// TODO(noahdietz): This needs to be generalized to support any proto in googleapis-discovery.
Copy link
Member

Choose a reason for hiding this comment

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

We can change the format of the file to have several commits to track if necessary as this is all hand-rolled(no pattern to follow).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I think we may have to eventually. I'm not sure the googleapis-discovery pipeline is fully automated yet, so it's not urgent.

Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@noahdietz noahdietz merged commit 8ebbf6b into googleapis:master Jun 24, 2021
@noahdietz noahdietz deleted the genproto-compute branch June 24, 2021 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants