gtfs-realtime-bindings icon indicating copy to clipboard operation
gtfs-realtime-bindings copied to clipboard

Automate UPDATING process

Open barbeau opened this issue 4 years ago • 1 comments

Currently each time the canonical gtfs-realtime.proto changes, we need to go through a manual process for each language to update the bindings:

We should automate this process.

Some resources:

  • Java - Example of using protobuf-maven-plugin to automatically invoke protoc as part of the build process - https://github.com/OneBusAway/onebusaway-gtfs-realtime-api/pull/17

barbeau avatar Mar 13 '20 13:03 barbeau

FYI, protobuf-maven-plugin can also build bindings for C++, C#, JavaScript, and Python, although I'm not sure how useful it is to have bindings for those languages end up in a Maven artifact, when they really need to get packaged and submitted to their respective languages' package repositories (although that could always get hacked into the Maven build process somehow...).

kurtraschke avatar Mar 13 '20 15:03 kurtraschke