-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 dependency on deprecated github.com/golang/protobuf #4911
Comments
yes, this one we should clean up, we probably just need to regenerate types using newer version.
We don't have any concrete plan to move away from gogo, as it provides a significant efficiency boost over default official go-protobuf. OTEL's data model also using it - if they find a solution we could move in sync. |
hi @yurishkuro, i want to work on this issue. So basically we have to migrate from using the |
No we're not changing gogo, only the other one |
#4917) ## Which problem is this PR solving? - Part of #4911 ## Description of the changes - using `google.golang.org/protobuf` in place of `github.com/golang/protobuf` - `github.com/golang/protobuf` is not completely removed it is still being used as an indirect dependency ## How was this change tested? - `make test` ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [ ] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Harshvir Potpose <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]>
Hi! If this issue is unassigned and no one is working on it, I would love to take this up. I have some experience working with |
Status update - the above 3 PRs managed to remove
|
## Which problem is this PR solving? - Part of #5052 - Continues #5054 - Closes #4911 ## Description of the changes - Replace grpc-gateway based implementation with manual HTTP implementation from #5054 - Clean up spurious grpc-gateway usage (e.g. all-in-one test that did not need it) - Delete grpc-gateway step from `make proto` and remove the corresponding generated file - `go mod tidy` removes grpc-gateway and github.com/golang/protobuf ## How was this change tested? - CI --------- Signed-off-by: Yuri Shkuro <[email protected]>
It seems that this is not fixed, dependency to
|
The objective of this ticket was to remove direct dependencies, which was achieved:
We may not be able to remove indirect dependencies, especially if we're already on the latest versions of libraries that pull that indirect dependency. We need to understand what is pulling |
Requirement
Use only one library to handle protobuf
Problem
There are three dependencies to handle protobuf in jaeger:
github.com/gogo/protobuf
: DEPRECATEDgithub.com/golang/protobuf
superseded bygoogle.golang.org/protobuf
google.golang.org/protobuf
Proposal
Migrate to
google.golang.org/protobuf
Open questions
No response
The text was updated successfully, but these errors were encountered: