diff options
author | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2018-01-19 00:04:49 +0300 |
---|---|---|
committer | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2018-01-19 00:04:49 +0300 |
commit | 067aa41bdcf8e54725928e95688a34add2bf9501 (patch) | |
tree | 7d1dbca256670a50da759c9266368a8979e3a72a | |
parent | 864a60b7a58201466623bab5fcb7eaf755fb3738 (diff) | |
parent | be2b634ca260b043d50fb90a275c0e2e9a7775f8 (diff) |
Merge branch 'feature/implement-create-bundle-rpc' into 'master'
Implement CreateBundle RPC
Closes #930
See merge request gitlab-org/gitaly!546
-rw-r--r-- | internal/service/repository/create_bundle.go | 42 | ||||
-rw-r--r-- | internal/service/repository/create_bundle_test.go | 89 | ||||
-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 | 256 | ||||
-rw-r--r-- | vendor/vendor.json | 10 |
6 files changed, 315 insertions, 86 deletions
diff --git a/internal/service/repository/create_bundle.go b/internal/service/repository/create_bundle.go new file mode 100644 index 000000000..6832b4600 --- /dev/null +++ b/internal/service/repository/create_bundle.go @@ -0,0 +1,42 @@ +package repository + +import ( + "io" + + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/streamio" + + pb "gitlab.com/gitlab-org/gitaly-proto/go" + + "google.golang.org/grpc" + "google.golang.org/grpc/codes" +) + +func (s *server) CreateBundle(req *pb.CreateBundleRequest, stream pb.RepositoryService_CreateBundleServer) error { + repo := req.GetRepository() + if repo == nil { + return grpc.Errorf(codes.InvalidArgument, "CreateBundle: empty Repository") + } + + ctx := stream.Context() + + cmd, err := git.Command(ctx, repo, "bundle", "create", "-", "--all") + if err != nil { + return grpc.Errorf(codes.Internal, "CreateBundle: cmd start failed: %v", err) + } + + writer := streamio.NewWriter(func(p []byte) error { + return stream.Send(&pb.CreateBundleResponse{Data: p}) + }) + + _, err = io.Copy(writer, cmd) + if err != nil { + return grpc.Errorf(codes.Internal, "CreateBundle: stream writer failed: %v", err) + } + + if err := cmd.Wait(); err != nil { + return grpc.Errorf(codes.Internal, "CreateBundle: cmd wait failed: %v", err) + } + + return nil +} diff --git a/internal/service/repository/create_bundle_test.go b/internal/service/repository/create_bundle_test.go new file mode 100644 index 000000000..dd6979b06 --- /dev/null +++ b/internal/service/repository/create_bundle_test.go @@ -0,0 +1,89 @@ +package repository + +import ( + "io" + "io/ioutil" + "os" + "testing" + + "gitlab.com/gitlab-org/gitaly/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/streamio" + + pb "gitlab.com/gitlab-org/gitaly-proto/go" + + "github.com/stretchr/testify/require" + "google.golang.org/grpc/codes" +) + +func TestSuccessfulCreateBundleRequest(t *testing.T) { + server, serverSocketPath := runRepoServer(t) + defer server.Stop() + + client, conn := newRepositoryClient(t, serverSocketPath) + defer conn.Close() + + ctx, cancel := testhelper.Context() + defer cancel() + + testRepo, testRepoPath, cleanupFn := testhelper.NewTestRepo(t) + defer cleanupFn() + + request := &pb.CreateBundleRequest{Repository: testRepo} + + c, err := client.CreateBundle(ctx, request) + require.NoError(t, err) + + reader := streamio.NewReader(func() ([]byte, error) { + response, err := c.Recv() + return response.GetData(), err + }) + + dstDir, err := tempdir.New(testRepo) + require.NoError(t, err) + dstFile, err := ioutil.TempFile(dstDir, "") + require.NoError(t, err) + defer dstFile.Close() + defer os.RemoveAll(dstFile.Name()) + + _, err = io.Copy(dstFile, reader) + require.NoError(t, err) + + output := testhelper.MustRunCommand(t, nil, "git", "-C", testRepoPath, "bundle", "verify", dstFile.Name()) + // Extra sanity; running verify should fail on bad bundles + require.Contains(t, string(output), "The bundle records a complete history") +} + +func TestFailedCreateBundleRequestDueToValidations(t *testing.T) { + server, serverSocketPath := runRepoServer(t) + defer server.Stop() + + client, conn := newRepositoryClient(t, serverSocketPath) + defer conn.Close() + + testCases := []struct { + desc string + request *pb.CreateBundleRequest + code codes.Code + }{ + { + desc: "empty repository", + request: &pb.CreateBundleRequest{}, + code: codes.InvalidArgument, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.desc, func(t *testing.T) { + ctx, cancel := testhelper.Context() + defer cancel() + + stream, err := client.CreateBundle(ctx, testCase.request) + require.NoError(t, err) + + _, err = stream.Recv() + require.NotEqual(t, io.EOF, err) + testhelper.AssertGrpcError(t, err, testCase.code, "") + }) + } +} diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION index c52842c46..62df9f538 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION @@ -1 +1 @@ -0.75.0 +0.76.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 efa8bdd13..cb2bd24c5 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 @@ -190,6 +190,8 @@ It has these top-level messages: IsRebaseInProgressResponse CreateRepositoryFromURLRequest CreateRepositoryFromURLResponse + CreateBundleRequest + CreateBundleResponse 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 3a97dfe2a..bdd473dfb 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 @@ -758,6 +758,38 @@ func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{35} } +type CreateBundleRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` +} + +func (m *CreateBundleRequest) Reset() { *m = CreateBundleRequest{} } +func (m *CreateBundleRequest) String() string { return proto.CompactTextString(m) } +func (*CreateBundleRequest) ProtoMessage() {} +func (*CreateBundleRequest) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{36} } + +func (m *CreateBundleRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type CreateBundleResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (m *CreateBundleResponse) Reset() { *m = CreateBundleResponse{} } +func (m *CreateBundleResponse) String() string { return proto.CompactTextString(m) } +func (*CreateBundleResponse) ProtoMessage() {} +func (*CreateBundleResponse) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{37} } + +func (m *CreateBundleResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + func init() { proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest") proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse") @@ -795,6 +827,8 @@ func init() { proto.RegisterType((*IsRebaseInProgressResponse)(nil), "gitaly.IsRebaseInProgressResponse") proto.RegisterType((*CreateRepositoryFromURLRequest)(nil), "gitaly.CreateRepositoryFromURLRequest") proto.RegisterType((*CreateRepositoryFromURLResponse)(nil), "gitaly.CreateRepositoryFromURLResponse") + proto.RegisterType((*CreateBundleRequest)(nil), "gitaly.CreateBundleRequest") + proto.RegisterType((*CreateBundleResponse)(nil), "gitaly.CreateBundleResponse") proto.RegisterEnum("gitaly.GetArchiveRequest_Format", GetArchiveRequest_Format_name, GetArchiveRequest_Format_value) } @@ -827,6 +861,7 @@ type RepositoryServiceClient interface { CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) IsRebaseInProgress(ctx context.Context, in *IsRebaseInProgressRequest, opts ...grpc.CallOption) (*IsRebaseInProgressResponse, error) CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) + CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) } type repositoryServiceClient struct { @@ -1022,6 +1057,38 @@ func (c *repositoryServiceClient) CreateRepositoryFromURL(ctx context.Context, i return out, nil } +func (c *repositoryServiceClient) CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) { + stream, err := grpc.NewClientStream(ctx, &_RepositoryService_serviceDesc.Streams[1], c.cc, "/gitaly.RepositoryService/CreateBundle", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceCreateBundleClient{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 RepositoryService_CreateBundleClient interface { + Recv() (*CreateBundleResponse, error) + grpc.ClientStream +} + +type repositoryServiceCreateBundleClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceCreateBundleClient) Recv() (*CreateBundleResponse, error) { + m := new(CreateBundleResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // Server API for RepositoryService service type RepositoryServiceServer interface { @@ -1043,6 +1110,7 @@ type RepositoryServiceServer interface { CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) IsRebaseInProgress(context.Context, *IsRebaseInProgressRequest) (*IsRebaseInProgressResponse, error) CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) + CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error } func RegisterRepositoryServiceServer(s *grpc.Server, srv RepositoryServiceServer) { @@ -1376,6 +1444,27 @@ func _RepositoryService_CreateRepositoryFromURL_Handler(srv interface{}, ctx con return interceptor(ctx, in, info, handler) } +func _RepositoryService_CreateBundle_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CreateBundleRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).CreateBundle(m, &repositoryServiceCreateBundleServer{stream}) +} + +type RepositoryService_CreateBundleServer interface { + Send(*CreateBundleResponse) error + grpc.ServerStream +} + +type repositoryServiceCreateBundleServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceCreateBundleServer) Send(m *CreateBundleResponse) error { + return x.ServerStream.SendMsg(m) +} + var _RepositoryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.RepositoryService", HandlerType: (*RepositoryServiceServer)(nil), @@ -1455,6 +1544,11 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ Handler: _RepositoryService_GetArchive_Handler, ServerStreams: true, }, + { + StreamName: "CreateBundle", + Handler: _RepositoryService_CreateBundle_Handler, + ServerStreams: true, + }, }, Metadata: "repository-service.proto", } @@ -1462,84 +1556,86 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("repository-service.proto", fileDescriptor10) } var fileDescriptor10 = []byte{ - // 1250 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0xb6, 0xe3, 0xc6, 0x49, 0x8e, 0xdd, 0xce, 0x61, 0x9d, 0x46, 0x56, 0x7f, 0x92, 0x72, 0xc3, - 0x16, 0x60, 0x5b, 0x50, 0x38, 0xc0, 0xb0, 0x9b, 0xa1, 0x48, 0x8a, 0x3a, 0x35, 0xfa, 0x83, 0x4e, - 0xed, 0x50, 0x20, 0xc0, 0x60, 0xc8, 0x32, 0x6d, 0x0b, 0x96, 0x45, 0x8f, 0xa4, 0xb3, 0xba, 0x4f, - 0xb0, 0xe7, 0xda, 0x2b, 0xec, 0x11, 0x76, 0xd9, 0x97, 0x18, 0x44, 0xd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97, 0x3c, 0xa7, 0xb0, 0x0b, 0xe8, 0x70, 0x05, - 0x3d, 0x07, 0x30, 0x14, 0x15, 0x75, 0xd2, 0x57, 0x12, 0x24, 0xd9, 0xb6, 0xf3, 0xb6, 0x62, 0x98, - 0x9f, 0xe1, 0x4e, 0x9a, 0x61, 0xa2, 0x87, 0xf1, 0x70, 0xcd, 0xe3, 0xba, 0xf6, 0xa3, 0xa2, 0xed, - 0x24, 0x64, 0x9a, 0x4d, 0x1a, 0xc8, 0x5c, 0xca, 0x6a, 0x20, 0xf3, 0x49, 0x28, 0xae, 0xa0, 0x5f, - 0x01, 0x65, 0x59, 0x20, 0x8a, 0xfd, 0x54, 0x48, 0x47, 0x6d, 0x7c, 0xd3, 0x91, 0x18, 0xfe, 0x05, - 0x34, 0x12, 0x04, 0x0b, 0xc5, 0x1e, 0xcb, 0x52, 0x4b, 0xfb, 0x7e, 0xee, 0x5e, 0x8c, 0xf4, 0x01, - 0x5a, 0x9b, 0xf9, 0x6d, 0xd2, 0xb4, 0x80, 0xad, 0x99, 0x34, 0x2d, 0xe4, 0x5f, 0x15, 0x74, 0x09, - 0x60, 0x38, 0x89, 0x09, 0x77, 0x86, 0x00, 0x99, 0x70, 0x67, 0x29, 0x0c, 0xae, 0x3c, 0xa9, 0x46, - 0x16, 0x6e, 0x72, 0x0c, 0x63, 0x61, 0x01, 0x99, 0x31, 0x16, 0x16, 0xd1, 0x13, 0x95, 0xec, 0x99, - 0xa1, 0x6d, 0x92, 0xbd, 0x88, 0xa4, 0x98, 0x64, 0x2f, 0x9c, 0xf8, 0xb8, 0x82, 0xce, 0xe0, 0x56, - 0x34, 0x98, 0xd1, 0xdd, 0xf8, 0xb0, 0x99, 0xf4, 0x76, 0x3b, 0x2d, 0x8c, 0x2f, 0x3d, 0x85, 0xdd, - 0xf5, 0x88, 0x43, 0x87, 0xeb, 0x33, 0x1b, 0x83, 0xdb, 0xb6, 0xb2, 0x1b, 0x31, 0xc0, 0x1b, 0xb8, - 0x9d, 0x9a, 0x47, 0xe8, 0x41, 0xac, 0x29, 0x67, 0x20, 0xda, 0x0f, 0x0b, 0x76, 0x93, 0x25, 0x6b, - 0xe6, 0x84, 0x89, 0x61, 0x66, 0x8a, 0x99, 0x18, 0xe6, 0x8c, 0x15, 0x59, 0x0c, 0xd9, 0x56, 0x6f, - 0x8a, 0xa1, 0x70, 0xe8, 0x98, 0x62, 0x28, 0x9e, 0x14, 0xb8, 0x82, 0x82, 0xec, 0xcf, 0x0a, 0xdd, - 0xa2, 0xd1, 0xd7, 0x45, 0x89, 0x9a, 0x9e, 0x15, 0xf6, 0x37, 0xff, 0x7a, 0x6e, 0xad, 0x6d, 0x58, - 0x97, 0x7f, 0xab, 0x9c, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0xef, 0x87, 0x20, 0x75, 0x88, 0x11, - 0x00, 0x00, + // 1291 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xdd, 0x6e, 0xdb, 0xb6, + 0x17, 0xb7, 0xe3, 0xc6, 0x49, 0x8e, 0xdd, 0xfe, 0x1d, 0xd6, 0x69, 0x14, 0x25, 0x6d, 0x52, 0xfe, + 0x87, 0x2d, 0xd8, 0x47, 0x50, 0x38, 0xc0, 0xb0, 0x9b, 0xa1, 0x48, 0x8a, 0x3a, 0x35, 0xda, 0x14, + 0x9d, 0xda, 0xa1, 0x40, 0x80, 0xc1, 0x90, 0x65, 0xda, 0x16, 0x2c, 0x8b, 0x1e, 0x49, 0x67, 0x75, + 0x9f, 0x60, 0xcf, 0xb4, 0xcb, 0xbd, 0xc2, 0x1e, 0x61, 0x97, 0x7b, 0x89, 0x41, 0x24, 0x2d, 0x4a, + 0x96, 0xd4, 0x5d, 0x08, 0xc3, 0xee, 0xc4, 0xc3, 0xc3, 0xdf, 0x39, 0x3c, 0x3c, 0x1f, 0x3f, 0x1b, + 0x2c, 0x46, 0xe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 0x35, 0xdc, 0x4d, 0x8d, 0x41, 0x74, 0x14, 0x5b, 0xca, 0x99, + 0xc3, 0xf6, 0xc3, 0x82, 0xdd, 0x64, 0xc9, 0x9a, 0xf1, 0x64, 0xde, 0x30, 0x33, 0x3c, 0xcd, 0x1b, + 0xe6, 0x4c, 0x33, 0x59, 0x0c, 0xd9, 0x09, 0x63, 0x8a, 0xa1, 0x70, 0xd6, 0x99, 0x62, 0x28, 0x1e, + 0x50, 0xb8, 0x82, 0x82, 0xec, 0xaf, 0x19, 0x3d, 0x19, 0xd0, 0xe7, 0x45, 0x89, 0x9a, 0x1e, 0x51, + 0xf6, 0x17, 0xff, 0xa8, 0x17, 0x5b, 0xbb, 0x86, 0x66, 0x72, 0x32, 0xa0, 0xc3, 0xf4, 0xd1, 0xd4, + 0xe8, 0xb1, 0x8f, 0xf2, 0x37, 0x4d, 0x76, 0x0f, 0xea, 0xf2, 0xcf, 0xa1, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0x95, 0x8c, 0x0d, 0x05, 0x4e, 0x12, 0x00, 0x00, } diff --git a/vendor/vendor.json b/vendor/vendor.json index cf042c26e..a573cdf78 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -201,12 +201,12 @@ "revisionTime": "2017-12-31T12:27:32Z" }, { - "checksumSHA1": "ZN7Ew/umcmsx5tI0Wjh6zMRueS0=", + "checksumSHA1": "dL3K85T4kdU2Je6rWweC3gj9lcg=", "path": "gitlab.com/gitlab-org/gitaly-proto/go", - "revision": "f62abc80cb25363bf51a4f89f02654ca2f722dc8", - "revisionTime": "2018-01-17T16:23:27Z", - "version": "v0.75.0", - "versionExact": "v0.75.0" + "revision": "30e826049b0364c146c3a9c64e44d8840203e431", + "revisionTime": "2018-01-18T19:34:58Z", + "version": "v0.76.0", + "versionExact": "v0.76.0" }, { "checksumSHA1": "nqWNlnMmVpt628zzvyo6Yv2CX5Q=", |