-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Migrate away from gogo #3119
Comments
I took a look in the past to migrate away from Links
Alternativesvtprotobuf migrations in the wild |
Since this would likely be such a breaking change, I wonder if we should save this for if/when we hit buildkit 1.0? Without a breaking change, we'd need to support both the old protobuf and the protobuf for a few versions, and somehow determine between them, which sounds messy. |
I heard of another alternative: https://github.com/CrowdStrike/csproto @tonistiigi What should we do? |
Are the alternatives compatible on the wire? If not then this will be tricky and if we ever change we should reevaluate the whole grpc story. If compatibility is maintained then I don't have any desire to keep gogo. Compatibility on Go API level is not important. |
https://github.com/CrowdStrike/csproto/blob/main/docs/migration_guide.md says "csproto is designed to, as mush as possible, be a drop-in replacement" |
Unfortunately, if you are currently using the more advanced code generation enabled by
buildkit/solver/pb/generate.go Line 3 in 4410c82
https://github.com/moby/buildkit/search?q=gogoslick |
I came across this issue while hacking locally to see if I could get buildkit working with xds (specifically I wanted to get it working with Istio's Envoy based service mesh). Long story but the part that's relevant here is that I got quite far but in the end I couldn't get the generated code to properly use the |
Since gogo/protobuf is no longer maintained it might make sense to start migrating away from it.
See gogo/googleapis#19 (comment)
The text was updated successfully, but these errors were encountered: