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

fix: regenerate all protos under new namespace #314

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

codyoss
Copy link
Member

@codyoss codyoss commented Jun 16, 2023

This should be wire compat as field numbers did not change and package is not apart of the serialization. I appened .v2 to each proto package so that these protos can register distinctly from the protos that were copied from the v1 library. This removes runtime errors due to double registration of the same messages. Note: I did have to specially regenerate taskqueue with a special built version of protoc-gen-go in order to generate some proto1 legacy message type that is referenced.

Fixes: #311
Fixes: googleapis/google-cloud-go#7760

This should be wire compat as field numbers did not change and
package is not apart of the serialization. I appened `.v2` to each
proto package so that these protos can register distinctly from the
protos that were copied from the v1 library. This removes runtime
errors due to double registration of the same messages. Note: I did
have to specially regenerate taskqueue with a special built version
of protoc-gen-go in order to generate some proto1 legacy message
type that is referenced.

Fixes: golang#311
Fixes: googleapis/google-cloud-go#7760
@codyoss codyoss marked this pull request as ready for review June 16, 2023 16:46
@jinglundong
Copy link
Collaborator

Regarding the CI test failures, it seems like we need to upgrade the python interpreter to python 3. https://github.com/search?q=repo%3Agolang%2Fappengine%20python&type=code. I think it's caused by a recent change in gcloud.

@jinglundong
Copy link
Collaborator

I'm trying to fix the ci tests.

@codyoss
Copy link
Member Author

codyoss commented Jul 10, 2023

@jinglundong Any progress to share. This fix is needed to help people upgrade their dependencies.

@jinglundong jinglundong merged commit 93c9fa1 into golang:master Jul 11, 2023
@jinglundong
Copy link
Collaborator

We will work on the python2-> 3 migration for the CI/CD of this repo.

@jinglundong
Copy link
Collaborator

Giving a shot at #315.

jinglundong pushed a commit that referenced this pull request Jul 11, 2023
This should be wire compat as field numbers did not change and
package is not apart of the serialization. I appened `.v2` to each
proto package so that these protos can register distinctly from the
protos that were copied from the v1 library. This removes runtime
errors due to double registration of the same messages. Note: I did
have to specially regenerate taskqueue with a special built version
of protoc-gen-go in order to generate some proto1 legacy message
type that is referenced.

Fixes: #311
Fixes: googleapis/google-cloud-go#7760
@jinglundong
Copy link
Collaborator

I believe the CI tests are fixed after #315 and #316.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants