From cddf7c03451c91e7a9c9df4121d16e1a56937786 Mon Sep 17 00:00:00 2001 From: Ibrahim Jarif Date: Tue, 21 Apr 2020 11:56:06 +0530 Subject: [PATCH] Proto: Rename dgraph.badger.v2.pb to badgerpb2 (#1314) This PR renames badger protobuf package from `dgraph.badger.v2.pb` to `badgerpb2`. The `pb.pb.go` file has been regenerated using the `pb/gen.sh` script. --- pb/gen.sh | 4 ++ pb/pb.pb.go | 119 ++++++++++++++++++++++++++-------------------------- pb/pb.proto | 2 +- 3 files changed, 64 insertions(+), 61 deletions(-) diff --git a/pb/gen.sh b/pb/gen.sh index 49b44ff4e..18e2d29f1 100755 --- a/pb/gen.sh +++ b/pb/gen.sh @@ -5,3 +5,7 @@ protos=${GOPATH-$HOME/go}/src/github.com/dgraph-io/badger/pb pushd $protos > /dev/null protoc --gofast_out=plugins=grpc:. -I=. pb.proto + +# Move pb.pb.go file to the correct directory. This is necessary because protoc +# would generate the pb.pb.go file inside a different directory. +mv $protos/github.com/dgraph-io/badger/v2/pb/pb.pb.go ./ diff --git a/pb/pb.pb.go b/pb/pb.pb.go index 7e991c2d1..0d6fde3c1 100644 --- a/pb/pb.pb.go +++ b/pb/pb.pb.go @@ -296,10 +296,10 @@ func (m *ManifestChangeSet) GetChanges() []*ManifestChange { type ManifestChange struct { Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` - Op ManifestChange_Operation `protobuf:"varint,2,opt,name=Op,proto3,enum=dgraph.badger.v2.pb.ManifestChange_Operation" json:"Op,omitempty"` + Op ManifestChange_Operation `protobuf:"varint,2,opt,name=Op,proto3,enum=badgerpb2.ManifestChange_Operation" json:"Op,omitempty"` Level uint32 `protobuf:"varint,3,opt,name=Level,proto3" json:"Level,omitempty"` KeyId uint64 `protobuf:"varint,4,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` - EncryptionAlgo EncryptionAlgo `protobuf:"varint,5,opt,name=encryption_algo,json=encryptionAlgo,proto3,enum=dgraph.badger.v2.pb.EncryptionAlgo" json:"encryption_algo,omitempty"` + EncryptionAlgo EncryptionAlgo `protobuf:"varint,5,opt,name=encryption_algo,json=encryptionAlgo,proto3,enum=badgerpb2.EncryptionAlgo" json:"encryption_algo,omitempty"` Compression uint32 `protobuf:"varint,6,opt,name=compression,proto3" json:"compression,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -508,7 +508,7 @@ func (m *TableIndex) GetEstimatedSize() uint64 { } type Checksum struct { - Algo Checksum_Algorithm `protobuf:"varint,1,opt,name=algo,proto3,enum=dgraph.badger.v2.pb.Checksum_Algorithm" json:"algo,omitempty"` + Algo Checksum_Algorithm `protobuf:"varint,1,opt,name=algo,proto3,enum=badgerpb2.Checksum_Algorithm" json:"algo,omitempty"` Sum uint64 `protobuf:"varint,2,opt,name=sum,proto3" json:"sum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -634,68 +634,67 @@ func (m *DataKey) GetCreatedAt() int64 { } func init() { - proto.RegisterEnum("dgraph.badger.v2.pb.EncryptionAlgo", EncryptionAlgo_name, EncryptionAlgo_value) - proto.RegisterEnum("dgraph.badger.v2.pb.ManifestChange_Operation", ManifestChange_Operation_name, ManifestChange_Operation_value) - proto.RegisterEnum("dgraph.badger.v2.pb.Checksum_Algorithm", Checksum_Algorithm_name, Checksum_Algorithm_value) - proto.RegisterType((*KV)(nil), "dgraph.badger.v2.pb.KV") - proto.RegisterType((*KVList)(nil), "dgraph.badger.v2.pb.KVList") - proto.RegisterType((*ManifestChangeSet)(nil), "dgraph.badger.v2.pb.ManifestChangeSet") - proto.RegisterType((*ManifestChange)(nil), "dgraph.badger.v2.pb.ManifestChange") - proto.RegisterType((*BlockOffset)(nil), "dgraph.badger.v2.pb.BlockOffset") - proto.RegisterType((*TableIndex)(nil), "dgraph.badger.v2.pb.TableIndex") - proto.RegisterType((*Checksum)(nil), "dgraph.badger.v2.pb.Checksum") - proto.RegisterType((*DataKey)(nil), "dgraph.badger.v2.pb.DataKey") + proto.RegisterEnum("badgerpb2.EncryptionAlgo", EncryptionAlgo_name, EncryptionAlgo_value) + proto.RegisterEnum("badgerpb2.ManifestChange_Operation", ManifestChange_Operation_name, ManifestChange_Operation_value) + proto.RegisterEnum("badgerpb2.Checksum_Algorithm", Checksum_Algorithm_name, Checksum_Algorithm_value) + proto.RegisterType((*KV)(nil), "badgerpb2.KV") + proto.RegisterType((*KVList)(nil), "badgerpb2.KVList") + proto.RegisterType((*ManifestChangeSet)(nil), "badgerpb2.ManifestChangeSet") + proto.RegisterType((*ManifestChange)(nil), "badgerpb2.ManifestChange") + proto.RegisterType((*BlockOffset)(nil), "badgerpb2.BlockOffset") + proto.RegisterType((*TableIndex)(nil), "badgerpb2.TableIndex") + proto.RegisterType((*Checksum)(nil), "badgerpb2.Checksum") + proto.RegisterType((*DataKey)(nil), "badgerpb2.DataKey") } func init() { proto.RegisterFile("pb.proto", fileDescriptor_f80abaa17e25ccc8) } var fileDescriptor_f80abaa17e25ccc8 = []byte{ - // 705 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcb, 0x6e, 0xf2, 0x56, - 0x10, 0xe6, 0x18, 0x87, 0xcb, 0x10, 0x28, 0x3d, 0xbd, 0xb9, 0xaa, 0x4a, 0x89, 0xa3, 0x28, 0xa8, - 0x52, 0x8c, 0x4a, 0xaa, 0x2e, 0x5a, 0x65, 0x41, 0x08, 0x55, 0x11, 0x44, 0x48, 0x27, 0x51, 0x14, - 0x75, 0x83, 0x8e, 0xed, 0x01, 0x2c, 0x7c, 0x93, 0x7d, 0xb0, 0x42, 0x56, 0x7d, 0x86, 0xae, 0xba, - 0xed, 0xdb, 0x74, 0xd9, 0x45, 0x1f, 0xa0, 0xca, 0xff, 0x22, 0xbf, 0x7c, 0x6c, 0x10, 0x48, 0xfc, - 0xd2, 0xbf, 0x9b, 0xf9, 0xe6, 0xe2, 0x99, 0x6f, 0xbe, 0x63, 0xa8, 0x84, 0xa6, 0x11, 0x46, 0x81, - 0x08, 0xe8, 0x67, 0xf6, 0x22, 0xe2, 0xe1, 0xd2, 0x30, 0xb9, 0xbd, 0xc0, 0xc8, 0x48, 0x7a, 0x46, - 0x68, 0xea, 0xff, 0x11, 0x50, 0xc6, 0x4f, 0xb4, 0x09, 0xc5, 0x15, 0x6e, 0x34, 0xd2, 0x26, 0x9d, - 0x53, 0x96, 0x9a, 0xf4, 0x73, 0x38, 0x49, 0xb8, 0xbb, 0x46, 0x4d, 0x91, 0x58, 0xe6, 0xd0, 0x6f, - 0xa0, 0xba, 0x8e, 0x31, 0x9a, 0x79, 0x28, 0xb8, 0x56, 0x94, 0x91, 0x4a, 0x0a, 0xdc, 0xa3, 0xe0, - 0x54, 0x83, 0x72, 0x82, 0x51, 0xec, 0x04, 0xbe, 0xa6, 0xb6, 0x49, 0x47, 0x65, 0x5b, 0x97, 0x7e, - 0x0b, 0x80, 0x2f, 0xa1, 0x13, 0x61, 0x3c, 0xe3, 0x42, 0x3b, 0x91, 0xc1, 0x6a, 0x8e, 0xf4, 0x05, - 0xa5, 0xa0, 0xca, 0x86, 0x25, 0xd9, 0x50, 0xda, 0xe9, 0x97, 0x62, 0x11, 0x21, 0xf7, 0x66, 0x8e, - 0xad, 0x41, 0x9b, 0x74, 0xea, 0xac, 0x92, 0x01, 0x23, 0x9b, 0x7e, 0x07, 0xb5, 0x3c, 0x68, 0x07, - 0x3e, 0x6a, 0xb5, 0x36, 0xe9, 0x54, 0x18, 0x64, 0xd0, 0x5d, 0xe0, 0xa3, 0xfe, 0x03, 0x94, 0xc6, - 0x4f, 0x13, 0x27, 0x16, 0xf4, 0x12, 0x94, 0x55, 0xa2, 0x91, 0x76, 0xb1, 0x53, 0xeb, 0x7d, 0x65, - 0x1c, 0xa1, 0xc0, 0x18, 0x3f, 0x31, 0x65, 0x95, 0xe8, 0x0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0x39, 0xd2, 0x17, 0xdf, 0x7f, 0x0d, 0x8d, 0x43, 0xc1, 0xd0, - 0x32, 0x14, 0x39, 0xc6, 0xcd, 0xc2, 0xed, 0xf5, 0x3f, 0x6f, 0x2d, 0xf2, 0xef, 0x5b, 0x8b, 0xfc, - 0xff, 0xd6, 0x22, 0x7f, 0xbd, 0x6b, 0x15, 0x7e, 0x3f, 0x5b, 0x38, 0x62, 0xb9, 0x36, 0x0d, 0x2b, - 0xf0, 0xba, 0x19, 0x07, 0x57, 0x4e, 0xd0, 0xcd, 0x68, 0xe8, 0x26, 0xbd, 0x6e, 0x68, 0x9a, 0x25, - 0xf9, 0xd7, 0xba, 0x7e, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xfd, 0x8f, 0x0d, 0xc1, 0x04, 0x00, - 0x00, + // 691 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x54, 0xdd, 0x6e, 0xda, 0x4a, + 0x10, 0xc6, 0xc6, 0xe1, 0x67, 0x08, 0x1c, 0xce, 0xea, 0x9c, 0xc8, 0x51, 0x15, 0x4a, 0x1c, 0x45, + 0x45, 0x95, 0x0a, 0x2d, 0x54, 0xbd, 0x27, 0x84, 0x2a, 0x88, 0x44, 0x48, 0x9b, 0x28, 0x8a, 0x7a, + 0x83, 0xd6, 0xf6, 0x00, 0x16, 0xfe, 0x93, 0x77, 0xb1, 0x42, 0x9e, 0xa0, 0x37, 0xbd, 0xef, 0x23, + 0xf5, 0xb2, 0x17, 0x7d, 0x80, 0x2a, 0x7d, 0x91, 0xca, 0x6b, 0x83, 0x40, 0x6a, 0xef, 0x66, 0xbe, + 0xf9, 0x76, 0x67, 0xbf, 0x6f, 0xc6, 0x86, 0x52, 0x68, 0xb6, 0xc3, 0x28, 0x10, 0x01, 0x29, 0x9b, + 0xcc, 0x9e, 0x63, 0x14, 0x9a, 0x5d, 0xe3, 0x87, 0x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9, 0x23, 0x16, 0x2b, 0xb3, 0x6d, 0x05, 0x5e, + 0xc7, 0x9e, 0x47, 0x2c, 0x5c, 0xbc, 0x71, 0x82, 0x4e, 0xea, 0x41, 0x27, 0xee, 0x76, 0x42, 0xd3, + 0x2c, 0xc8, 0xdf, 0x4d, 0xef, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3a, 0xcd, 0x7e, 0xad, 0x7a, + 0x04, 0x00, 0x00, } func (m *KV) Marshal() (dAtA []byte, err error) { diff --git a/pb/pb.proto b/pb/pb.proto index 9c7751760..00fad8c39 100644 --- a/pb/pb.proto +++ b/pb/pb.proto @@ -17,7 +17,7 @@ // Use protos/gen.sh to generate .pb.go files. syntax = "proto3"; -package dgraph.badger.v2.pb; +package badgerpb2; option go_package = "github.com/dgraph-io/badger/v2/pb";