We are considering using Protocol Buffers for communicating between a python & a node.js service that each live in their own repos.
Since the .proto files must be accessible to both repos, how should we share the .proto files?
We are currently considering:
- Creating a repo for all our
.protofiles, and making it a git subtree of all our services - Creating a repo for all our
.protofiles, publishing both a private python module and private node module on push, and requiring the modules from the respective services - Creating a repo for all our
.protofiles, and specifying the repository as the destination of apip/npmpackage
What is the standard way to share .proto files between repositories?