Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
.ci
 
 
 
 
 
 

zephyrus-schemas

This repository versions the Protocol Buffer message schemas used by the Zephyrus gRPC server and clients.

Workflow

Initialization

To depend on zephyrus-schemas in a new project at vendor directory schemas/:

$ git submodule add git@git.kevinlin.info:personal/zephyrus-schemas.git schemas/
$ git commit -m "zephyrus-schemas dependency"

Build processes in the parent repository that depend on these schemas should ensure to initialize the submodule beforehand.

# These commands are idempotent
$ git submodule init
$ git submodule update

Updating

To update the schemas dependency commit in a parent project to $SCHEMAS_COMMIT_SHA, assuming the submodule is vendored to schemas/:

$ git -C schemas/ fetch
$ git -C schemas/ checkout $SCHEMAS_COMMIT_SHA
$ git add schemas/
$ git commit -m "Bump zephyrus-schemas to $SCHEMAS_COMMIT_SHA"

Development

All protobuf files should pass lint, compilation, and formatting.

$ go get github.com/uber/prototool/cmd/prototool
$ prototool lint
$ prototool compile
$ prototool format -d

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published