system76 / bottle

Protobuf messages in a bottle
GNU General Public License v3.0
9 stars 6 forks source link

Initial Profobuf messages #1

Closed doomspork closed 4 years ago

doomspork commented 4 years ago

A starting point for our conversation on leveraging Protobuf messages in our events.

doomspork commented 4 years ago

In the interest of not going hogwild with CI/CD — yet — we're going to need to manually generate the Elixir files when updating the Protobuf files.

doomspork commented 4 years ago

We should also discuss whether or not we want to wrap all of our messages in an "Envelope" that contains meta data we might want (timestamps, source, et al).

btkostner commented 4 years ago

mhmmm, we should at least create a mix task / alias to run that command. Are we able to override the built in mix compile command to also run that command or would that be horrible / impossible?

btkostner commented 4 years ago

Also, if we are generating elixir in this repo, why not just have elixir code without the protobuf stuff? If we are planning to use this across languages, we should make this repo just the protobuf stuff and do all of the elixir stuff in what ever project uses this.