diff options
author | John Cai <jcai@gitlab.com> | 2019-10-17 22:20:17 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-10-17 22:20:17 +0300 |
commit | b558b78a7b8e6da798a7ddd476bd8fb1085b856f (patch) | |
tree | a1ff4e0a36ac476eb6588ce8e3580136be4436e4 /proto | |
parent | 66ae0c68f3667bfeddd57e5b635742cf55c13929 (diff) | |
parent | 9a9252e509a6f6f6c1ce3290c8d98e605fee2f2f (diff) |
Merge branch 'zj-remove-commit-patch' into 'master'
Remove DiffService Patch RPC
Closes #2095
See merge request gitlab-org/gitaly!1560
Diffstat (limited to 'proto')
-rw-r--r-- | proto/diff.proto | 15 | ||||
-rw-r--r-- | proto/go/gitalypb/diff.pb.go | 280 |
2 files changed, 63 insertions, 232 deletions
diff --git a/proto/diff.proto b/proto/diff.proto index 5f9b2f271..45403602d 100644 --- a/proto/diff.proto +++ b/proto/diff.proto @@ -21,12 +21,6 @@ service DiffService { target_repository_field: "1" }; } - rpc CommitPatch(CommitPatchRequest) returns (stream CommitPatchResponse) { - option (op_type) = { - op: ACCESSOR - target_repository_field: "1" - }; - } rpc RawDiff(RawDiffRequest) returns (stream RawDiffResponse) { option (op_type) = { op: ACCESSOR @@ -117,15 +111,6 @@ message CommitDeltaResponse { repeated CommitDelta deltas = 1; } -message CommitPatchRequest { - Repository repository = 1; - bytes revision = 2; -} - -message CommitPatchResponse { - bytes data = 1; -} - message RawDiffRequest { Repository repository = 1; string left_commit_id = 2; diff --git a/proto/go/gitalypb/diff.pb.go b/proto/go/gitalypb/diff.pb.go index c11dde4dc..9d0dceb23 100644 --- a/proto/go/gitalypb/diff.pb.go +++ b/proto/go/gitalypb/diff.pb.go @@ -489,92 +489,6 @@ func (m *CommitDeltaResponse) GetDeltas() []*CommitDelta { return nil } -type CommitPatchRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommitPatchRequest) Reset() { *m = CommitPatchRequest{} } -func (m *CommitPatchRequest) String() string { return proto.CompactTextString(m) } -func (*CommitPatchRequest) ProtoMessage() {} -func (*CommitPatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{5} -} - -func (m *CommitPatchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitPatchRequest.Unmarshal(m, b) -} -func (m *CommitPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitPatchRequest.Marshal(b, m, deterministic) -} -func (m *CommitPatchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitPatchRequest.Merge(m, src) -} -func (m *CommitPatchRequest) XXX_Size() int { - return xxx_messageInfo_CommitPatchRequest.Size(m) -} -func (m *CommitPatchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitPatchRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitPatchRequest proto.InternalMessageInfo - -func (m *CommitPatchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository - } - return nil -} - -func (m *CommitPatchRequest) GetRevision() []byte { - if m != nil { - return m.Revision - } - return nil -} - -type CommitPatchResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommitPatchResponse) Reset() { *m = CommitPatchResponse{} } -func (m *CommitPatchResponse) String() string { return proto.CompactTextString(m) } -func (*CommitPatchResponse) ProtoMessage() {} -func (*CommitPatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{6} -} - -func (m *CommitPatchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitPatchResponse.Unmarshal(m, b) -} -func (m *CommitPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitPatchResponse.Marshal(b, m, deterministic) -} -func (m *CommitPatchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitPatchResponse.Merge(m, src) -} -func (m *CommitPatchResponse) XXX_Size() int { - return xxx_messageInfo_CommitPatchResponse.Size(m) -} -func (m *CommitPatchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitPatchResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_CommitPatchResponse proto.InternalMessageInfo - -func (m *CommitPatchResponse) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - type RawDiffRequest struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` @@ -588,7 +502,7 @@ func (m *RawDiffRequest) Reset() { *m = RawDiffRequest{} } func (m *RawDiffRequest) String() string { return proto.CompactTextString(m) } func (*RawDiffRequest) ProtoMessage() {} func (*RawDiffRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{7} + return fileDescriptor_686521effc814b25, []int{5} } func (m *RawDiffRequest) XXX_Unmarshal(b []byte) error { @@ -641,7 +555,7 @@ func (m *RawDiffResponse) Reset() { *m = RawDiffResponse{} } func (m *RawDiffResponse) String() string { return proto.CompactTextString(m) } func (*RawDiffResponse) ProtoMessage() {} func (*RawDiffResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{8} + return fileDescriptor_686521effc814b25, []int{6} } func (m *RawDiffResponse) XXX_Unmarshal(b []byte) error { @@ -682,7 +596,7 @@ func (m *RawPatchRequest) Reset() { *m = RawPatchRequest{} } func (m *RawPatchRequest) String() string { return proto.CompactTextString(m) } func (*RawPatchRequest) ProtoMessage() {} func (*RawPatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{9} + return fileDescriptor_686521effc814b25, []int{7} } func (m *RawPatchRequest) XXX_Unmarshal(b []byte) error { @@ -735,7 +649,7 @@ func (m *RawPatchResponse) Reset() { *m = RawPatchResponse{} } func (m *RawPatchResponse) String() string { return proto.CompactTextString(m) } func (*RawPatchResponse) ProtoMessage() {} func (*RawPatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{10} + return fileDescriptor_686521effc814b25, []int{8} } func (m *RawPatchResponse) XXX_Unmarshal(b []byte) error { @@ -776,7 +690,7 @@ func (m *DiffStatsRequest) Reset() { *m = DiffStatsRequest{} } func (m *DiffStatsRequest) String() string { return proto.CompactTextString(m) } func (*DiffStatsRequest) ProtoMessage() {} func (*DiffStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{11} + return fileDescriptor_686521effc814b25, []int{9} } func (m *DiffStatsRequest) XXX_Unmarshal(b []byte) error { @@ -831,7 +745,7 @@ func (m *DiffStats) Reset() { *m = DiffStats{} } func (m *DiffStats) String() string { return proto.CompactTextString(m) } func (*DiffStats) ProtoMessage() {} func (*DiffStats) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{12} + return fileDescriptor_686521effc814b25, []int{10} } func (m *DiffStats) XXX_Unmarshal(b []byte) error { @@ -884,7 +798,7 @@ func (m *DiffStatsResponse) Reset() { *m = DiffStatsResponse{} } func (m *DiffStatsResponse) String() string { return proto.CompactTextString(m) } func (*DiffStatsResponse) ProtoMessage() {} func (*DiffStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{13} + return fileDescriptor_686521effc814b25, []int{11} } func (m *DiffStatsResponse) XXX_Unmarshal(b []byte) error { @@ -918,8 +832,6 @@ func init() { proto.RegisterType((*CommitDeltaRequest)(nil), "gitaly.CommitDeltaRequest") proto.RegisterType((*CommitDelta)(nil), "gitaly.CommitDelta") proto.RegisterType((*CommitDeltaResponse)(nil), "gitaly.CommitDeltaResponse") - proto.RegisterType((*CommitPatchRequest)(nil), "gitaly.CommitPatchRequest") - proto.RegisterType((*CommitPatchResponse)(nil), "gitaly.CommitPatchResponse") proto.RegisterType((*RawDiffRequest)(nil), "gitaly.RawDiffRequest") proto.RegisterType((*RawDiffResponse)(nil), "gitaly.RawDiffResponse") proto.RegisterType((*RawPatchRequest)(nil), "gitaly.RawPatchRequest") @@ -932,64 +844,61 @@ func init() { func init() { proto.RegisterFile("diff.proto", fileDescriptor_686521effc814b25) } var fileDescriptor_686521effc814b25 = []byte{ - // 904 bytes of a gzipped FileDescriptorProto + // 859 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4d, 0x6f, 0xeb, 0x44, 0x14, 0x95, 0x9b, 0x8f, 0x3a, 0x37, 0x6e, 0xda, 0x4e, 0x51, 0x9f, 0x9b, 0xc7, 0x22, 0xb2, 0xde, - 0x47, 0x10, 0xa2, 0x7d, 0x94, 0x0d, 0x0b, 0x56, 0x7d, 0x4f, 0xa0, 0x3e, 0xb5, 0xa2, 0xf2, 0x5b, - 0x20, 0xc1, 0xc2, 0x9a, 0x64, 0xc6, 0xc9, 0x08, 0xdb, 0x13, 0x66, 0x86, 0xa6, 0xfd, 0x1b, 0x80, - 0xc4, 0x1f, 0x40, 0x62, 0xc3, 0x5f, 0x63, 0x8f, 0x58, 0xa1, 0xb9, 0x63, 0x3b, 0x4e, 0x1b, 0x75, - 0x53, 0x16, 0xdd, 0xf9, 0x9e, 0x73, 0x7c, 0xe7, 0xcc, 0xfd, 0x70, 0x02, 0xc0, 0x44, 0x9a, 0x1e, - 0x2f, 0x94, 0x34, 0x92, 0x74, 0x67, 0xc2, 0xd0, 0xec, 0x76, 0x18, 0xe8, 0x39, 0x55, 0x9c, 0x39, - 0x34, 0xfa, 0xa3, 0x0d, 0xfb, 0x6f, 0x65, 0x9e, 0x0b, 0xf3, 0x4e, 0xa4, 0x69, 0xcc, 0x7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 0xb0, 0xe8, 0x6d, 0xe5, 0xa3, 0xa9, 0x72, + 0x66, 0x82, 0x2d, 0x95, 0x33, 0xd4, 0x54, 0xb9, 0x23, 0x0f, 0xb6, 0x54, 0x78, 0x62, 0xf4, 0xf7, + 0x1e, 0x90, 0xe6, 0x98, 0xe8, 0x95, 0x2c, 0x34, 0xb7, 0xb7, 0x49, 0x95, 0xcc, 0xad, 0xe3, 0x25, + 0x8e, 0x49, 0x10, 0xfb, 0x16, 0xb8, 0xa3, 0x66, 0x49, 0x9e, 0xc1, 0xbe, 0x91, 0x8e, 0xda, 0x43, + 0xaa, 0x6f, 0x64, 0x45, 0xe0, 0x5b, 0x75, 0xef, 0xfb, 0x36, 0xbc, 0x66, 0xe4, 0x04, 0x7a, 0x46, + 0x5a, 0xb8, 0x8b, 0x70, 0xd7, 0xc8, 0x6b, 0x46, 0xce, 0xc0, 0x97, 0x19, 0x4b, 0x72, 0xc9, 0x78, + 0xd8, 0x43, 0x6b, 0xfb, 0x32, 0x63, 0xb7, 0x92, 0x71, 0x4b, 0x15, 0x7c, 0xed, 0xa8, 0xbe, 0xa3, + 0x0a, 0xbe, 0x46, 0xea, 0x14, 0xfa, 0x33, 0x51, 0x50, 0xf5, 0x58, 0x36, 0xb0, 0x8c, 0xec, 0x75, + 0x15, 0x5d, 0x97, 0x25, 0x66, 0xd4, 0x50, 0xec, 0x50, 0x10, 0x07, 0x8a, 0xae, 0xb1, 0xc2, 0xef, + 0xa8, 0xa1, 0x64, 0x02, 0x01, 0x2f, 0x58, 0x22, 0x53, 0x27, 0xc4, 0x46, 0xf9, 0x31, 0xf0, 0x82, + 0x7d, 0x93, 0xa2, 0x8a, 0xbc, 0x86, 0x43, 0x79, 0xcf, 0x55, 0x9a, 0xc9, 0x75, 0x92, 0x53, 0xf5, + 0x03, 0x57, 0xd8, 0x03, 0x3f, 0x1e, 0x55, 0xf0, 0x2d, 0xa2, 0xe4, 0x63, 0x18, 0x54, 0x23, 0xc6, + 0xb0, 0x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1d, 0x7f, 0xf9, 0x7b, 0x07, 0x86, 0x08, 0x72, 0x75, 0x2f, + 0xe6, 0x9c, 0xdc, 0x01, 0x6c, 0x3e, 0xe9, 0xe4, 0xec, 0x3f, 0x63, 0xbe, 0x99, 0xe8, 0xf1, 0xb8, + 0x8d, 0x72, 0xa7, 0x47, 0x83, 0x7f, 0x7e, 0x9b, 0xf6, 0xfc, 0xbd, 0xb1, 0xf7, 0xd9, 0x1b, 0x8f, + 0x7c, 0xd8, 0x5e, 0xfd, 0x71, 0xdb, 0xe6, 0x94, 0x39, 0x9f, 0xb7, 0x72, 0x6d, 0x49, 0xbf, 0x86, + 0xfd, 0x72, 0x9a, 0xc9, 0x69, 0xdd, 0xca, 0xad, 0x95, 0x1b, 0x3f, 0x7b, 0x82, 0xb7, 0x25, 0x7a, + 0x0f, 0x7e, 0x35, 0x59, 0xa4, 0xf9, 0x46, 0x73, 0x01, 0xc6, 0xe1, 0x53, 0xa2, 0x2d, 0xd7, 0x6d, + 0xb3, 0xcd, 0xe1, 0xd3, 0x92, 0x97, 0xd9, 0xce, 0x5a, 0x98, 0x96, 0x74, 0x57, 0x6f, 0xbe, 0xb3, + 0xc2, 0x8c, 0xce, 0xce, 0xe7, 0x32, 0xbf, 0x70, 0x8f, 0x9f, 0x4a, 0xb5, 0xb8, 0x70, 0xaf, 0x5f, + 0xe0, 0xbf, 0xda, 0xc5, 0x42, 0x96, 0xf1, 0x6a, 0x36, 0xeb, 0x23, 0xf4, 0xf9, 0xbf, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x88, 0x53, 0x39, 0xed, 0xe2, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1008,7 +917,6 @@ type DiffServiceClient interface { CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (DiffService_CommitDiffClient, error) // Return a stream so we can divide the response in chunks of deltas CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (DiffService_CommitDeltaClient, error) - CommitPatch(ctx context.Context, in *CommitPatchRequest, opts ...grpc.CallOption) (DiffService_CommitPatchClient, error) RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) @@ -1086,40 +994,8 @@ func (x *diffServiceCommitDeltaClient) Recv() (*CommitDeltaResponse, error) { return m, nil } -func (c *diffServiceClient) CommitPatch(ctx context.Context, in *CommitPatchRequest, opts ...grpc.CallOption) (DiffService_CommitPatchClient, error) { - stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[2], "/gitaly.DiffService/CommitPatch", opts...) - if err != nil { - return nil, err - } - x := &diffServiceCommitPatchClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type DiffService_CommitPatchClient interface { - Recv() (*CommitPatchResponse, error) - grpc.ClientStream -} - -type diffServiceCommitPatchClient struct { - grpc.ClientStream -} - -func (x *diffServiceCommitPatchClient) Recv() (*CommitPatchResponse, error) { - m := new(CommitPatchResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - func (c *diffServiceClient) RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) { - stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[3], "/gitaly.DiffService/RawDiff", opts...) + stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[2], "/gitaly.DiffService/RawDiff", opts...) if err != nil { return nil, err } @@ -1151,7 +1027,7 @@ func (x *diffServiceRawDiffClient) Recv() (*RawDiffResponse, error) { } func (c *diffServiceClient) RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) { - stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[4], "/gitaly.DiffService/RawPatch", opts...) + stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[3], "/gitaly.DiffService/RawPatch", opts...) if err != nil { return nil, err } @@ -1183,7 +1059,7 @@ func (x *diffServiceRawPatchClient) Recv() (*RawPatchResponse, error) { } func (c *diffServiceClient) DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) { - stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[5], "/gitaly.DiffService/DiffStats", opts...) + stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[4], "/gitaly.DiffService/DiffStats", opts...) if err != nil { return nil, err } @@ -1220,7 +1096,6 @@ type DiffServiceServer interface { CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error // Return a stream so we can divide the response in chunks of deltas CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error - CommitPatch(*CommitPatchRequest, DiffService_CommitPatchServer) error RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error @@ -1236,9 +1111,6 @@ func (*UnimplementedDiffServiceServer) CommitDiff(req *CommitDiffRequest, srv Di func (*UnimplementedDiffServiceServer) CommitDelta(req *CommitDeltaRequest, srv DiffService_CommitDeltaServer) error { return status.Errorf(codes.Unimplemented, "method CommitDelta not implemented") } -func (*UnimplementedDiffServiceServer) CommitPatch(req *CommitPatchRequest, srv DiffService_CommitPatchServer) error { - return status.Errorf(codes.Unimplemented, "method CommitPatch not implemented") -} func (*UnimplementedDiffServiceServer) RawDiff(req *RawDiffRequest, srv DiffService_RawDiffServer) error { return status.Errorf(codes.Unimplemented, "method RawDiff not implemented") } @@ -1295,27 +1167,6 @@ func (x *diffServiceCommitDeltaServer) Send(m *CommitDeltaResponse) error { return x.ServerStream.SendMsg(m) } -func _DiffService_CommitPatch_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(CommitPatchRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(DiffServiceServer).CommitPatch(m, &diffServiceCommitPatchServer{stream}) -} - -type DiffService_CommitPatchServer interface { - Send(*CommitPatchResponse) error - grpc.ServerStream -} - -type diffServiceCommitPatchServer struct { - grpc.ServerStream -} - -func (x *diffServiceCommitPatchServer) Send(m *CommitPatchResponse) error { - return x.ServerStream.SendMsg(m) -} - func _DiffService_RawDiff_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(RawDiffRequest) if err := stream.RecvMsg(m); err != nil { @@ -1395,11 +1246,6 @@ var _DiffService_serviceDesc = grpc.ServiceDesc{ ServerStreams: true, }, { - StreamName: "CommitPatch", - Handler: _DiffService_CommitPatch_Handler, - ServerStreams: true, - }, - { StreamName: "RawDiff", Handler: _DiffService_RawDiff_Handler, ServerStreams: true, |