diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-02-25 12:01:29 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-02-25 12:01:29 +0300 |
commit | 88ca1da122e38f299e5a64406d786a1398587672 (patch) | |
tree | dbdb1a5bbf116b8826e1932dca4366b30c2ad90a | |
parent | 9de92c1e722b823a0673e1dbee009dda088195be (diff) | |
parent | bc4f5966ed82f677b24842ef4c00f0f1a67bae9d (diff) |
Merge branch 'zj-remove-user-rebase' into 'master'
Remove UserRebase RPC
Closes #1628
See merge request gitlab-org/gitaly!1851
-rw-r--r-- | changelogs/unreleased/zj-remove-user-rebase.yml | 5 | ||||
-rw-r--r-- | internal/praefect/protoregistry/protoregistry_test.go | 1 | ||||
-rw-r--r-- | internal/service/operations/rebase.go | 59 | ||||
-rw-r--r-- | internal/service/operations/rebase_test.go | 264 | ||||
-rw-r--r-- | proto/go/gitalypb/operations.pb.go | 477 | ||||
-rw-r--r-- | proto/operations.proto | 28 | ||||
-rw-r--r-- | ruby/lib/gitaly_server/operations_service.rb | 20 | ||||
-rw-r--r-- | ruby/proto/gitaly/operations_pb.rb | 16 | ||||
-rw-r--r-- | ruby/proto/gitaly/operations_services_pb.rb | 1 |
9 files changed, 148 insertions, 723 deletions
diff --git a/changelogs/unreleased/zj-remove-user-rebase.yml b/changelogs/unreleased/zj-remove-user-rebase.yml new file mode 100644 index 000000000..a5d7a46d3 --- /dev/null +++ b/changelogs/unreleased/zj-remove-user-rebase.yml @@ -0,0 +1,5 @@ +--- +title: Remove deprecated UserRebase RPC +merge_request: 1851 +author: +type: changed diff --git a/internal/praefect/protoregistry/protoregistry_test.go b/internal/praefect/protoregistry/protoregistry_test.go index e99af93ba..4afc206b8 100644 --- a/internal/praefect/protoregistry/protoregistry_test.go +++ b/internal/praefect/protoregistry/protoregistry_test.go @@ -81,7 +81,6 @@ func TestPopulatesProtoRegistry(t *testing.T) { "UserFFBranch": protoregistry.OpMutator, "UserCherryPick": protoregistry.OpMutator, "UserCommitFiles": protoregistry.OpMutator, - "UserRebase": protoregistry.OpMutator, "UserRevert": protoregistry.OpMutator, "UserSquash": protoregistry.OpMutator, "UserApplyPatch": protoregistry.OpMutator, diff --git a/internal/service/operations/rebase.go b/internal/service/operations/rebase.go index 4346217ac..bc45a5334 100644 --- a/internal/service/operations/rebase.go +++ b/internal/service/operations/rebase.go @@ -3,15 +3,12 @@ package operations //lint:file-ignore SA1019 due to planned removal in issue https://gitlab.com/gitlab-org/gitaly/issues/1628 import ( - "context" "errors" "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/internal/rubyserver" "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" ) func (s *server) UserRebaseConfirmable(stream gitalypb.OperationService_UserRebaseConfirmableServer) error { @@ -116,59 +113,3 @@ func validateUserRebaseConfirmableHeader(header *gitalypb.UserRebaseConfirmableR return nil } - -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -func (s *server) UserRebase(ctx context.Context, req *gitalypb.UserRebaseRequest) (*gitalypb.UserRebaseResponse, error) { - if err := validateUserRebaseRequest(req); err != nil { - return nil, status.Errorf(codes.InvalidArgument, "UserRebase: %v", err) - } - - client, err := s.ruby.OperationServiceClient(ctx) - if err != nil { - return nil, err - } - - clientCtx, err := rubyserver.SetHeaders(ctx, req.GetRepository()) - if err != nil { - return nil, err - } - - return client.UserRebase(clientCtx, req) -} - -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -func validateUserRebaseRequest(req *gitalypb.UserRebaseRequest) error { - if req.GetRepository() == nil { - return errors.New("empty Repository") - } - - if req.GetUser() == nil { - return errors.New("empty User") - } - - if req.GetRebaseId() == "" { - return errors.New("empty RebaseId") - } - - if req.GetBranch() == nil { - return errors.New("empty Branch") - } - - if req.GetBranchSha() == "" { - return errors.New("empty BranchSha") - } - - if req.GetRemoteRepository() == nil { - return errors.New("empty RemoteRepository") - } - - if req.GetRemoteBranch() == nil { - return errors.New("empty RemoteBranch") - } - - if err := git.ValidateRevision(req.GetRemoteBranch()); err != nil { - return ErrInvalidBranch - } - - return nil -} diff --git a/internal/service/operations/rebase_test.go b/internal/service/operations/rebase_test.go index af6e25270..d819d1d8b 100644 --- a/internal/service/operations/rebase_test.go +++ b/internal/service/operations/rebase_test.go @@ -385,270 +385,6 @@ func TestFailedUserRebaseConfirmableDueToGitError(t *testing.T) { require.Equal(t, branchSha, newBranchSha, "branch should not change when the rebase fails due to GitError") } -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -func TestSuccessfulUserRebaseRequest(t *testing.T) { - ctxOuter, cancel := testhelper.Context() - defer cancel() - - server, serverSocketPath := runFullServer(t) - defer server.Stop() - - client, conn := operations.NewOperationClient(t, serverSocketPath) - defer conn.Close() - - testRepo, testRepoPath, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - testRepoCopy, _, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - branchSha := getBranchSha(t, testRepoPath, branchName) - - request := &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "1", - Branch: []byte(branchName), - BranchSha: branchSha, - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - } - - md := testhelper.GitalyServersMetadata(t, serverSocketPath) - ctx := metadata.NewOutgoingContext(ctxOuter, md) - - response, err := client.UserRebase(ctx, request) - require.NoError(t, err) - - newBranchSha := getBranchSha(t, testRepoPath, branchName) - - require.NotEqual(t, newBranchSha, branchSha) - require.Equal(t, newBranchSha, response.RebaseSha) -} - -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -func TestFailedUserRebaseRequestDueToPreReceiveError(t *testing.T) { - ctxOuter, cancel := testhelper.Context() - defer cancel() - - server, serverSocketPath := runFullServer(t) - defer server.Stop() - - client, conn := operations.NewOperationClient(t, serverSocketPath) - defer conn.Close() - - testRepo, testRepoPath, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - testRepoCopy, _, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - branchSha := getBranchSha(t, testRepoPath, branchName) - - request := &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - Branch: []byte(branchName), - BranchSha: branchSha, - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - } - - hookContent := []byte("#!/bin/sh\necho GL_ID=$GL_ID\nexit 1\n") - for i, hookName := range operations.GitlabPreHooks { - t.Run(hookName, func(t *testing.T) { - remove, err := operations.OverrideHooks(hookName, hookContent) - require.NoError(t, err, "set up hooks override") - defer remove() - - md := testhelper.GitalyServersMetadata(t, serverSocketPath) - ctx := metadata.NewOutgoingContext(ctxOuter, md) - - request.RebaseId = fmt.Sprintf("%d", i+1) - response, err := client.UserRebase(ctx, request) - require.NoError(t, err) - require.Contains(t, response.PreReceiveError, "GL_ID="+rebaseUser.GlId) - }) - } -} - -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -func TestFailedUserRebaseRequestDueToGitError(t *testing.T) { - ctxOuter, cancel := testhelper.Context() - defer cancel() - - server, serverSocketPath := runFullServer(t) - defer server.Stop() - - client, conn := operations.NewOperationClient(t, serverSocketPath) - defer conn.Close() - - testRepo, testRepoPath, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - testRepoCopy, _, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - failedBranchName := "rebase-encoding-failure-trigger" - branchSha := getBranchSha(t, testRepoPath, failedBranchName) - - request := &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "1", - Branch: []byte(failedBranchName), - BranchSha: branchSha, - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - } - - md := testhelper.GitalyServersMetadata(t, serverSocketPath) - ctx := metadata.NewOutgoingContext(ctxOuter, md) - - response, err := client.UserRebase(ctx, request) - require.NoError(t, err) - require.Contains(t, response.GitError, "error: Failed to merge in the changes.") -} - -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -func TestFailedUserRebaseRequestDueToValidations(t *testing.T) { - ctxOuter, cancel := testhelper.Context() - defer cancel() - - server, serverSocketPath := runFullServer(t) - defer server.Stop() - - client, conn := operations.NewOperationClient(t, serverSocketPath) - defer conn.Close() - - testRepo, _, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - testRepoCopy, _, cleanup := testhelper.NewTestRepo(t) - defer cleanup() - - testCases := []struct { - desc string - request *gitalypb.UserRebaseRequest - code codes.Code - }{ - { - desc: "empty repository", - request: &gitalypb.UserRebaseRequest{ - Repository: nil, - User: rebaseUser, - RebaseId: "1", - Branch: []byte("some-branch"), - BranchSha: "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e", - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - }, - code: codes.InvalidArgument, - }, - { - desc: "empty user", - request: &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: nil, - RebaseId: "1", - Branch: []byte("some-branch"), - BranchSha: "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e", - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - }, - code: codes.InvalidArgument, - }, - { - desc: "empty rebase id", - request: &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "", - Branch: []byte("some-branch"), - BranchSha: "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e", - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - }, - code: codes.InvalidArgument, - }, - { - desc: "empty branch", - request: &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "1", - Branch: nil, - BranchSha: "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e", - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - }, - code: codes.InvalidArgument, - }, - { - desc: "empty branch sha", - request: &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "1", - Branch: []byte("some-branch"), - BranchSha: "", - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("master"), - }, - code: codes.InvalidArgument, - }, - { - desc: "empty remote repository", - request: &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "1", - Branch: []byte("some-branch"), - BranchSha: "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e", - RemoteRepository: nil, - RemoteBranch: []byte("master"), - }, - code: codes.InvalidArgument, - }, - { - desc: "empty remote branch", - request: &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "1", - Branch: []byte("some-branch"), - BranchSha: "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e", - RemoteRepository: testRepoCopy, - RemoteBranch: nil, - }, - code: codes.InvalidArgument, - }, - { - desc: "invalid remote branch", - request: &gitalypb.UserRebaseRequest{ - Repository: testRepo, - User: rebaseUser, - RebaseId: "1", - Branch: []byte("some-branch"), - BranchSha: "38008cb17ce1466d8fec2dfa6f6ab8dcfe5cf49e", - RemoteRepository: testRepoCopy, - RemoteBranch: []byte("+dev:master"), - }, - code: codes.InvalidArgument, - }, - } - - for _, testCase := range testCases { - t.Run(testCase.desc, func(t *testing.T) { - md := testhelper.GitalyServersMetadata(t, serverSocketPath) - ctx := metadata.NewOutgoingContext(ctxOuter, md) - - _, err := client.UserRebase(ctx, testCase.request) - testhelper.RequireGrpcError(t, err, testCase.code) - }) - } -} - func getBranchSha(t *testing.T, repoPath string, branchName string) string { branchSha := string(testhelper.MustRunCommand(t, nil, "git", "-C", repoPath, "rev-parse", branchName)) return strings.TrimSpace(branchSha) diff --git a/proto/go/gitalypb/operations.pb.go b/proto/go/gitalypb/operations.pb.go index daed95f1a..c8e89fb52 100644 --- a/proto/go/gitalypb/operations.pb.go +++ b/proto/go/gitalypb/operations.pb.go @@ -1825,154 +1825,6 @@ func (m *UserCommitFilesResponse) GetPreReceiveError() string { return "" } -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -// -// Deprecated: Do not use. -type UserRebaseRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` - RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` - RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserRebaseRequest) Reset() { *m = UserRebaseRequest{} } -func (m *UserRebaseRequest) String() string { return proto.CompactTextString(m) } -func (*UserRebaseRequest) ProtoMessage() {} -func (*UserRebaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{26} -} - -func (m *UserRebaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserRebaseRequest.Unmarshal(m, b) -} -func (m *UserRebaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserRebaseRequest.Marshal(b, m, deterministic) -} -func (m *UserRebaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserRebaseRequest.Merge(m, src) -} -func (m *UserRebaseRequest) XXX_Size() int { - return xxx_messageInfo_UserRebaseRequest.Size(m) -} -func (m *UserRebaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserRebaseRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UserRebaseRequest proto.InternalMessageInfo - -func (m *UserRebaseRequest) GetRepository() *Repository { - if m != nil { - return m.Repository - } - return nil -} - -func (m *UserRebaseRequest) GetUser() *User { - if m != nil { - return m.User - } - return nil -} - -func (m *UserRebaseRequest) GetRebaseId() string { - if m != nil { - return m.RebaseId - } - return "" -} - -func (m *UserRebaseRequest) GetBranch() []byte { - if m != nil { - return m.Branch - } - return nil -} - -func (m *UserRebaseRequest) GetBranchSha() string { - if m != nil { - return m.BranchSha - } - return "" -} - -func (m *UserRebaseRequest) GetRemoteRepository() *Repository { - if m != nil { - return m.RemoteRepository - } - return nil -} - -func (m *UserRebaseRequest) GetRemoteBranch() []byte { - if m != nil { - return m.RemoteBranch - } - return nil -} - -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -// -// Deprecated: Do not use. -type UserRebaseResponse struct { - RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3" json:"rebase_sha,omitempty"` - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserRebaseResponse) Reset() { *m = UserRebaseResponse{} } -func (m *UserRebaseResponse) String() string { return proto.CompactTextString(m) } -func (*UserRebaseResponse) ProtoMessage() {} -func (*UserRebaseResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{27} -} - -func (m *UserRebaseResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserRebaseResponse.Unmarshal(m, b) -} -func (m *UserRebaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserRebaseResponse.Marshal(b, m, deterministic) -} -func (m *UserRebaseResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserRebaseResponse.Merge(m, src) -} -func (m *UserRebaseResponse) XXX_Size() int { - return xxx_messageInfo_UserRebaseResponse.Size(m) -} -func (m *UserRebaseResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserRebaseResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UserRebaseResponse proto.InternalMessageInfo - -func (m *UserRebaseResponse) GetRebaseSha() string { - if m != nil { - return m.RebaseSha - } - return "" -} - -func (m *UserRebaseResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError - } - return "" -} - -func (m *UserRebaseResponse) GetGitError() string { - if m != nil { - return m.GitError - } - return "" -} - type UserRebaseConfirmableRequest struct { // Types that are valid to be assigned to UserRebaseConfirmableRequestPayload: // *UserRebaseConfirmableRequest_Header_ @@ -1987,7 +1839,7 @@ func (m *UserRebaseConfirmableRequest) Reset() { *m = UserRebaseConfirma func (m *UserRebaseConfirmableRequest) String() string { return proto.CompactTextString(m) } func (*UserRebaseConfirmableRequest) ProtoMessage() {} func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{28} + return fileDescriptor_1b4a5877375e491e, []int{26} } func (m *UserRebaseConfirmableRequest) XXX_Unmarshal(b []byte) error { @@ -2073,7 +1925,7 @@ func (m *UserRebaseConfirmableRequest_Header) Reset() { *m = UserRebaseC func (m *UserRebaseConfirmableRequest_Header) String() string { return proto.CompactTextString(m) } func (*UserRebaseConfirmableRequest_Header) ProtoMessage() {} func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{28, 0} + return fileDescriptor_1b4a5877375e491e, []int{26, 0} } func (m *UserRebaseConfirmableRequest_Header) XXX_Unmarshal(b []byte) error { @@ -2166,7 +2018,7 @@ func (m *UserRebaseConfirmableResponse) Reset() { *m = UserRebaseConfirm func (m *UserRebaseConfirmableResponse) String() string { return proto.CompactTextString(m) } func (*UserRebaseConfirmableResponse) ProtoMessage() {} func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{29} + return fileDescriptor_1b4a5877375e491e, []int{27} } func (m *UserRebaseConfirmableResponse) XXX_Unmarshal(b []byte) error { @@ -2265,7 +2117,7 @@ func (m *UserSquashRequest) Reset() { *m = UserSquashRequest{} } func (m *UserSquashRequest) String() string { return proto.CompactTextString(m) } func (*UserSquashRequest) ProtoMessage() {} func (*UserSquashRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{30} + return fileDescriptor_1b4a5877375e491e, []int{28} } func (m *UserSquashRequest) XXX_Unmarshal(b []byte) error { @@ -2347,7 +2199,7 @@ func (m *UserSquashResponse) Reset() { *m = UserSquashResponse{} } func (m *UserSquashResponse) String() string { return proto.CompactTextString(m) } func (*UserSquashResponse) ProtoMessage() {} func (*UserSquashResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{31} + return fileDescriptor_1b4a5877375e491e, []int{29} } func (m *UserSquashResponse) XXX_Unmarshal(b []byte) error { @@ -2396,7 +2248,7 @@ func (m *UserApplyPatchRequest) Reset() { *m = UserApplyPatchRequest{} } func (m *UserApplyPatchRequest) String() string { return proto.CompactTextString(m) } func (*UserApplyPatchRequest) ProtoMessage() {} func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{32} + return fileDescriptor_1b4a5877375e491e, []int{30} } func (m *UserApplyPatchRequest) XXX_Unmarshal(b []byte) error { @@ -2475,7 +2327,7 @@ func (m *UserApplyPatchRequest_Header) Reset() { *m = UserApplyPatchRequ func (m *UserApplyPatchRequest_Header) String() string { return proto.CompactTextString(m) } func (*UserApplyPatchRequest_Header) ProtoMessage() {} func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{32, 0} + return fileDescriptor_1b4a5877375e491e, []int{30, 0} } func (m *UserApplyPatchRequest_Header) XXX_Unmarshal(b []byte) error { @@ -2528,7 +2380,7 @@ func (m *UserApplyPatchResponse) Reset() { *m = UserApplyPatchResponse{} func (m *UserApplyPatchResponse) String() string { return proto.CompactTextString(m) } func (*UserApplyPatchResponse) ProtoMessage() {} func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{33} + return fileDescriptor_1b4a5877375e491e, []int{31} } func (m *UserApplyPatchResponse) XXX_Unmarshal(b []byte) error { @@ -2572,7 +2424,7 @@ func (m *UserUpdateSubmoduleRequest) Reset() { *m = UserUpdateSubmoduleR func (m *UserUpdateSubmoduleRequest) String() string { return proto.CompactTextString(m) } func (*UserUpdateSubmoduleRequest) ProtoMessage() {} func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{34} + return fileDescriptor_1b4a5877375e491e, []int{32} } func (m *UserUpdateSubmoduleRequest) XXX_Unmarshal(b []byte) error { @@ -2648,7 +2500,7 @@ func (m *UserUpdateSubmoduleResponse) Reset() { *m = UserUpdateSubmodule func (m *UserUpdateSubmoduleResponse) String() string { return proto.CompactTextString(m) } func (*UserUpdateSubmoduleResponse) ProtoMessage() {} func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{35} + return fileDescriptor_1b4a5877375e491e, []int{33} } func (m *UserUpdateSubmoduleResponse) XXX_Unmarshal(b []byte) error { @@ -2720,8 +2572,6 @@ func init() { proto.RegisterType((*UserCommitFilesRequestHeader)(nil), "gitaly.UserCommitFilesRequestHeader") proto.RegisterType((*UserCommitFilesRequest)(nil), "gitaly.UserCommitFilesRequest") proto.RegisterType((*UserCommitFilesResponse)(nil), "gitaly.UserCommitFilesResponse") - proto.RegisterType((*UserRebaseRequest)(nil), "gitaly.UserRebaseRequest") - proto.RegisterType((*UserRebaseResponse)(nil), "gitaly.UserRebaseResponse") proto.RegisterType((*UserRebaseConfirmableRequest)(nil), "gitaly.UserRebaseConfirmableRequest") proto.RegisterType((*UserRebaseConfirmableRequest_Header)(nil), "gitaly.UserRebaseConfirmableRequest.Header") proto.RegisterType((*UserRebaseConfirmableResponse)(nil), "gitaly.UserRebaseConfirmableResponse") @@ -2737,143 +2587,139 @@ func init() { func init() { proto.RegisterFile("operations.proto", fileDescriptor_1b4a5877375e491e) } var fileDescriptor_1b4a5877375e491e = []byte{ - // 2162 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x23, 0x49, - 0x15, 0x4f, 0xdb, 0x8e, 0xe3, 0xbc, 0x38, 0x89, 0x53, 0xbb, 0x33, 0xeb, 0xf5, 0x4c, 0x98, 0x6c, - 0x67, 0x86, 0xc9, 0x0c, 0x8b, 0x67, 0x35, 0xac, 0x00, 0x21, 0x2d, 0x68, 0xe2, 0x38, 0x64, 0x86, - 0xcd, 0x07, 0x9d, 0x0c, 0x68, 0xd1, 0x42, 0xab, 0x63, 0x97, 0xed, 0x16, 0xb6, 0xbb, 0xb7, 0xba, - 0x1d, 0x26, 0x1c, 0x10, 0x27, 0x04, 0x87, 0x3d, 0xf2, 0x71, 0x47, 0xe2, 0x80, 0xe0, 0x0a, 0x27, - 0x10, 0x07, 0xb4, 0x82, 0x1b, 0x57, 0x2e, 0xfc, 0x01, 0x1c, 0xf9, 0xb8, 0x70, 0x42, 0x55, 0xef, - 0xb5, 0xdd, 0xd5, 0xdd, 0xce, 0x26, 0x4b, 0x36, 0x3b, 0x20, 0x6e, 0xe9, 0x57, 0xcf, 0xaf, 0xde, - 0xfb, 0xbd, 0xaf, 0xaa, 0x57, 0x81, 0x8a, 0xe7, 0x73, 0xe1, 0x84, 0xae, 0x37, 0x0c, 0xea, 0xbe, - 0xf0, 0x42, 0x8f, 0x15, 0xbb, 0x6e, 0xe8, 0xf4, 0x4f, 0x6b, 0xe5, 0xa0, 0xe7, 0x08, 0xde, 0x46, - 0xaa, 0xf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0a, 0x02, - 0x55, 0xbb, 0xa9, 0x08, 0xb2, 0x17, 0x61, 0xd6, 0xf1, 0xfd, 0xfe, 0x69, 0xb5, 0xa8, 0x80, 0xc0, - 0x0f, 0xf3, 0x17, 0x94, 0xe0, 0x9a, 0x6d, 0x04, 0xad, 0xa6, 0x80, 0x91, 0x50, 0x60, 0x13, 0x16, - 0x29, 0x87, 0x47, 0xaa, 0xc8, 0x90, 0xfb, 0x57, 0x23, 0x43, 0xf6, 0xa3, 0xde, 0x84, 0x42, 0xb1, - 0x12, 0x59, 0xe5, 0xe3, 0xd8, 0x57, 0xb6, 0x13, 0x0a, 0x99, 0x4e, 0x78, 0x52, 0x28, 0xe5, 0x2a, - 0x79, 0xf3, 0xdd, 0x1c, 0xc6, 0x81, 0x52, 0xf7, 0xc8, 0xb3, 0x78, 0xe7, 0x2a, 0x3c, 0xb1, 0x0a, - 0x10, 0x78, 0x23, 0xd1, 0xe2, 0x76, 0xd0, 0x73, 0xc8, 0x15, 0xf3, 0x48, 0x39, 0xec, 0x39, 0x53, - 0x7d, 0xb1, 0x0a, 0x30, 0x0e, 0xfb, 0x0e, 0xb9, 0x63, 0x3e, 0x8a, 0xf8, 0x4e, 0xdc, 0x55, 0x45, - 0xdd, 0x55, 0x1b, 0x50, 0xe9, 0xb8, 0x22, 0x08, 0x6d, 0xdf, 0x11, 0x7c, 0x88, 0x3f, 0x9f, 0xc3, - 0x84, 0x51, 0xf4, 0x03, 0x45, 0xb6, 0x78, 0xc7, 0x74, 0x62, 0x91, 0x49, 0x70, 0x9c, 0xc7, 0x79, - 0x17, 0xe9, 0x89, 0xdf, 0x81, 0x6b, 0x99, 0xbe, 0x3c, 0x7b, 0x87, 0x57, 0xa0, 0x2c, 0x21, 0xb6, - 0x5b, 0x2a, 0x61, 0xdb, 0x94, 0x7d, 0x0b, 0x92, 0x86, 0x39, 0xdc, 0x66, 0x77, 0x60, 0x89, 0x22, - 0x28, 0x62, 0xca, 0x2b, 0x26, 0x8a, 0x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 0x59, 0x56, 0x44, 0x92, 0x67, 0x3e, 0x05, 0x98, 0x98, 0xc3, 0x00, 0x8a, 0x0d, 0xab, 0xf9, - 0xe8, 0x48, 0x62, 0xba, 0x04, 0x80, 0x7f, 0xdb, 0x5b, 0x8f, 0xad, 0x8a, 0x21, 0xd7, 0x9e, 0x1e, - 0x6c, 0xc9, 0xb5, 0x9c, 0x44, 0x7e, 0x77, 0xff, 0x2b, 0xcd, 0x4a, 0x5e, 0x52, 0xb7, 0x9a, 0x6f, - 0x36, 0x8f, 0x9a, 0x95, 0x82, 0xf4, 0x42, 0x63, 0x67, 0x77, 0x7f, 0xab, 0x32, 0x2b, 0x2f, 0xa6, - 0xd7, 0x32, 0x21, 0x64, 0x6f, 0x40, 0xb1, 0xa7, 0x60, 0xa4, 0x00, 0x5f, 0x3f, 0x07, 0xe2, 0x3b, - 0x33, 0x16, 0xfd, 0x88, 0xd5, 0x60, 0x2e, 0x32, 0x47, 0xc1, 0xbc, 0x33, 0x63, 0x45, 0x84, 0x4d, - 0x13, 0xd6, 0x64, 0xc9, 0xb0, 0x29, 0xae, 0x25, 0x3e, 0x81, 0x8d, 0x0e, 0xb2, 0x7d, 0xe7, 0xb4, - 0xef, 0x39, 0x6d, 0xf3, 0xb7, 0x79, 0xb8, 0x99, 0xd8, 0x89, 0xaa, 0x18, 0x45, 0xc4, 0x87, 0x59, - 0xcb, 0x12, 0x05, 0x2a, 0x9f, 0x2a, 0x50, 0x77, 0x60, 0x89, 0x94, 0x8f, 0xea, 0x14, 0x16, 0xb1, - 0x45, 0xa4, 0xee, 0x52, 0xb5, 0x7a, 0x15, 0x18, 0xb1, 0x39, 0xa3, 0xb0, 0xe7, 0x09, 0x14, 0x87, - 0x25, 0xad, 0x82, 0x2b, 0x8f, 0xd4, 0x82, 0x12, 0x5a, 0x87, 0x17, 0x74, 0x6e, 0x3e, 0x70, 0xdc, - 0x3e, 0x55, 0xb7, 0x95, 0x38, 0x7b, 0x53, 0x2e, 0x64, 0xd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0xd2, 0xa7, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x60, 0xb0, 0x86, 0xfc, 0x0a, 0x24, - 0x00, 0x00, + // 2110 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x73, 0x1b, 0x49, + 0x15, 0xf7, 0x48, 0xb2, 0x2c, 0x3f, 0xcb, 0xb6, 0xdc, 0xd9, 0x64, 0xbd, 0x4a, 0x4c, 0xbc, 0xe3, + 0x84, 0x38, 0x61, 0x51, 0xb6, 0xc2, 0x16, 0x70, 0x59, 0xa8, 0x58, 0x96, 0x71, 0xc2, 0x3a, 0x36, + 0x63, 0x07, 0x6a, 0xa9, 0x85, 0xa9, 0xb1, 0xd4, 0x92, 0xa6, 0x90, 0x34, 0xb3, 0x3d, 0x23, 0x13, + 0x73, 0xe0, 0x48, 0x15, 0x87, 0x3d, 0xf2, 0x71, 0xa7, 0x8a, 0x03, 0xc5, 0x19, 0x6e, 0x14, 0x07, + 0x6a, 0x0b, 0x6e, 0x5c, 0xb9, 0xf0, 0x07, 0x50, 0xc5, 0x85, 0x8f, 0x0b, 0x27, 0xaa, 0xfb, 0xbd, + 0x19, 0x4d, 0xcf, 0x8c, 0xbc, 0xce, 0xe2, 0x78, 0x53, 0xd4, 0xde, 0x3c, 0xaf, 0x9f, 0x5e, 0xbf, + 0xf7, 0x7b, 0x1f, 0xfd, 0x5e, 0xb7, 0xa1, 0xe6, 0xf9, 0x5c, 0x38, 0xa1, 0xeb, 0x8d, 0x82, 0x86, + 0x2f, 0xbc, 0xd0, 0x63, 0xe5, 0x9e, 0x1b, 0x3a, 0x83, 0xd3, 0x7a, 0x35, 0xe8, 0x3b, 0x82, 0x77, + 0x90, 0x6a, 0xfe, 0xd6, 0x80, 0x57, 0x9f, 0x06, 0x5c, 0x34, 0x05, 0x77, 0x42, 0xbe, 0x25, 0x9c, + 0x51, 0xbb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53, 0xae, 0xdf, 0xfe, 0x08, 0xae, 0x1c, 0xec, 0xbf, 0x0e, 0x30, 0xb9, 0x5c, 0x61, 0xaf, 0xe5, + 0x5d, 0xb8, 0xa0, 0xec, 0xfa, 0xf4, 0xbb, 0x98, 0x18, 0x1c, 0x12, 0x86, 0x1d, 0x81, 0x2e, 0x4c, + 0x6b, 0x9e, 0x74, 0x61, 0x7a, 0x03, 0x11, 0x0b, 0x7b, 0x17, 0x5d, 0x38, 0x39, 0xcd, 0x74, 0x17, + 0x66, 0xce, 0x76, 0xdd, 0x85, 0xd9, 0x43, 0x30, 0x01, 0x73, 0x17, 0x5f, 0x1f, 0x52, 0x25, 0x9d, + 0x99, 0xd9, 0xaa, 0x93, 0x3e, 0xe6, 0xea, 0x1b, 0x67, 0xf2, 0xe8, 0x3b, 0x6d, 0xbd, 0xf9, 0x6d, + 0xc9, 0x3d, 0x70, 0x8e, 0x1b, 0x6d, 0x6f, 0x78, 0x1f, 0xff, 0xfc, 0xbc, 0x27, 0x7a, 0xf7, 0x51, + 0xc6, 0x7d, 0xf5, 0xaf, 0x1c, 0xf7, 0x7b, 0x1e, 0x7d, 0xfb, 0xc7, 0xc7, 0x65, 0x45, 0xfa, 0xc2, + 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x8d, 0xc0, 0x0b, 0x97, 0x07, 0x22, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2898,7 +2744,6 @@ type OperationServiceClient interface { UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) - UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error) UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) @@ -3051,16 +2896,6 @@ func (x *operationServiceUserCommitFilesClient) CloseAndRecv() (*UserCommitFiles return m, nil } -// Deprecated: Do not use. -func (c *operationServiceClient) UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error) { - out := new(UserRebaseResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserRebase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *operationServiceClient) UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) { stream, err := c.cc.NewStream(ctx, &_OperationService_serviceDesc.Streams[2], "/gitaly.OperationService/UserRebaseConfirmable", opts...) if err != nil { @@ -3165,7 +3000,6 @@ type OperationServiceServer interface { UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) UserCommitFiles(OperationService_UserCommitFilesServer) error - UserRebase(context.Context, *UserRebaseRequest) (*UserRebaseResponse, error) UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) @@ -3207,9 +3041,6 @@ func (*UnimplementedOperationServiceServer) UserCherryPick(ctx context.Context, func (*UnimplementedOperationServiceServer) UserCommitFiles(srv OperationService_UserCommitFilesServer) error { return status.Errorf(codes.Unimplemented, "method UserCommitFiles not implemented") } -func (*UnimplementedOperationServiceServer) UserRebase(ctx context.Context, req *UserRebaseRequest) (*UserRebaseResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserRebase not implemented") -} func (*UnimplementedOperationServiceServer) UserRebaseConfirmable(srv OperationService_UserRebaseConfirmableServer) error { return status.Errorf(codes.Unimplemented, "method UserRebaseConfirmable not implemented") } @@ -3426,24 +3257,6 @@ func (x *operationServiceUserCommitFilesServer) Recv() (*UserCommitFilesRequest, return m, nil } -func _OperationService_UserRebase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserRebaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserRebase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserRebase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserRebase(ctx, req.(*UserRebaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _OperationService_UserRebaseConfirmable_Handler(srv interface{}, stream grpc.ServerStream) error { return srv.(OperationServiceServer).UserRebaseConfirmable(&operationServiceUserRebaseConfirmableServer{stream}) } @@ -3587,10 +3400,6 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{ Handler: _OperationService_UserCherryPick_Handler, }, { - MethodName: "UserRebase", - Handler: _OperationService_UserRebase_Handler, - }, - { MethodName: "UserRevert", Handler: _OperationService_UserRevert_Handler, }, diff --git a/proto/operations.proto b/proto/operations.proto index 8c537cdb4..ce9aaef4b 100644 --- a/proto/operations.proto +++ b/proto/operations.proto @@ -57,12 +57,6 @@ service OperationService { op: MUTATOR }; } - rpc UserRebase(UserRebaseRequest) returns (UserRebaseResponse) { - option deprecated = true; - option (op_type) = { - op: MUTATOR - }; - } rpc UserRebaseConfirmable(stream UserRebaseConfirmableRequest) returns (stream UserRebaseConfirmableResponse) { option (op_type) = { op: MUTATOR @@ -319,28 +313,6 @@ message UserCommitFilesResponse { string pre_receive_error = 3; } -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -message UserRebaseRequest { - option deprecated = true; - - Repository repository = 1 [(target_repository)=true]; - User user = 2; - string rebase_id = 3; - bytes branch = 4; - string branch_sha = 5; - Repository remote_repository = 6; - bytes remote_branch = 7; -} - -// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 -message UserRebaseResponse { - option deprecated = true; - - string rebase_sha = 1; - string pre_receive_error = 2; - string git_error = 3; -} - message UserRebaseConfirmableRequest { message Header { Repository repository = 1 [(target_repository)=true]; diff --git a/ruby/lib/gitaly_server/operations_service.rb b/ruby/lib/gitaly_server/operations_service.rb index 2d26ef15c..d4aebac0c 100644 --- a/ruby/lib/gitaly_server/operations_service.rb +++ b/ruby/lib/gitaly_server/operations_service.rb @@ -241,26 +241,6 @@ module GitalyServer end end - # DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 - def user_rebase(request, call) - repo = Gitlab::Git::Repository.from_gitaly(request.repository, call) - user = Gitlab::Git::User.from_gitaly(request.user) - remote_repository = Gitlab::Git::GitalyRemoteRepository.new(request.remote_repository, call) - rebase_sha = repo.rebase(user, request.rebase_id, - branch: request.branch, - branch_sha: request.branch_sha, - remote_repository: remote_repository, - remote_branch: request.remote_branch) - - Gitaly::UserRebaseResponse.new(rebase_sha: rebase_sha) - rescue Gitlab::Git::PreReceiveError => e - Gitaly::UserRebaseResponse.new(pre_receive_error: set_utf8!(e.message)) - rescue Gitlab::Git::Repository::GitError => e - Gitaly::UserRebaseResponse.new(git_error: set_utf8!(e.message)) - rescue Gitlab::Git::CommitError => e - raise GRPC::FailedPrecondition.new(e.message) - end - def user_commit_files(call) actions = [] request_enum = call.each_remote_read diff --git a/ruby/proto/gitaly/operations_pb.rb b/ruby/proto/gitaly/operations_pb.rb index b40bbcee9..4f1fd14d6 100644 --- a/ruby/proto/gitaly/operations_pb.rb +++ b/ruby/proto/gitaly/operations_pb.rb @@ -181,20 +181,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do optional :index_error, :string, 2 optional :pre_receive_error, :string, 3 end - add_message "gitaly.UserRebaseRequest" do - optional :repository, :message, 1, "gitaly.Repository" - optional :user, :message, 2, "gitaly.User" - optional :rebase_id, :string, 3 - optional :branch, :bytes, 4 - optional :branch_sha, :string, 5 - optional :remote_repository, :message, 6, "gitaly.Repository" - optional :remote_branch, :bytes, 7 - end - add_message "gitaly.UserRebaseResponse" do - optional :rebase_sha, :string, 1 - optional :pre_receive_error, :string, 2 - optional :git_error, :string, 3 - end add_message "gitaly.UserRebaseConfirmableRequest" do oneof :user_rebase_confirmable_request_payload do optional :header, :message, 1, "gitaly.UserRebaseConfirmableRequest.Header" @@ -291,8 +277,6 @@ module Gitaly UserCommitFilesRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequestHeader").msgclass UserCommitFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequest").msgclass UserCommitFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesResponse").msgclass - UserRebaseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseRequest").msgclass - UserRebaseResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseResponse").msgclass UserRebaseConfirmableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest").msgclass UserRebaseConfirmableRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest.Header").msgclass UserRebaseConfirmableResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass diff --git a/ruby/proto/gitaly/operations_services_pb.rb b/ruby/proto/gitaly/operations_services_pb.rb index 57a586b1f..27901ebc9 100644 --- a/ruby/proto/gitaly/operations_services_pb.rb +++ b/ruby/proto/gitaly/operations_services_pb.rb @@ -24,7 +24,6 @@ module Gitaly rpc :UserFFBranch, UserFFBranchRequest, UserFFBranchResponse rpc :UserCherryPick, UserCherryPickRequest, UserCherryPickResponse rpc :UserCommitFiles, stream(UserCommitFilesRequest), UserCommitFilesResponse - rpc :UserRebase, UserRebaseRequest, UserRebaseResponse rpc :UserRebaseConfirmable, stream(UserRebaseConfirmableRequest), stream(UserRebaseConfirmableResponse) rpc :UserRevert, UserRevertRequest, UserRevertResponse rpc :UserSquash, UserSquashRequest, UserSquashResponse |