It turns out that not all protobufs compilers support dealing with
packages correctly. The specific one I'm hitting an issue with today
is gpb, the Erlang protobuf compiler. It's also a little bit weird in
Python, and some of the other protobuf compilers. After doing a little
bit of poking around, it appears we're doing this in only one place:

Message:
https://github.com/apache/mesos/blob/master/include/mesos/v1/mesos.proto#L1123-L1132

Reference:
https://github.com/apache/mesos/blob/master/include/mesos/v1/scheduler/scheduler.proto#L344-L346

Given the reference is literally just wrapping the other one directly,
I'm not even sure of what the immediate point of his is. Instead,
could we move to a flat namespace, so that for us who don't have
compilers that can handle protobuf packages, we can just treat all of
the pb files as one giant flat file?

I don't think this would take much change for the existing code, but
it's more about the future.

Reply via email to