diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2017-12-10 21:54:51 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2017-12-10 21:54:51 +0300 |
commit | 6e23039cfa784f836e60ef47e17e9a97fc47a1ac (patch) | |
tree | de0c13ceab123b67acc4762ae2ec4ab187a55ebc | |
parent | 4c35de26f13f975be328a4d576b047b81780310f (diff) | |
parent | 75635d41ab9f94e2b7a769de2618a634e8a6980a (diff) |
Merge branch 'feature/implement-merge-base-rpc' into 'master'
Implement FindMergeBase RPC
Closes #809
See merge request gitlab-org/gitaly!477
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | internal/service/repository/merge_base.go | 29 | ||||
-rw-r--r-- | internal/service/repository/merge_base_test.go | 128 | ||||
-rw-r--r-- | ruby/Gemfile | 2 | ||||
-rw-r--r-- | ruby/Gemfile.lock | 4 | ||||
-rw-r--r-- | ruby/lib/gitaly_server/repository_service.rb | 13 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION | 2 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go | 2 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go | 220 | ||||
-rw-r--r-- | vendor/vendor.json | 10 |
10 files changed, 334 insertions, 78 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fba29b11..d366ebfc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ UNRELEASED +- Implement FindMergeBase RPC + https://gitlab.com/gitlab-org/gitaly/merge_requests/477 - Update vendored gitlab_git to 359b65beac43e009b715c2db048e06b6f96b0ee8 https://gitlab.com/gitlab-org/gitaly/merge_requests/481 diff --git a/internal/service/repository/merge_base.go b/internal/service/repository/merge_base.go new file mode 100644 index 000000000..4dd156104 --- /dev/null +++ b/internal/service/repository/merge_base.go @@ -0,0 +1,29 @@ +package repository + +import ( + "gitlab.com/gitlab-org/gitaly/internal/rubyserver" + + pb "gitlab.com/gitlab-org/gitaly-proto/go" + + "golang.org/x/net/context" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" +) + +func (s *server) FindMergeBase(ctx context.Context, req *pb.FindMergeBaseRequest) (*pb.FindMergeBaseResponse, error) { + if len(req.Revisions) != 2 { + return nil, grpc.Errorf(codes.InvalidArgument, "FindMergeBase: 2 revisions are required") + } + + client, err := s.RepositoryServiceClient(ctx) + if err != nil { + return nil, err + } + + clientCtx, err := rubyserver.SetHeaders(ctx, req.GetRepository()) + if err != nil { + return nil, err + } + + return client.FindMergeBase(clientCtx, req) +} diff --git a/internal/service/repository/merge_base_test.go b/internal/service/repository/merge_base_test.go new file mode 100644 index 000000000..4c429deae --- /dev/null +++ b/internal/service/repository/merge_base_test.go @@ -0,0 +1,128 @@ +package repository + +import ( + "testing" + + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + + pb "gitlab.com/gitlab-org/gitaly-proto/go" + + "github.com/stretchr/testify/require" + "google.golang.org/grpc/codes" +) + +func TestSuccessfulFindFindMergeBaseRequest(t *testing.T) { + server, serverSocketPath := runRepoServer(t) + defer server.Stop() + + client, conn := newRepositoryClient(t, serverSocketPath) + defer conn.Close() + + testRepo, _, cleanupFn := testhelper.NewTestRepo(t) + defer cleanupFn() + + testCases := []struct { + desc string + revisions [][]byte + base string + }{ + { + desc: "oid revisions", + revisions: [][]byte{ + []byte("372ab6950519549b14d220271ee2322caa44d4eb"), + []byte("8a0f2ee90d940bfb0ba1e14e8214b0649056e4ab"), + }, + base: "8a0f2ee90d940bfb0ba1e14e8214b0649056e4ab", + }, + { + desc: "branch revisions", + revisions: [][]byte{ + []byte("master"), + []byte("gitaly-stuff"), + }, + base: "b83d6e391c22777fca1ed3012fce84f633d7fed0", + }, + { + desc: "non-existent merge base", + revisions: [][]byte{ + []byte("master"), + []byte("orphaned-branch"), + }, + base: "", + }, + { + desc: "non-existent branch", + revisions: [][]byte{ + []byte("master"), + []byte("a-branch-that-does-not-exist"), + }, + base: "", + }, + } + + for _, testCase := range testCases { + t.Run(testCase.desc, func(t *testing.T) { + ctx, cancel := testhelper.Context() + defer cancel() + + request := &pb.FindMergeBaseRequest{ + Repository: testRepo, + Revisions: testCase.revisions, + } + + response, err := client.FindMergeBase(ctx, request) + require.NoError(t, err) + + require.Equal(t, testCase.base, response.Base) + }) + } +} + +func TestFailedFindMergeBaseRequestDueToValidations(t *testing.T) { + server, serverSocketPath := runRepoServer(t) + defer server.Stop() + + client, conn := newRepositoryClient(t, serverSocketPath) + defer conn.Close() + + testRepo, _, cleanupFn := testhelper.NewTestRepo(t) + defer cleanupFn() + + testCases := []struct { + desc string + revisions [][]byte + code codes.Code + }{ + { + desc: "1 revision", + revisions: [][]byte{ + []byte("372ab6950519549b14d220271ee2322caa44d4eb"), + }, + code: codes.InvalidArgument, + }, + { + desc: "2+ revisions", + revisions: [][]byte{ + []byte("master"), + []byte("gitaly-stuff"), + []byte("spooky-stuff"), + }, + code: codes.InvalidArgument, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.desc, func(t *testing.T) { + ctx, cancel := testhelper.Context() + defer cancel() + + request := &pb.FindMergeBaseRequest{ + Repository: testRepo, + Revisions: testCase.revisions, + } + + _, err := client.FindMergeBase(ctx, request) + testhelper.AssertGrpcError(t, err, testCase.code, "") + }) + } +} diff --git a/ruby/Gemfile b/ruby/Gemfile index 5bb3d94d1..c7e97d6b0 100644 --- a/ruby/Gemfile +++ b/ruby/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' gem 'github-linguist', '~> 4.7.0', require: 'linguist' -gem 'gitaly-proto', '~> 0.60.0', require: 'gitaly' +gem 'gitaly-proto', '~> 0.61.0', require: 'gitaly' gem 'activesupport' gem 'gollum-lib', '~> 4.2', require: false gem 'gollum-rugged_adapter', '~> 0.4.4', require: false diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock index 0318c2828..f58441829 100644 --- a/ruby/Gemfile.lock +++ b/ruby/Gemfile.lock @@ -17,7 +17,7 @@ GEM multipart-post (>= 1.2, < 3) gemojione (3.3.0) json - gitaly-proto (0.60.0) + gitaly-proto (0.61.0) google-protobuf (~> 3.1) grpc (~> 1.0) github-linguist (4.7.6) @@ -119,7 +119,7 @@ PLATFORMS DEPENDENCIES activesupport - gitaly-proto (~> 0.60.0) + gitaly-proto (~> 0.61.0) github-linguist (~> 4.7.0) gitlab-styles (~> 2.0.0) gollum-lib (~> 4.2) diff --git a/ruby/lib/gitaly_server/repository_service.rb b/ruby/lib/gitaly_server/repository_service.rb index cd6d14ada..c698d569e 100644 --- a/ruby/lib/gitaly_server/repository_service.rb +++ b/ruby/lib/gitaly_server/repository_service.rb @@ -39,5 +39,18 @@ module GitalyServer rescue Rugged::RepositoryError => ex Gitaly::FsckResponse.new(error: ex.message.b) end + + def find_merge_base(request, call) + bridge_exceptions do + begin + repo = Gitlab::Git::Repository.from_gitaly(request.repository, call) + base = repo.merge_base_commit(*request.revisions) + + Gitaly::FindMergeBaseResponse.new(base: base.to_s) + rescue Rugged::ReferenceError + Gitaly::FindMergeBaseResponse.new + end + end + end end end diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION index 7e750b4eb..0b0945503 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION @@ -1 +1 @@ -0.60.0 +0.61.0 diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go index ea9da5217..223e17e09 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go @@ -159,6 +159,8 @@ It has these top-level messages: FsckResponse WriteRefRequest WriteRefResponse + FindMergeBaseRequest + FindMergeBaseResponse Repository GitCommit CommitAuthor diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go index d936ba10d..cbeefde3e 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go @@ -621,6 +621,49 @@ func (m *WriteRefResponse) GetError() []byte { return nil } +type FindMergeBaseRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` + // We use a repeated field because rugged supports finding a base + // for more than 2 revisions, so if we needed that in the future we don't + // need to change the protocol. + Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` +} + +func (m *FindMergeBaseRequest) Reset() { *m = FindMergeBaseRequest{} } +func (m *FindMergeBaseRequest) String() string { return proto.CompactTextString(m) } +func (*FindMergeBaseRequest) ProtoMessage() {} +func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{30} } + +func (m *FindMergeBaseRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindMergeBaseRequest) GetRevisions() [][]byte { + if m != nil { + return m.Revisions + } + return nil +} + +type FindMergeBaseResponse struct { + Base string `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"` +} + +func (m *FindMergeBaseResponse) Reset() { *m = FindMergeBaseResponse{} } +func (m *FindMergeBaseResponse) String() string { return proto.CompactTextString(m) } +func (*FindMergeBaseResponse) ProtoMessage() {} +func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { return fileDescriptor9, []int{31} } + +func (m *FindMergeBaseResponse) GetBase() string { + if m != nil { + return m.Base + } + return "" +} + func init() { proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest") proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse") @@ -652,6 +695,8 @@ func init() { proto.RegisterType((*FsckResponse)(nil), "gitaly.FsckResponse") proto.RegisterType((*WriteRefRequest)(nil), "gitaly.WriteRefRequest") proto.RegisterType((*WriteRefResponse)(nil), "gitaly.WriteRefResponse") + proto.RegisterType((*FindMergeBaseRequest)(nil), "gitaly.FindMergeBaseRequest") + proto.RegisterType((*FindMergeBaseResponse)(nil), "gitaly.FindMergeBaseResponse") proto.RegisterEnum("gitaly.GetArchiveRequest_Format", GetArchiveRequest_Format_name, GetArchiveRequest_Format_value) } @@ -681,6 +726,7 @@ type RepositoryServiceClient interface { FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) + FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) } type repositoryServiceClient struct { @@ -849,6 +895,15 @@ func (c *repositoryServiceClient) WriteRef(ctx context.Context, in *WriteRefRequ return out, nil } +func (c *repositoryServiceClient) FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) { + out := new(FindMergeBaseResponse) + err := grpc.Invoke(ctx, "/gitaly.RepositoryService/FindMergeBase", in, out, c.cc, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // Server API for RepositoryService service type RepositoryServiceServer interface { @@ -867,6 +922,7 @@ type RepositoryServiceServer interface { FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) Fsck(context.Context, *FsckRequest) (*FsckResponse, error) WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) + FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) } func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer) { @@ -1146,6 +1202,24 @@ func _RepositoryService_WriteRef_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _RepositoryService_FindMergeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindMergeBaseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).FindMergeBase(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/FindMergeBase", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).FindMergeBase(ctx, req.(*FindMergeBaseRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _RepositoryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.RepositoryService", HandlerType: (*RepositoryServiceServer)(nil), @@ -1206,6 +1280,10 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ MethodName: "WriteRef", Handler: _RepositoryService_WriteRef_Handler, }, + { + MethodName: "FindMergeBase", + Handler: _RepositoryService_FindMergeBase_Handler, + }, }, Streams: []grpc.StreamDesc{ { @@ -1220,73 +1298,77 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("repository-service.proto", fileDescriptor9) } var fileDescriptor9 = []byte{ - // 1082 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xdd, 0x4e, 0xe3, 0xc6, - 0x17, 0x4f, 0x08, 0x24, 0x70, 0xc8, 0xf2, 0x0f, 0xb3, 0x7c, 0x18, 0xb3, 0xfc, 0x97, 0x4e, 0x7b, - 0xc1, 0x45, 0x8b, 0x56, 0x41, 0xaa, 0x7a, 0xb7, 0x02, 0xc4, 0x97, 0xb6, 0x8b, 0x5a, 0x83, 0x84, - 0x84, 0x54, 0x59, 0x83, 0x99, 0x24, 0x16, 0x89, 0x27, 0x9d, 0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, 0x3b, 0xd7, 0xe6, 0xec, 0x73, - 0xe7, 0x1b, 0x15, 0xae, 0x7d, 0xa8, 0xc7, 0x0c, 0xe7, 0x3b, 0x89, 0x65, 0x58, 0xd2, 0xb2, 0x2c, - 0xc3, 0xb2, 0x26, 0x84, 0x6b, 0xe8, 0x1a, 0xde, 0x64, 0x4a, 0x3f, 0x7a, 0x97, 0x5c, 0xab, 0xa0, - 0x0f, 0xb9, 0x7b, 0x25, 0xbb, 0xe9, 0xe4, 0xc9, 0xd5, 0x56, 0x9b, 0x3c, 0x65, 0xbd, 0xc4, 0x26, - 0x4f, 0x69, 0x61, 0xc6, 0x35, 0x74, 0x04, 0x8b, 0x71, 0xfd, 0x44, 0x6f, 0x13, 0x65, 0x5b, 0x90, - 0xdd, 0x8d, 0xac, 0x30, 0x39, 0xf4, 0x11, 0x96, 0x67, 0x25, 0x0c, 0x6d, 0xcf, 0x74, 0xe6, 0xea, - 0xab, 0xeb, 0xe4, 0x37, 0x66, 0x00, 0x0f, 0x4d, 0xf5, 0xa3, 0x78, 0xf4, 0x6f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xaa, 0x2b, 0x6d, 0x5f, 0x5a, 0x0e, 0x00, 0x00, + // 1137 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xdd, 0x4e, 0xe3, 0x46, + 0x14, 0x4e, 0x08, 0x24, 0xe4, 0x90, 0xdd, 0x86, 0xd9, 0x00, 0xc6, 0x40, 0x97, 0x4e, 0x7b, 0x81, + 0xd4, 0x16, 0xad, 0x82, 0x54, 0xf5, 0x6e, 0x05, 0x88, 0x3f, 0x6d, 0x41, 0xad, 0x41, 0x42, 0x42, + 0xaa, 0xac, 0x89, 0x99, 0x24, 0x16, 0x89, 0x9d, 0xce, 0x4c, 0x60, 0xb3, 0x6f, 0xd0, 0x27, 0xe9, + 0x03, 0xf5, 0x11, 0x7a, 0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, 0x76, 0xae, 0xb1, 0x77, 0x72, 0xf7, 0x62, 0xa4, 0x7b, + 0x68, 0x2f, 0x76, 0x70, 0x13, 0xa6, 0x05, 0xa3, 0x82, 0x09, 0xd3, 0xc2, 0xe6, 0x5f, 0x41, 0x17, + 0x00, 0xa6, 0x21, 0x9a, 0xe7, 0xce, 0x74, 0x5f, 0xf3, 0xdc, 0xd9, 0xfe, 0x89, 0x2b, 0x1f, 0xaa, + 0x11, 0xc3, 0xc5, 0x06, 0x67, 0x18, 0x16, 0x74, 0x52, 0xc3, 0xb0, 0xa8, 0x37, 0xe2, 0x0a, 0xba, + 0x81, 0x37, 0xa9, 0x8e, 0x84, 0x76, 0xe3, 0x6b, 0xe5, 0xb4, 0x47, 0x7b, 0xaf, 0x60, 0x37, 0x99, + 0x3c, 0x99, 0x92, 0x6f, 0x92, 0xa7, 0xa8, 0xc5, 0x99, 0xe4, 0x29, 0xec, 0x17, 0xb8, 0x82, 0x8e, + 0x60, 0x39, 0x2a, 0xeb, 0xe8, 0x5d, 0xac, 0x6c, 0xfa, 0x84, 0xdd, 0x49, 0x0b, 0xe3, 0x43, 0x1f, + 0x61, 0x75, 0x5e, 0x59, 0xd1, 0xd6, 0x5c, 0x67, 0xa1, 0xec, 0xdb, 0x56, 0x76, 0x23, 0xe9, 0xa1, + 0x54, 0x19, 0x34, 0x1e, 0xca, 0xab, 0xc3, 0xc6, 0x43, 0xb9, 0xb5, 0x13, 0x57, 0x7a, 0x75, 0xf9, + 0x3f, 0x7c, 0xf4, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x95, 0x78, 0xf8, 0x41, 0x0f, 0x00, + 0x00, } diff --git a/vendor/vendor.json b/vendor/vendor.json index 2ccb6a096..daf5d0855 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -201,12 +201,12 @@ "revisionTime": "2017-01-30T11:31:45Z" }, { - "checksumSHA1": "XMylANBPKE261AGhHeksUFRC7KQ=", + "checksumSHA1": "jTJBhnPKmona+1U7mbfFjodrGUQ=", "path": "gitlab.com/gitlab-org/gitaly-proto/go", - "revision": "21e2d599e812e4b55a902e7d48ea4a3618674b16", - "revisionTime": "2017-12-07T16:49:09Z", - "version": "v0.60.0", - "versionExact": "v0.60.0" + "revision": "a74d4f2565d3461fa699f1d58df099a06f3a631c", + "revisionTime": "2017-12-08T15:42:58Z", + "version": "v0.61.0", + "versionExact": "v0.61.0" }, { "checksumSHA1": "nqWNlnMmVpt628zzvyo6Yv2CX5Q=", |