Re: [protobuf] How to get all dependency .proto files of a given .proto file hierarchically?

2019-12-02 Thread Yuri Vic
On Sunday, December 1, 2019 at 11:53:01 AM UTC-8, Marc Gravell wrote: > > Untested, but can't you just use protoc with the descriptor-set mode to > build a FileDescriptorSet (IIRC) which will be the processed output of > protoc's efforts? Then parse it using the details from descriptor.proto, >

Re: [protobuf] How to get all dependency .proto files of a given .proto file hierarchically?

2019-12-04 Thread Yuri Vic
et > google/protobuf/descriptor.proto | grep "^ name: " > > > On Mon, Dec 2, 2019 at 7:30 PM Yuri Vic > > wrote: > >> On Sunday, December 1, 2019 at 11:53:01 AM UTC-8, Marc Gravell wrote: >>> >>> Untested, but can't you just use protoc

[protobuf] How to get all dependency .proto files of a given .proto file hierarchically?

2019-12-01 Thread Yuri Vic
There is a large directory of .proto files. I only need to pick the ones that can be reached from a particular file in the set. What is the easiest way to build a list of .proto files reachable from a given .proto file? -- You received this message because you are subscribed to the Google