-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
Unable to build googleapis for ruby #1048
Comments
These files will remain in proto2 syntax and there is no plan to migrate them to proto3. I think the Makefile in googleapis repo is flawed. It shouldn't try to run protoc on descriptor.proto and plugin.proto. Generated code of these two protos are already integrated to protobuf runtime lib. |
Those two proto files are used in googleapis and are expected to be output when running
I'm not sure how this files are "already integrated to the protobuf runtime". After that Pub/Sub file is loaded both the grpc and google-protobuf gems have also been loaded. Loading grpc and google-protobuf first doesn't change the behavior. The generated ruby code is looking to load both My guess is that since protobuf supports both |
descriptor.proto and other protos under google/protobuf package are part of protobuf library. Their generated code (e.g., google/protobuf/descriptor.rb) should have been included in google-protobuf gem. This hasn't been fixed in ruby though. |
Is there an issue for getting this code in the google-protobuf gem I can follow? |
I created a new issue that might supplant this one. |
The most recent Ruby packages include well-known types. |
Hey all, I've been poking around protobuf for a couple months now and it looks really exciting!
I am unable to generate ruby files for the google/googleapis project. When I have a clean install of
grpc
andprotobuf
(meaning the/usr/local/bin/grpc_ruby_plugin
file was created successfully) I can attempt to generate the ruby protobuf files, but I run into the following error:It turns out the
google/protobuf/compiler/plugin.proto
andgoogle/protobuf/descriptor.proto
files are still using theproto2
syntax, and the ruby generator only understandsproto3
. Is there an ETA for these files migrating toproto3
?The text was updated successfully, but these errors were encountered: