gpb generated protobuf definitions for EventStoreDB 20+
This repo is a hex package that uses the
rebar3_gpb_plugin to generate
Erlang :gpb files on-the-fly for
EventStoreDB's gRPC interface.
- clone this repo
- initialize the submodule on EventStore
git submodule init git submodule update - checkout a tag in the EventStore submodule
- add the new tag and commit hash information to the
CHANGELOG.md - change the version and commit_hash functions in
src/event_store_db_gpb_protobufs.erl - change the library version in
src/event_store_db_gpb_protobufs.app.src - run
rebar3 compile - publish the package
rebar3 hex publish
The CHANGELOG.md contains a log of the commit hashes. You can compare the
protobuf definitions between any two EventStore commit hashes aaaaaaa and
bbbbbbb like so:
git clone git@github.com:EventStore/EventStore.git
cd EventStore/
git diff aaaaaaa..bbbbbbb src/Protos/Grpc/
# for example:
git diff bc30009b8397fc590cdb8d013f5b5d8bfc8acded..1f713a407019b8f441aaa29110b57a7d4cd35c10 src/Protos/Grpc/