Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-09-22 18:02:43 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-09-28 23:56:21 +0300
commit5ef3de94871f97d243b620381b49486940ee83f6 (patch)
treeb9340a44b2ebc8d121fab087f68bb5d590c0d107
parent0a014bd71c8a6786cae95159e642d056df64cd4b (diff)
Implement RepositoryService.GetArchive RPC
-rw-r--r--CHANGELOG.md2
-rw-r--r--internal/service/repository/archive.go72
-rw-r--r--internal/service/repository/archive_test.go179
-rw-r--r--vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION2
-rw-r--r--vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go2
-rw-r--r--vendor/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go70
-rw-r--r--vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go235
-rw-r--r--vendor/vendor.json10
8 files changed, 495 insertions, 77 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cc4fe4af2..b458b9322 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,8 @@ UNRELEASED
https://gitlab.com/gitlab-org/gitaly/merge_requests/364
- Fail harder during startup, fix version string
https://gitlab.com/gitlab-org/gitaly/merge_requests/379
+- Implement RepositoryService.GetArchive RPC
+ https://gitlab.com/gitlab-org/gitaly/merge_requests/370
v0.42.0
diff --git a/internal/service/repository/archive.go b/internal/service/repository/archive.go
new file mode 100644
index 000000000..b7f96c8b6
--- /dev/null
+++ b/internal/service/repository/archive.go
@@ -0,0 +1,72 @@
+package repository
+
+import (
+ "context"
+ "io"
+ "os/exec"
+
+ "google.golang.org/grpc"
+ "google.golang.org/grpc/codes"
+
+ "gitlab.com/gitlab-org/gitaly/internal/command"
+ "gitlab.com/gitlab-org/gitaly/streamio"
+
+ pb "gitlab.com/gitlab-org/gitaly-proto/go"
+ "gitlab.com/gitlab-org/gitaly/internal/git"
+)
+
+func parseArchiveFormat(format pb.GetArchiveRequest_Format) (*exec.Cmd, string) {
+ switch format {
+ case pb.GetArchiveRequest_TAR:
+ return nil, "tar"
+ case pb.GetArchiveRequest_TAR_GZ:
+ return exec.Command("gzip", "-c", "-n"), "tar"
+ case pb.GetArchiveRequest_TAR_BZ2:
+ return exec.Command("bzip2", "-c"), "tar"
+ case pb.GetArchiveRequest_ZIP:
+ return nil, "zip"
+ }
+
+ return nil, ""
+}
+
+func handleArchive(ctx context.Context, writer io.Writer, repo *pb.Repository,
+ format pb.GetArchiveRequest_Format, prefix, commitID string) error {
+ compressCmd, formatArg := parseArchiveFormat(format)
+ if len(formatArg) == 0 {
+ return grpc.Errorf(codes.InvalidArgument, "invalid format")
+ }
+
+ archiveCommand, err := git.Command(ctx, repo, "archive",
+ "--format="+formatArg, "--prefix="+prefix+"/", commitID)
+ if err != nil {
+ return err
+ }
+
+ if compressCmd != nil {
+ command, err := command.New(ctx, compressCmd, archiveCommand, writer, nil)
+ if err != nil {
+ return err
+ }
+
+ if err := command.Wait(); err != nil {
+ return err
+ }
+ } else if _, err = io.Copy(writer, archiveCommand); err != nil {
+ return err
+ }
+
+ return archiveCommand.Wait()
+}
+
+func (s *server) GetArchive(in *pb.GetArchiveRequest, stream pb.RepositoryService_GetArchiveServer) error {
+ if err := git.ValidateRevision([]byte(in.CommitId)); err != nil {
+ return grpc.Errorf(codes.InvalidArgument, "invalid commitId: %v", err)
+ }
+
+ writer := streamio.NewWriter(func(p []byte) error {
+ return stream.Send(&pb.GetArchiveResponse{Data: p})
+ })
+
+ return handleArchive(stream.Context(), writer, in.Repository, in.Format, in.Prefix, in.CommitId)
+}
diff --git a/internal/service/repository/archive_test.go b/internal/service/repository/archive_test.go
new file mode 100644
index 000000000..bce819c08
--- /dev/null
+++ b/internal/service/repository/archive_test.go
@@ -0,0 +1,179 @@
+package repository
+
+import (
+ "fmt"
+ "io/ioutil"
+ "os"
+ "testing"
+
+ "google.golang.org/grpc/codes"
+
+ "github.com/stretchr/testify/require"
+
+ pb "gitlab.com/gitlab-org/gitaly-proto/go"
+ "gitlab.com/gitlab-org/gitaly/internal/testhelper"
+ "gitlab.com/gitlab-org/gitaly/streamio"
+)
+
+func TestGetArchiveSuccess(t *testing.T) {
+ server := runRepoServer(t)
+ defer server.Stop()
+
+ client, conn := newRepositoryClient(t)
+ defer conn.Close()
+
+ formats := []pb.GetArchiveRequest_Format{
+ pb.GetArchiveRequest_ZIP,
+ pb.GetArchiveRequest_TAR,
+ pb.GetArchiveRequest_TAR_GZ,
+ pb.GetArchiveRequest_TAR_BZ2,
+ }
+
+ testCases := []struct {
+ desc string
+ prefix string
+ commitID string
+ }{
+ {
+ desc: "without-prefix",
+ commitID: "1a0b36b3cdad1d2ee32457c102a8c0b7056fa863",
+ prefix: "",
+ },
+ {
+ desc: "with-prefix",
+ commitID: "1a0b36b3cdad1d2ee32457c102a8c0b7056fa863",
+ prefix: "my-prefix",
+ },
+ }
+
+ for _, tc := range testCases {
+ // Run test case with each format
+ for _, format := range formats {
+ testCaseName := fmt.Sprintf("%s-%s", tc.desc, format.String())
+ t.Run(testCaseName, func(t *testing.T) {
+ ctx, cancel := testhelper.Context()
+ defer cancel()
+
+ req := &pb.GetArchiveRequest{
+ Repository: testRepo,
+ CommitId: tc.commitID,
+ Prefix: tc.prefix,
+ Format: format,
+ }
+ stream, err := client.GetArchive(ctx, req)
+ require.NoError(t, err)
+
+ data, err := consumeArchive(stream)
+ require.NoError(t, err)
+
+ archiveFile, err := ioutil.TempFile("", "")
+ require.NoError(t, err)
+ defer os.Remove(archiveFile.Name())
+
+ _, err = archiveFile.Write(data)
+ require.NoError(t, err)
+
+ contents := string(compressedFileContents(t, format, archiveFile.Name()))
+
+ require.Contains(t, contents, tc.prefix+"/.gitignore")
+ require.Contains(t, contents, tc.prefix+"/LICENSE")
+ require.Contains(t, contents, tc.prefix+"/README.md")
+ })
+ }
+ }
+}
+
+func TestGetArchiveFailure(t *testing.T) {
+ server := runRepoServer(t)
+ defer server.Stop()
+
+ client, conn := newRepositoryClient(t)
+ defer conn.Close()
+
+ commitID := "1a0b36b3cdad1d2ee32457c102a8c0b7056fa863"
+
+ testCases := []struct {
+ desc string
+ repo *pb.Repository
+ prefix string
+ commitID string
+ format pb.GetArchiveRequest_Format
+ code codes.Code
+ }{
+ {
+ desc: "Repository doesn't exist",
+ repo: &pb.Repository{StorageName: "fake", RelativePath: "path"},
+ prefix: "",
+ commitID: commitID,
+ format: pb.GetArchiveRequest_ZIP,
+ code: codes.InvalidArgument,
+ },
+ {
+ desc: "Repository is nil",
+ repo: nil,
+ prefix: "",
+ commitID: commitID,
+ format: pb.GetArchiveRequest_ZIP,
+ code: codes.InvalidArgument,
+ },
+ {
+ desc: "CommitId is empty",
+ repo: testRepo,
+ prefix: "",
+ commitID: "",
+ format: pb.GetArchiveRequest_ZIP,
+ code: codes.InvalidArgument,
+ },
+ {
+ desc: "Format is invalid",
+ repo: testRepo,
+ prefix: "",
+ commitID: "",
+ format: pb.GetArchiveRequest_Format(-1),
+ code: codes.InvalidArgument,
+ },
+ }
+
+ for _, tc := range testCases {
+ t.Run(tc.desc, func(t *testing.T) {
+ ctx, cancel := testhelper.Context()
+ defer cancel()
+
+ req := &pb.GetArchiveRequest{
+ Repository: tc.repo,
+ CommitId: tc.commitID,
+ Prefix: tc.prefix,
+ Format: tc.format,
+ }
+ stream, err := client.GetArchive(ctx, req)
+ require.NoError(t, err)
+
+ _, err = consumeArchive(stream)
+ testhelper.AssertGrpcError(t, err, tc.code, "")
+ })
+ }
+}
+
+func compressedFileContents(t *testing.T, format pb.GetArchiveRequest_Format, name string) []byte {
+ switch format {
+ case pb.GetArchiveRequest_TAR:
+ return testhelper.MustRunCommand(t, nil, "tar", "tf", name)
+ case pb.GetArchiveRequest_TAR_GZ:
+ return testhelper.MustRunCommand(t, nil, "tar", "ztf", name)
+ case pb.GetArchiveRequest_TAR_BZ2:
+ return testhelper.MustRunCommand(t, nil, "tar", "jtf", name)
+ case pb.GetArchiveRequest_ZIP:
+ return testhelper.MustRunCommand(t, nil, "unzip", "-l", name)
+ }
+
+ return nil
+}
+
+func consumeArchive(stream pb.RepositoryService_GetArchiveClient) ([]byte, error) {
+ reader := streamio.NewReader(func() ([]byte, error) {
+ response, err := stream.Recv()
+ return response.GetData(), err
+ })
+
+ return ioutil.ReadAll(reader)
+}
diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
index 0f1a7dfc7..ca75280b0 100644
--- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
+++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
@@ -1 +1 @@
-0.37.0
+0.38.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 a1c4005fa..09401a53c 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
@@ -115,6 +115,8 @@ It has these top-level messages:
FetchRemoteResponse
CreateRepositoryRequest
CreateRepositoryResponse
+ GetArchiveRequest
+ GetArchiveResponse
Repository
GitCommit
CommitAuthor
diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go
index 0aae59e73..171aa32e5 100644
--- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go
+++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go
@@ -116,6 +116,7 @@ func (m *UserDeleteBranchRequest) GetUser() *User {
}
type UserDeleteBranchResponse struct {
+ PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} }
@@ -123,6 +124,13 @@ func (m *UserDeleteBranchResponse) String() string { return proto.Com
func (*UserDeleteBranchResponse) ProtoMessage() {}
func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{3} }
+func (m *UserDeleteBranchResponse) GetPreReceiveError() string {
+ if m != nil {
+ return m.PreReceiveError
+ }
+ return ""
+}
+
type UserDeleteTagRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
@@ -436,35 +444,35 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("operations.proto", fileDescriptor6) }
var fileDescriptor6 = []byte{
- // 470 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0xcd, 0x8e, 0xd3, 0x30,
- 0x10, 0x6e, 0xb6, 0x4b, 0x76, 0x99, 0x96, 0xdd, 0x62, 0xf1, 0x13, 0x22, 0x56, 0x1b, 0xe5, 0x00,
- 0x2b, 0x0e, 0x3d, 0x94, 0x37, 0x60, 0xe1, 0xba, 0x20, 0x03, 0xe2, 0x18, 0xb9, 0x65, 0x94, 0x5a,
- 0x6a, 0xe3, 0x30, 0x76, 0x2b, 0xca, 0x0b, 0x70, 0xe5, 0x55, 0x78, 0x0d, 0x9e, 0x83, 0x07, 0x41,
- 0x89, 0x9d, 0x36, 0x49, 0x53, 0x09, 0x89, 0x03, 0x7b, 0xf4, 0x37, 0xa3, 0x6f, 0xbe, 0xf9, 0xfc,
- 0xd9, 0x30, 0x52, 0x39, 0x92, 0x30, 0x52, 0x65, 0x7a, 0x9c, 0x93, 0x32, 0x8a, 0xf9, 0xa9, 0x34,
- 0x62, 0xb1, 0x09, 0x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xff, 0x68, 0xce,
- 0x82, 0x9b, 0x82, 0x05, 0x00, 0x00,
+ // 472 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0xcd, 0x6e, 0xd3, 0x40,
+ 0x10, 0x8e, 0x9b, 0xe2, 0x96, 0x49, 0x68, 0xc3, 0x8a, 0x1f, 0x13, 0x51, 0xd5, 0xda, 0x03, 0x54,
+ 0x1c, 0x72, 0x08, 0x6f, 0x40, 0x81, 0x63, 0x41, 0x0b, 0x88, 0xa3, 0xb5, 0x0d, 0x23, 0x77, 0xa5,
+ 0xc6, 0x6b, 0x66, 0x37, 0x11, 0xe1, 0x05, 0xb8, 0xf2, 0x2a, 0xbc, 0x06, 0xcf, 0xc1, 0x83, 0x20,
+ 0x7b, 0xd7, 0x89, 0xed, 0x38, 0x12, 0x82, 0x03, 0x3d, 0xee, 0x37, 0xa3, 0x6f, 0xbe, 0xef, 0xd3,
+ 0xcc, 0xc2, 0x48, 0xe7, 0x48, 0xd2, 0x2a, 0x9d, 0x99, 0x49, 0x4e, 0xda, 0x6a, 0x16, 0xa6, 0xca,
+ 0xca, 0xeb, 0xd5, 0x78, 0x68, 0xae, 0x24, 0xe1, 0x27, 0x87, 0xf2, 0x1f, 0x01, 0x3c, 0xfc, 0x60,
+ 0x90, 0xce, 0x09, 0xa5, 0xc5, 0x17, 0x24, 0xb3, 0xd9, 0x95, 0xc0, 0xcf, 0x0b, 0x34, 0x96, 0x4d,
+ 0x01, 0x08, 0x73, 0x6d, 0x94, 0xd5, 0xb4, 0x8a, 0x82, 0x38, 0x38, 0x1b, 0x4c, 0xd9, 0xc4, 0xd1,
+ 0x4c, 0xc4, 0xba, 0x22, 0x6a, 0x5d, 0xec, 0x14, 0x06, 0x97, 0x25, 0x49, 0x92, 0xc9, 0x39, 0x46,
+ 0x7b, 0x71, 0x70, 0x36, 0x14, 0xe0, 0xa0, 0x0b, 0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 0xfa, 0x56, 0xa6, 0xde,
+ 0xc5, 0xa0, 0x1a, 0x5e, 0x74, 0x14, 0x38, 0x7b, 0x00, 0x21, 0x7e, 0x51, 0xc6, 0x9a, 0x52, 0xf5,
+ 0xa1, 0xf0, 0xaf, 0xee, 0x20, 0xfb, 0x9d, 0x41, 0x4e, 0x7f, 0xed, 0xc1, 0xe8, 0x4d, 0xf5, 0x83,
+ 0xbc, 0x43, 0x5a, 0xaa, 0x19, 0xb2, 0x8f, 0x30, 0x6a, 0xdf, 0x1d, 0x3b, 0xad, 0x7b, 0xef, 0xf8,
+ 0x44, 0xc6, 0xf1, 0xee, 0x06, 0x67, 0x87, 0xf7, 0x2a, 0xe2, 0xfa, 0x36, 0x37, 0x89, 0x3b, 0x2e,
+ 0xaf, 0x49, 0xdc, 0x75, 0x08, 0xbc, 0xc7, 0x2e, 0xe0, 0x4e, 0x23, 0x42, 0xf6, 0x78, 0x5b, 0xcd,
+ 0x66, 0x4b, 0xc6, 0x27, 0x3b, 0xaa, 0x6d, 0xbe, 0xf5, 0x92, 0x36, 0xf9, 0xda, 0x47, 0xd4, 0xe4,
+ 0xdb, 0xda, 0x6c, 0xde, 0xbb, 0x0c, 0xcb, 0x4f, 0xf8, 0xf9, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff,
+ 0x4d, 0x0d, 0x02, 0xa3, 0xae, 0x05, 0x00, 0x00,
}
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 48edd2fce..519f76594 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
@@ -17,6 +17,33 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
+type GetArchiveRequest_Format int32
+
+const (
+ GetArchiveRequest_ZIP GetArchiveRequest_Format = 0
+ GetArchiveRequest_TAR GetArchiveRequest_Format = 1
+ GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2
+ GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3
+)
+
+var GetArchiveRequest_Format_name = map[int32]string{
+ 0: "ZIP",
+ 1: "TAR",
+ 2: "TAR_GZ",
+ 3: "TAR_BZ2",
+}
+var GetArchiveRequest_Format_value = map[string]int32{
+ "ZIP": 0,
+ "TAR": 1,
+ "TAR_GZ": 2,
+ "TAR_BZ2": 3,
+}
+
+func (x GetArchiveRequest_Format) String() string {
+ return proto.EnumName(GetArchiveRequest_Format_name, int32(x))
+}
+func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) { return fileDescriptor8, []int{16, 0} }
+
type RepositoryExistsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
@@ -298,6 +325,62 @@ func (m *CreateRepositoryResponse) String() string { return proto.Com
func (*CreateRepositoryResponse) ProtoMessage() {}
func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} }
+type GetArchiveRequest struct {
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
+ CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
+ Prefix string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
+ Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"`
+}
+
+func (m *GetArchiveRequest) Reset() { *m = GetArchiveRequest{} }
+func (m *GetArchiveRequest) String() string { return proto.CompactTextString(m) }
+func (*GetArchiveRequest) ProtoMessage() {}
+func (*GetArchiveRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} }
+
+func (m *GetArchiveRequest) GetRepository() *Repository {
+ if m != nil {
+ return m.Repository
+ }
+ return nil
+}
+
+func (m *GetArchiveRequest) GetCommitId() string {
+ if m != nil {
+ return m.CommitId
+ }
+ return ""
+}
+
+func (m *GetArchiveRequest) GetPrefix() string {
+ if m != nil {
+ return m.Prefix
+ }
+ return ""
+}
+
+func (m *GetArchiveRequest) GetFormat() GetArchiveRequest_Format {
+ if m != nil {
+ return m.Format
+ }
+ return GetArchiveRequest_ZIP
+}
+
+type GetArchiveResponse struct {
+ Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
+}
+
+func (m *GetArchiveResponse) Reset() { *m = GetArchiveResponse{} }
+func (m *GetArchiveResponse) String() string { return proto.CompactTextString(m) }
+func (*GetArchiveResponse) ProtoMessage() {}
+func (*GetArchiveResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} }
+
+func (m *GetArchiveResponse) GetData() []byte {
+ if m != nil {
+ return m.Data
+ }
+ return nil
+}
+
func init() {
proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest")
proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse")
@@ -315,6 +398,9 @@ func init() {
proto.RegisterType((*FetchRemoteResponse)(nil), "gitaly.FetchRemoteResponse")
proto.RegisterType((*CreateRepositoryRequest)(nil), "gitaly.CreateRepositoryRequest")
proto.RegisterType((*CreateRepositoryResponse)(nil), "gitaly.CreateRepositoryResponse")
+ proto.RegisterType((*GetArchiveRequest)(nil), "gitaly.GetArchiveRequest")
+ proto.RegisterType((*GetArchiveResponse)(nil), "gitaly.GetArchiveResponse")
+ proto.RegisterEnum("gitaly.GetArchiveRequest_Format", GetArchiveRequest_Format_name, GetArchiveRequest_Format_value)
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -336,6 +422,7 @@ type RepositoryServiceClient interface {
ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error)
FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error)
CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error)
+ GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error)
// Deprecated, use the RepositoryExists RPC instead.
Exists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error)
}
@@ -420,6 +507,38 @@ func (c *repositoryServiceClient) CreateRepository(ctx context.Context, in *Crea
return out, nil
}
+func (c *repositoryServiceClient) GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) {
+ stream, err := grpc.NewClientStream(ctx, &_RepositoryService_serviceDesc.Streams[0], c.cc, "/gitaly.RepositoryService/GetArchive", opts...)
+ if err != nil {
+ return nil, err
+ }
+ x := &repositoryServiceGetArchiveClient{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_GetArchiveClient interface {
+ Recv() (*GetArchiveResponse, error)
+ grpc.ClientStream
+}
+
+type repositoryServiceGetArchiveClient struct {
+ grpc.ClientStream
+}
+
+func (x *repositoryServiceGetArchiveClient) Recv() (*GetArchiveResponse, error) {
+ m := new(GetArchiveResponse)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
func (c *repositoryServiceClient) Exists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) {
out := new(RepositoryExistsResponse)
err := grpc.Invoke(ctx, "/gitaly.RepositoryService/Exists", in, out, c.cc, opts...)
@@ -440,6 +559,7 @@ type RepositoryServiceServer interface {
ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error)
FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error)
CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error)
+ GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error
// Deprecated, use the RepositoryExists RPC instead.
Exists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error)
}
@@ -592,6 +712,27 @@ func _RepositoryService_CreateRepository_Handler(srv interface{}, ctx context.Co
return interceptor(ctx, in, info, handler)
}
+func _RepositoryService_GetArchive_Handler(srv interface{}, stream grpc.ServerStream) error {
+ m := new(GetArchiveRequest)
+ if err := stream.RecvMsg(m); err != nil {
+ return err
+ }
+ return srv.(RepositoryServiceServer).GetArchive(m, &repositoryServiceGetArchiveServer{stream})
+}
+
+type RepositoryService_GetArchiveServer interface {
+ Send(*GetArchiveResponse) error
+ grpc.ServerStream
+}
+
+type repositoryServiceGetArchiveServer struct {
+ grpc.ServerStream
+}
+
+func (x *repositoryServiceGetArchiveServer) Send(m *GetArchiveResponse) error {
+ return x.ServerStream.SendMsg(m)
+}
+
func _RepositoryService_Exists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RepositoryExistsRequest)
if err := dec(in); err != nil {
@@ -651,50 +792,64 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
Handler: _RepositoryService_Exists_Handler,
},
},
- Streams: []grpc.StreamDesc{},
+ Streams: []grpc.StreamDesc{
+ {
+ StreamName: "GetArchive",
+ Handler: _RepositoryService_GetArchive_Handler,
+ ServerStreams: true,
+ },
+ },
Metadata: "repository-service.proto",
}
func init() { proto.RegisterFile("repository-service.proto", fileDescriptor8) }
var fileDescriptor8 = []byte{
- // 593 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xdb, 0x6e, 0xd3, 0x4c,
- 0x10, 0x6e, 0xfe, 0xb6, 0x4e, 0xff, 0x49, 0x40, 0x65, 0x68, 0x12, 0xc7, 0x05, 0x1a, 0xcc, 0x4d,
- 0x2f, 0x20, 0x17,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0x32,
- 0xff, 0xbe, 0xaf, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xae, 0xf2, 0xe4, 0xaf, 0x07, 0x00,
- 0x00,
+ // 734 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x4f, 0x6f, 0xda, 0x4a,
+ 0x10, 0x87, 0x90, 0x98, 0x64, 0xe0, 0x45, 0x64, 0x5e, 0xfe, 0x38, 0xce, 0x7b, 0x0d, 0x75, 0x2f,
+ 0x39, 0xb4, 0xa8, 0x22, 0x97, 0x5e, 0x49, 0x94, 0x90, 0x28, 0x4a, 0xd5, 0xba, 0x91, 0x22, 0x21,
+ 0x55, 0x68, 0x31, 0x1b, 0x58, 0x01, 0x5e, 0x77, 0x77, 0x49, 0x43, 0xbe, 0x64, 0x3f, 0x44, 0x8f,
+ 0xfd, 0x12, 0x15, 0x6b, 0x63, 0x1b, 0x6c, 0x72, 0xa1, 0xbd, 0x79, 0x67, 0x67, 0x7e, 0x33, 0xfb,
+ 0x9b, 0x99, 0x9f, 0x0c, 0xa6, 0xa0, 0x3e, 0x97, 0x4c, 0x71, 0x31, 0x79, 0x27, 0xa9, 0x78, 0x64,
+ 0x2e, 0xad, 0xf9, 0x82, 0x2b, 0x8e, 0x46, 0x8f, 0x29, 0x32, 0x9c, 0x58, 0x65, 0xd9, 0x27, 0x82,
+ 0x76, 0x03, 0xab, 0x7d, 0x0b, 0x07, 0x4e, 0x14, 0x71, 0xf1, 0xc4, 0xa4, 0x92, 0x0e, 0xfd, 0x36,
+ 0xa6, 0x52, 0x61, 0x1d, 0x20, 0x06, 0x33, 0xf3, 0xd5, 0xfc, 0x49, 0xa9, 0x8e, 0xb5, 0x00, 0xa5,
+ 0x16, 0x07, 0x39, 0x09, 0x2f, 0xbb, 0x0e, 0x66, 0x1a, 0x4e, 0xfa, 0xdc, 0x93, 0x14, 0xf7, 0xc1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xc4, 0x33, 0x1e, 0xb7, 0x3b, 0xb5, 0x50, 0x71, 0xbb, 0xd3,
+ 0x2b, 0x61, 0xe7, 0xde, 0xe7, 0xf1, 0x16, 0x8c, 0x3f, 0x38, 0xe2, 0x1d, 0x43, 0xff, 0xde, 0x9c,
+ 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x20, 0x17, 0xa1, 0x43, 0x10, 0x09, 0x00, 0x00,
}
diff --git a/vendor/vendor.json b/vendor/vendor.json
index 23a75799f..7520e4962 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -201,12 +201,12 @@
"revisionTime": "2017-01-30T11:31:45Z"
},
{
- "checksumSHA1": "keFlslmol1f9UnlKI6IbhxkgGqs=",
+ "checksumSHA1": "tisAil16tojFqhqWYbs2kXwBYyk=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go",
- "revision": "65ebd80196417d9e7284325849e94297fc067ec4",
- "revisionTime": "2017-09-27T09:46:00Z",
- "version": "v0.37.0",
- "versionExact": "v0.37.0"
+ "revision": "12872bd8dad9dc72328b2c590386e67a17c65612",
+ "revisionTime": "2017-09-27T21:53:01Z",
+ "version": "v0.38.0",
+ "versionExact": "v0.38.0"
},
{
"checksumSHA1": "nqWNlnMmVpt628zzvyo6Yv2CX5Q=",