Re: [grpc-io] Proposal: descriptor (.pb) to .proto files

2019-01-06 Thread Derek Perez
For Java, I wrote a library for generating protobuf source files using a
builder style pattern here:
GitHub.com/perezd/protopoet

On Sun, Jan 6, 2019, 5:39 AM Josh Humphries  wrote:

> FWIW, I have a Go implementation of the same functionality here:
> https://godoc.org/github.com/jhump/protoreflect/desc/protoprint
>
> 
> *Josh Humphries*
> jh...@bluegosling.com
>
>
> On Sun, Jan 6, 2019 at 7:48 AM Alex Van Boxel 
> wrote:
>
>> Hi,
>>
>> I'm currently prototyping a Descriptor to .proto files dumper. I'm
>> wondering if it would be something that would be of interest to include in
>> the java-utils part of *grpc-java*?
>>
>> We're planning to use it for dynamically generated schema's, that we then
>> dump on a filesystem to check into git.
>>
>> (it's work in progress, but already generates pretty complete proto files)
>>
>> https://github.com/anemos-io/metastore/blob/master/server/src/main/java/io/anemos/metastore/ProtoFileWriter.java
>>
>> If this is something that could be included I'll do the effort of getting
>> an environment up that is able to build grpc-java.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to grpc-io+unsubscr...@googlegroups.com.
>> To post to this group, send email to grpc-io@googlegroups.com.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/grpc-io/2a4fdf8d-b5f6-40cd-bb00-a99533ae4e08%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/CAO78j%2BJHpHrjPv%2BRqRhh8wa4VVHqC1AT30NYeJ2F0uhBK023cQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAD7-yfv5j5ZX%3D5dCJkLdk23-Df5aXQq0U4vvu6hfCFthB3YikA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [grpc-io] Proposal: descriptor (.pb) to .proto files

2019-01-06 Thread Josh Humphries
FWIW, I have a Go implementation of the same functionality here:
https://godoc.org/github.com/jhump/protoreflect/desc/protoprint


*Josh Humphries*
jh...@bluegosling.com


On Sun, Jan 6, 2019 at 7:48 AM Alex Van Boxel 
wrote:

> Hi,
>
> I'm currently prototyping a Descriptor to .proto files dumper. I'm
> wondering if it would be something that would be of interest to include in
> the java-utils part of *grpc-java*?
>
> We're planning to use it for dynamically generated schema's, that we then
> dump on a filesystem to check into git.
>
> (it's work in progress, but already generates pretty complete proto files)
>
> https://github.com/anemos-io/metastore/blob/master/server/src/main/java/io/anemos/metastore/ProtoFileWriter.java
>
> If this is something that could be included I'll do the effort of getting
> an environment up that is able to build grpc-java.
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/2a4fdf8d-b5f6-40cd-bb00-a99533ae4e08%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAO78j%2BJHpHrjPv%2BRqRhh8wa4VVHqC1AT30NYeJ2F0uhBK023cQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.