Skip to content

Commit

Permalink
proto: Move .proto files to dolthub/vt subdirectory and package name.
Browse files Browse the repository at this point in the history
Removes global proto registry conflict with vitessio/vitess, as per #155.
  • Loading branch information
reltuk committed May 31, 2022
1 parent 9c94a40 commit 64f98b0
Show file tree
Hide file tree
Showing 19 changed files with 3,718 additions and 4,024 deletions.
16 changes: 8 additions & 8 deletions gen_proto_go.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

go install github.com/golang/protobuf/protoc-gen-go
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess binlogdata.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess replicationdata.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess time.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess logutil.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess vtrpc.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess topodata.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess query.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess vtgate.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/binlogdata.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/replicationdata.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/time.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/logutil.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/vtrpc.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/topodata.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/query.proto
protoc --proto_path=proto --go_out=. --go_opt=module=github.com/dolthub/vitess dolthub/vt/vtgate.proto
1,018 changes: 527 additions & 491 deletions go/vt/proto/binlogdata/binlogdata.pb.go

Large diffs are not rendered by default.

119 changes: 61 additions & 58 deletions go/vt/proto/logutil/logutil.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 64f98b0

Please sign in to comment.