diff options
-rw-r--r-- | go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION | 2 | ||||
-rw-r--r-- | go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go | 124 | ||||
-rw-r--r-- | go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go | 381 | ||||
-rw-r--r-- | go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go | 85 | ||||
-rw-r--r-- | go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/smarthttp.pb.go | 62 | ||||
-rw-r--r-- | go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go | 66 | ||||
-rw-r--r-- | go/vendor/vendor.json | 10 | ||||
-rw-r--r-- | lib/gitlab_access_status.rb | 6 | ||||
-rw-r--r-- | lib/gitlab_net.rb | 1 | ||||
-rw-r--r-- | lib/gitlab_shell.rb | 2 | ||||
-rw-r--r-- | spec/gitlab_access_spec.rb | 2 | ||||
-rw-r--r-- | spec/gitlab_shell_spec.rb | 7 |
12 files changed, 473 insertions, 275 deletions
diff --git a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION index 8b27ad7..e23e3fd 100644 --- a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION +++ b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION @@ -1 +1 @@ -0.109.0 +0.112.0 diff --git a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go index 6182660..98695ab 100644 --- a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go +++ b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go @@ -29,6 +29,7 @@ It has these top-level messages: GetBlobsRequest GetBlobsResponse LFSPointer + NewBlobObject GetLFSPointersRequest GetLFSPointersResponse GetNewLFSPointersRequest @@ -133,6 +134,8 @@ It has these top-level messages: UserRebaseResponse UserSquashRequest UserSquashResponse + ListNewBlobsRequest + ListNewBlobsResponse FindDefaultBranchNameRequest FindDefaultBranchNameResponse FindAllBranchNamesRequest @@ -538,6 +541,38 @@ func (m *LFSPointer) GetOid() string { return "" } +type NewBlobObject struct { + Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"` + Oid string `protobuf:"bytes,2,opt,name=oid" json:"oid,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` +} + +func (m *NewBlobObject) Reset() { *m = NewBlobObject{} } +func (m *NewBlobObject) String() string { return proto.CompactTextString(m) } +func (*NewBlobObject) ProtoMessage() {} +func (*NewBlobObject) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} } + +func (m *NewBlobObject) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *NewBlobObject) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *NewBlobObject) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + type GetLFSPointersRequest struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds" json:"blob_ids,omitempty"` @@ -546,7 +581,7 @@ type GetLFSPointersRequest struct { func (m *GetLFSPointersRequest) Reset() { *m = GetLFSPointersRequest{} } func (m *GetLFSPointersRequest) String() string { return proto.CompactTextString(m) } func (*GetLFSPointersRequest) ProtoMessage() {} -func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} } +func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} } func (m *GetLFSPointersRequest) GetRepository() *Repository { if m != nil { @@ -569,7 +604,7 @@ type GetLFSPointersResponse struct { func (m *GetLFSPointersResponse) Reset() { *m = GetLFSPointersResponse{} } func (m *GetLFSPointersResponse) String() string { return proto.CompactTextString(m) } func (*GetLFSPointersResponse) ProtoMessage() {} -func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} } +func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} } func (m *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { if m != nil { @@ -590,7 +625,7 @@ type GetNewLFSPointersRequest struct { func (m *GetNewLFSPointersRequest) Reset() { *m = GetNewLFSPointersRequest{} } func (m *GetNewLFSPointersRequest) String() string { return proto.CompactTextString(m) } func (*GetNewLFSPointersRequest) ProtoMessage() {} -func (*GetNewLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} } +func (*GetNewLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} } func (m *GetNewLFSPointersRequest) GetRepository() *Repository { if m != nil { @@ -634,7 +669,7 @@ type GetNewLFSPointersResponse struct { func (m *GetNewLFSPointersResponse) Reset() { *m = GetNewLFSPointersResponse{} } func (m *GetNewLFSPointersResponse) String() string { return proto.CompactTextString(m) } func (*GetNewLFSPointersResponse) ProtoMessage() {} -func (*GetNewLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} } +func (*GetNewLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} } func (m *GetNewLFSPointersResponse) GetLfsPointers() []*LFSPointer { if m != nil { @@ -651,7 +686,7 @@ type GetAllLFSPointersRequest struct { func (m *GetAllLFSPointersRequest) Reset() { *m = GetAllLFSPointersRequest{} } func (m *GetAllLFSPointersRequest) String() string { return proto.CompactTextString(m) } func (*GetAllLFSPointersRequest) ProtoMessage() {} -func (*GetAllLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} } +func (*GetAllLFSPointersRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} } func (m *GetAllLFSPointersRequest) GetRepository() *Repository { if m != nil { @@ -674,7 +709,7 @@ type GetAllLFSPointersResponse struct { func (m *GetAllLFSPointersResponse) Reset() { *m = GetAllLFSPointersResponse{} } func (m *GetAllLFSPointersResponse) String() string { return proto.CompactTextString(m) } func (*GetAllLFSPointersResponse) ProtoMessage() {} -func (*GetAllLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} } +func (*GetAllLFSPointersResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} } func (m *GetAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { if m != nil { @@ -690,6 +725,7 @@ func init() { proto.RegisterType((*GetBlobsRequest_RevisionPath)(nil), "gitaly.GetBlobsRequest.RevisionPath") proto.RegisterType((*GetBlobsResponse)(nil), "gitaly.GetBlobsResponse") proto.RegisterType((*LFSPointer)(nil), "gitaly.LFSPointer") + proto.RegisterType((*NewBlobObject)(nil), "gitaly.NewBlobObject") proto.RegisterType((*GetLFSPointersRequest)(nil), "gitaly.GetLFSPointersRequest") proto.RegisterType((*GetLFSPointersResponse)(nil), "gitaly.GetLFSPointersResponse") proto.RegisterType((*GetNewLFSPointersRequest)(nil), "gitaly.GetNewLFSPointersRequest") @@ -1046,41 +1082,43 @@ var _BlobService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("blob.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 572 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0x66, 0xeb, 0xe6, 0x6f, 0x6c, 0x4a, 0x59, 0x41, 0xeb, 0x5a, 0x50, 0xb9, 0x16, 0x07, 0x9f, - 0x22, 0x14, 0xc4, 0xb5, 0x52, 0x38, 0x34, 0xaa, 0x8a, 0xa0, 0xda, 0x5c, 0x91, 0x2c, 0x07, 0x6f, - 0xc8, 0xa2, 0x8d, 0x37, 0x78, 0x37, 0x45, 0xe5, 0x6d, 0x78, 0x06, 0xee, 0x3c, 0x0f, 0x8f, 0x81, - 0xb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b, 0x74, 0x48, 0x4f, - 0x87, 0x09, 0x9d, 0xca, 0x80, 0xc0, 0xd9, 0x0e, 0xfe, 0xcd, 0x86, 0xf2, 0x55, 0xcf, 0x64, 0xc8, - 0xf9, 0xc3, 0xcf, 0xa4, 0xe4, 0xbf, 0x59, 0xab, 0x11, 0xff, 0xc1, 0x4f, 0x0b, 0xec, 0xfc, 0x21, - 0x8e, 0x69, 0x76, 0xc7, 0x3e, 0x53, 0x7c, 0x09, 0x9d, 0xf2, 0x69, 0xe2, 0x93, 0x8d, 0x2f, 0x46, - 0xd9, 0x96, 0x77, 0xba, 0xe5, 0x2f, 0x28, 0x04, 0x8f, 0x5e, 0x23, 0x3c, 0x84, 0x6e, 0xf5, 0xb4, - 0xf1, 0xe9, 0x9e, 0x4f, 0x8e, 0xe7, 0x6e, 0x07, 0x0c, 0x88, 0xb1, 0xfe, 0x88, 0x1b, 0x3d, 0xe2, - 0x97, 0xc6, 0xfd, 0xed, 0x39, 0x7b, 0xe7, 0xfb, 0xc2, 0x06, 0xe8, 0x27, 0x78, 0xba, 0xa5, 0x3d, - 0xf6, 0x8d, 0xc4, 0x9d, 0x6b, 0xed, 0x5d, 0xfc, 0xe3, 0xc6, 0x16, 0xfa, 0xba, 0x32, 0x6b, 0xe8, - 0x3b, 0x17, 0x64, 0x0d, 0x7d, 0xb7, 0xac, 0x39, 0xfa, 0xa4, 0xad, 0x7f, 0x6e, 0x6f, 0xfe, 0x06, - 0x00, 0x00, 0xff, 0xff, 0x7a, 0x21, 0xd1, 0xac, 0x00, 0x07, 0x00, 0x00, + // 596 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0xfe, 0xb9, 0x6e, 0x9a, 0x64, 0xec, 0xf6, 0x57, 0x56, 0xd0, 0xba, 0x16, 0x54, 0xae, 0xc5, + 0xc1, 0xa7, 0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xc9, 0xf7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x42, 0xa0, 0x80, + 0x4b, 0x07, 0x00, 0x00, } diff --git a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go index 5eec6cb..913bfaa 100644 --- a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go +++ b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go @@ -41,7 +41,7 @@ func (x FindLocalBranchesRequest_SortBy) String() string { return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x)) } func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor8, []int{8, 0} + return fileDescriptor8, []int{10, 0} } type CreateBranchResponse_Status int32 @@ -70,7 +70,57 @@ func (x CreateBranchResponse_Status) String() string { return proto.EnumName(CreateBranchResponse_Status_name, int32(x)) } func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor8, []int{19, 0} + return fileDescriptor8, []int{21, 0} +} + +type ListNewBlobsRequest 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"` + // Limit the number of revs to be returned fro mgit-rev-list + // If the limit is set to zero, all items will be returned + Limit uint32 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"` +} + +func (m *ListNewBlobsRequest) Reset() { *m = ListNewBlobsRequest{} } +func (m *ListNewBlobsRequest) String() string { return proto.CompactTextString(m) } +func (*ListNewBlobsRequest) ProtoMessage() {} +func (*ListNewBlobsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} } + +func (m *ListNewBlobsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListNewBlobsRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *ListNewBlobsRequest) GetLimit() uint32 { + if m != nil { + return m.Limit + } + return 0 +} + +type ListNewBlobsResponse struct { + NewBlobObjects []*NewBlobObject `protobuf:"bytes,1,rep,name=new_blob_objects,json=newBlobObjects" json:"new_blob_objects,omitempty"` +} + +func (m *ListNewBlobsResponse) Reset() { *m = ListNewBlobsResponse{} } +func (m *ListNewBlobsResponse) String() string { return proto.CompactTextString(m) } +func (*ListNewBlobsResponse) ProtoMessage() {} +func (*ListNewBlobsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} } + +func (m *ListNewBlobsResponse) GetNewBlobObjects() []*NewBlobObject { + if m != nil { + return m.NewBlobObjects + } + return nil } type FindDefaultBranchNameRequest struct { @@ -80,7 +130,7 @@ type FindDefaultBranchNameRequest struct { func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchNameRequest{} } func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) } func (*FindDefaultBranchNameRequest) ProtoMessage() {} -func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{0} } +func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} } func (m *FindDefaultBranchNameRequest) GetRepository() *Repository { if m != nil { @@ -96,7 +146,7 @@ type FindDefaultBranchNameResponse struct { func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranchNameResponse{} } func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) } func (*FindDefaultBranchNameResponse) ProtoMessage() {} -func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{1} } +func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} } func (m *FindDefaultBranchNameResponse) GetName() []byte { if m != nil { @@ -112,7 +162,7 @@ type FindAllBranchNamesRequest struct { func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesRequest{} } func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllBranchNamesRequest) ProtoMessage() {} -func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{2} } +func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} } func (m *FindAllBranchNamesRequest) GetRepository() *Repository { if m != nil { @@ -128,7 +178,7 @@ type FindAllBranchNamesResponse struct { func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesResponse{} } func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllBranchNamesResponse) ProtoMessage() {} -func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{3} } +func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} } func (m *FindAllBranchNamesResponse) GetNames() [][]byte { if m != nil { @@ -144,7 +194,7 @@ type FindAllTagNamesRequest struct { func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} } func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllTagNamesRequest) ProtoMessage() {} -func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{4} } +func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} } func (m *FindAllTagNamesRequest) GetRepository() *Repository { if m != nil { @@ -160,7 +210,7 @@ type FindAllTagNamesResponse struct { func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse{} } func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllTagNamesResponse) ProtoMessage() {} -func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{5} } +func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} } func (m *FindAllTagNamesResponse) GetNames() [][]byte { if m != nil { @@ -180,7 +230,7 @@ type FindRefNameRequest struct { func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} } func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) } func (*FindRefNameRequest) ProtoMessage() {} -func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{6} } +func (*FindRefNameRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} } func (m *FindRefNameRequest) GetRepository() *Repository { if m != nil { @@ -211,7 +261,7 @@ type FindRefNameResponse struct { func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} } func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) } func (*FindRefNameResponse) ProtoMessage() {} -func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{7} } +func (*FindRefNameResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} } func (m *FindRefNameResponse) GetName() []byte { if m != nil { @@ -228,7 +278,7 @@ type FindLocalBranchesRequest struct { func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesRequest{} } func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchesRequest) ProtoMessage() {} -func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{8} } +func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} } func (m *FindLocalBranchesRequest) GetRepository() *Repository { if m != nil { @@ -251,7 +301,7 @@ type FindLocalBranchesResponse struct { func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResponse{} } func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchesResponse) ProtoMessage() {} -func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{9} } +func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} } func (m *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse { if m != nil { @@ -271,7 +321,7 @@ type FindLocalBranchResponse struct { func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse{} } func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchResponse) ProtoMessage() {} -func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{10} } +func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} } func (m *FindLocalBranchResponse) GetName() []byte { if m != nil { @@ -317,7 +367,7 @@ type FindLocalBranchCommitAuthor struct { func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchCommitAuthor{} } func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) } func (*FindLocalBranchCommitAuthor) ProtoMessage() {} -func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{11} } +func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} } func (m *FindLocalBranchCommitAuthor) GetName() []byte { if m != nil { @@ -352,7 +402,7 @@ type FindAllBranchesRequest struct { func (m *FindAllBranchesRequest) Reset() { *m = FindAllBranchesRequest{} } func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllBranchesRequest) ProtoMessage() {} -func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{12} } +func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} } func (m *FindAllBranchesRequest) GetRepository() *Repository { if m != nil { @@ -382,7 +432,7 @@ type FindAllBranchesResponse struct { func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} } func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllBranchesResponse) ProtoMessage() {} -func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{13} } +func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} } func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch { if m != nil { @@ -400,7 +450,7 @@ func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesR func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) } func (*FindAllBranchesResponse_Branch) ProtoMessage() {} func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { - return fileDescriptor8, []int{13, 0} + return fileDescriptor8, []int{15, 0} } func (m *FindAllBranchesResponse_Branch) GetName() []byte { @@ -424,7 +474,7 @@ type FindAllTagsRequest struct { func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} } func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) } func (*FindAllTagsRequest) ProtoMessage() {} -func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{14} } +func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} } func (m *FindAllTagsRequest) GetRepository() *Repository { if m != nil { @@ -440,7 +490,7 @@ type FindAllTagsResponse struct { func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} } func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) } func (*FindAllTagsResponse) ProtoMessage() {} -func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{15} } +func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} } func (m *FindAllTagsResponse) GetTags() []*Tag { if m != nil { @@ -458,7 +508,7 @@ type RefExistsRequest struct { func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} } func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) } func (*RefExistsRequest) ProtoMessage() {} -func (*RefExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{16} } +func (*RefExistsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} } func (m *RefExistsRequest) GetRepository() *Repository { if m != nil { @@ -481,7 +531,7 @@ type RefExistsResponse struct { func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} } func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) } func (*RefExistsResponse) ProtoMessage() {} -func (*RefExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{17} } +func (*RefExistsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} } func (m *RefExistsResponse) GetValue() bool { if m != nil { @@ -499,7 +549,7 @@ type CreateBranchRequest struct { func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} } func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) } func (*CreateBranchRequest) ProtoMessage() {} -func (*CreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{18} } +func (*CreateBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{20} } func (m *CreateBranchRequest) GetRepository() *Repository { if m != nil { @@ -530,7 +580,7 @@ type CreateBranchResponse struct { func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} } func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) } func (*CreateBranchResponse) ProtoMessage() {} -func (*CreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{19} } +func (*CreateBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{21} } func (m *CreateBranchResponse) GetStatus() CreateBranchResponse_Status { if m != nil { @@ -554,7 +604,7 @@ type DeleteBranchRequest struct { func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} } func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) } func (*DeleteBranchRequest) ProtoMessage() {} -func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{20} } +func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{22} } func (m *DeleteBranchRequest) GetRepository() *Repository { if m != nil { @@ -577,7 +627,7 @@ type DeleteBranchResponse struct { func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} } func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) } func (*DeleteBranchResponse) ProtoMessage() {} -func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{21} } +func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{23} } type FindBranchRequest struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` @@ -588,7 +638,7 @@ type FindBranchRequest struct { func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} } func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) } func (*FindBranchRequest) ProtoMessage() {} -func (*FindBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{22} } +func (*FindBranchRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{24} } func (m *FindBranchRequest) GetRepository() *Repository { if m != nil { @@ -611,7 +661,7 @@ type FindBranchResponse struct { func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} } func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) } func (*FindBranchResponse) ProtoMessage() {} -func (*FindBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{23} } +func (*FindBranchResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{25} } func (m *FindBranchResponse) GetBranch() *Branch { if m != nil { @@ -630,7 +680,7 @@ type DeleteRefsRequest struct { func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} } func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRefsRequest) ProtoMessage() {} -func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{24} } +func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{26} } func (m *DeleteRefsRequest) GetRepository() *Repository { if m != nil { @@ -660,7 +710,7 @@ type DeleteRefsResponse struct { func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} } func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) } func (*DeleteRefsResponse) ProtoMessage() {} -func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{25} } +func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{27} } func (m *DeleteRefsResponse) GetGitError() string { if m != nil { @@ -683,7 +733,7 @@ func (m *ListBranchNamesContainingCommitRequest) Reset() { func (m *ListBranchNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {} func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor8, []int{26} + return fileDescriptor8, []int{28} } func (m *ListBranchNamesContainingCommitRequest) GetRepository() *Repository { @@ -717,7 +767,7 @@ func (m *ListBranchNamesContainingCommitResponse) Reset() { func (m *ListBranchNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {} func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor8, []int{27} + return fileDescriptor8, []int{29} } func (m *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte { @@ -739,7 +789,7 @@ func (m *ListTagNamesContainingCommitRequest) Reset() { *m = ListTagName func (m *ListTagNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } func (*ListTagNamesContainingCommitRequest) ProtoMessage() {} func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor8, []int{28} + return fileDescriptor8, []int{30} } func (m *ListTagNamesContainingCommitRequest) GetRepository() *Repository { @@ -771,7 +821,7 @@ func (m *ListTagNamesContainingCommitResponse) Reset() { *m = ListTagNam func (m *ListTagNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } func (*ListTagNamesContainingCommitResponse) ProtoMessage() {} func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor8, []int{29} + return fileDescriptor8, []int{31} } func (m *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte { @@ -789,7 +839,7 @@ type GetTagMessagesRequest struct { func (m *GetTagMessagesRequest) Reset() { *m = GetTagMessagesRequest{} } func (m *GetTagMessagesRequest) String() string { return proto.CompactTextString(m) } func (*GetTagMessagesRequest) ProtoMessage() {} -func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{30} } +func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{32} } func (m *GetTagMessagesRequest) GetRepository() *Repository { if m != nil { @@ -814,7 +864,7 @@ type GetTagMessagesResponse struct { func (m *GetTagMessagesResponse) Reset() { *m = GetTagMessagesResponse{} } func (m *GetTagMessagesResponse) String() string { return proto.CompactTextString(m) } func (*GetTagMessagesResponse) ProtoMessage() {} -func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{31} } +func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{33} } func (m *GetTagMessagesResponse) GetMessage() []byte { if m != nil { @@ -838,7 +888,7 @@ type ListNewCommitsRequest struct { func (m *ListNewCommitsRequest) Reset() { *m = ListNewCommitsRequest{} } func (m *ListNewCommitsRequest) String() string { return proto.CompactTextString(m) } func (*ListNewCommitsRequest) ProtoMessage() {} -func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{32} } +func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{34} } func (m *ListNewCommitsRequest) GetRepository() *Repository { if m != nil { @@ -861,7 +911,7 @@ type ListNewCommitsResponse struct { func (m *ListNewCommitsResponse) Reset() { *m = ListNewCommitsResponse{} } func (m *ListNewCommitsResponse) String() string { return proto.CompactTextString(m) } func (*ListNewCommitsResponse) ProtoMessage() {} -func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{33} } +func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{35} } func (m *ListNewCommitsResponse) GetCommits() []*GitCommit { if m != nil { @@ -878,7 +928,7 @@ type FindAllRemoteBranchesRequest struct { func (m *FindAllRemoteBranchesRequest) Reset() { *m = FindAllRemoteBranchesRequest{} } func (m *FindAllRemoteBranchesRequest) String() string { return proto.CompactTextString(m) } func (*FindAllRemoteBranchesRequest) ProtoMessage() {} -func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{34} } +func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{36} } func (m *FindAllRemoteBranchesRequest) GetRepository() *Repository { if m != nil { @@ -901,7 +951,7 @@ type FindAllRemoteBranchesResponse struct { func (m *FindAllRemoteBranchesResponse) Reset() { *m = FindAllRemoteBranchesResponse{} } func (m *FindAllRemoteBranchesResponse) String() string { return proto.CompactTextString(m) } func (*FindAllRemoteBranchesResponse) ProtoMessage() {} -func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{35} } +func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { return fileDescriptor8, []int{37} } func (m *FindAllRemoteBranchesResponse) GetBranches() []*Branch { if m != nil { @@ -911,6 +961,8 @@ func (m *FindAllRemoteBranchesResponse) GetBranches() []*Branch { } func init() { + proto.RegisterType((*ListNewBlobsRequest)(nil), "gitaly.ListNewBlobsRequest") + proto.RegisterType((*ListNewBlobsResponse)(nil), "gitaly.ListNewBlobsResponse") proto.RegisterType((*FindDefaultBranchNameRequest)(nil), "gitaly.FindDefaultBranchNameRequest") proto.RegisterType((*FindDefaultBranchNameResponse)(nil), "gitaly.FindDefaultBranchNameResponse") proto.RegisterType((*FindAllBranchNamesRequest)(nil), "gitaly.FindAllBranchNamesRequest") @@ -983,6 +1035,7 @@ type RefServiceClient interface { GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) // Returns commits that are only reachable from the ref passed ListNewCommits(ctx context.Context, in *ListNewCommitsRequest, opts ...grpc.CallOption) (RefService_ListNewCommitsClient, error) + ListNewBlobs(ctx context.Context, in *ListNewBlobsRequest, opts ...grpc.CallOption) (RefService_ListNewBlobsClient, error) } type refServiceClient struct { @@ -1376,6 +1429,38 @@ func (x *refServiceListNewCommitsClient) Recv() (*ListNewCommitsResponse, error) return m, nil } +func (c *refServiceClient) ListNewBlobs(ctx context.Context, in *ListNewBlobsRequest, opts ...grpc.CallOption) (RefService_ListNewBlobsClient, error) { + stream, err := grpc.NewClientStream(ctx, &_RefService_serviceDesc.Streams[10], c.cc, "/gitaly.RefService/ListNewBlobs", opts...) + if err != nil { + return nil, err + } + x := &refServiceListNewBlobsClient{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 RefService_ListNewBlobsClient interface { + Recv() (*ListNewBlobsResponse, error) + grpc.ClientStream +} + +type refServiceListNewBlobsClient struct { + grpc.ClientStream +} + +func (x *refServiceListNewBlobsClient) Recv() (*ListNewBlobsResponse, error) { + m := new(ListNewBlobsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // Server API for RefService service type RefServiceServer interface { @@ -1399,6 +1484,7 @@ type RefServiceServer interface { GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error // Returns commits that are only reachable from the ref passed ListNewCommits(*ListNewCommitsRequest, RefService_ListNewCommitsServer) error + ListNewBlobs(*ListNewBlobsRequest, RefService_ListNewBlobsServer) error } func RegisterRefServiceServer(s *grpc.Server, srv RefServiceServer) { @@ -1741,6 +1827,27 @@ func (x *refServiceListNewCommitsServer) Send(m *ListNewCommitsResponse) error { return x.ServerStream.SendMsg(m) } +func _RefService_ListNewBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListNewBlobsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).ListNewBlobs(m, &refServiceListNewBlobsServer{stream}) +} + +type RefService_ListNewBlobsServer interface { + Send(*ListNewBlobsResponse) error + grpc.ServerStream +} + +type refServiceListNewBlobsServer struct { + grpc.ServerStream +} + +func (x *refServiceListNewBlobsServer) Send(m *ListNewBlobsResponse) error { + return x.ServerStream.SendMsg(m) +} + var _RefService_serviceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.RefService", HandlerType: (*RefServiceServer)(nil), @@ -1825,6 +1932,11 @@ var _RefService_serviceDesc = grpc.ServiceDesc{ Handler: _RefService_ListNewCommits_Handler, ServerStreams: true, }, + { + StreamName: "ListNewBlobs", + Handler: _RefService_ListNewBlobs_Handler, + ServerStreams: true, + }, }, Metadata: "ref.proto", } @@ -1832,97 +1944,102 @@ var _RefService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("ref.proto", fileDescriptor8) } var fileDescriptor8 = []byte{ - // 1461 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0x5f, 0x6f, 0x1a, 0xc7, - 0x16, 0xf7, 0x62, 0x1b, 0xc3, 0x81, 0xe0, 0xf5, 0xc4, 0x76, 0xc8, 0x3a, 0x09, 0xce, 0xe4, 0xff, - 0x4d, 0x84, 0xef, 0x25, 0xba, 0x7d, 0x69, 0x1f, 0x8a, 0x6d, 0x9a, 0x90, 0x38, 0xd8, 0x1a, 0x68, - 0x9a, 0xaa, 0xad, 0x56, 0x6b, 0x18, 0x96, 0xad, 0x80, 0xa5, 0xbb, 0x43, 0x12, 0x3f, 0xa4, 0x52, - 0x5f, 0x2a, 0x55, 0xad, 0xd4, 0xb7, 0x7e, 0x84, 0x7e, 0x95, 0x3e, 0xf4, 0x4b, 0x55, 0x3b, 0x33, - 0xfb, 0x0f, 0x16, 0x6c, 0x95, 0x5a, 0x7d, 0x82, 0x3d, 0x73, 0xce, 0xef, 0xfc, 0x9d, 0x73, 0xce, - 0x40, 0xd6, 0xa1, 0xdd, 0xf2, 0xc8, 0xb1, 0x99, 0x8d, 0xd2, 0xa6, 0xc5, 0x8c, 0xfe, 0x99, 0x96, - 0x77, 0x7b, 0x86, 0x43, 0x3b, 0x82, 0xaa, 0x95, 0x4c, 0xdb, 0x36, 0xfb, 0x74, 0x8f, 0x7f, 0x9d, - 0x8e, 0xbb, 0x7b, 0xcc, 0x1a, 0x50, 0x97, 0x19, 0x83, 0x91, 0x60, 0xc0, 0x04, 0x6e, 0x7c, 0x66, - 0x0d, 0x3b, 0x87, 0xb4, 0x6b, 0x8c, 0xfb, 0x6c, 0xdf, 0x31, 0x86, 0xed, 0x5e, 0xc3, 0x18, 0x50, - 0x42, 0xbf, 0x1b, 0x53, 0x97, 0xa1, 0x0a, 0x80, 0x43, 0x47, 0xb6, 0x6b, 0x31, 0xdb, 0x39, 0x2b, - 0x2a, 0xbb, 0xca, 0xc3, 0x5c, 0x05, 0x95, 0x85, 0xae, 0x32, 0x09, 0x4e, 0x48, 0x84, 0x0b, 0x3f, - 0x85, 0x9b, 0x33, 0x30, 0xdd, 0x91, 0x3d, 0x74, 0x29, 0x42, 0xb0, 0x32, 0x34, 0x06, 0x94, 0xc3, - 0xe5, 0x09, 0xff, 0x8f, 0x8f, 0xe1, 0xba, 0x27, 0x54, 0xed, 0xf7, 0x43, 0x01, 0x77, 0x11, 0x2b, - 0x2a, 0xa0, 0x25, 0x01, 0x4a, 0x13, 0x36, 0x61, 0xd5, 0x53, 0xeb, 0x16, 0x95, 0xdd, 0xe5, 0x87, - 0x79, 0x22, 0x3e, 0xf0, 0x11, 0x6c, 0x4b, 0x99, 0x96, 0x61, 0x2e, 0x6c, 0xc1, 0x1e, 0x5c, 0x9b, - 0x42, 0x9b, 0xab, 0xfe, 0x03, 0x20, 0x4f, 0x80, 0xd0, 0xee, 0x82, 0x29, 0x40, 0x3b, 0x90, 0x6d, - 0xdb, 0x83, 0x81, 0xc5, 0x74, 0xab, 0x53, 0x4c, 0xed, 0x2a, 0x0f, 0xb3, 0x24, 0x23, 0x08, 0xf5, - 0x0e, 0xda, 0x86, 0xf4, 0xc8, 0xa1, 0x5d, 0xeb, 0x7d, 0x71, 0x99, 0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0x07, 0xb8, 0x31, 0x6f, 0xd4, 0xa2, 0xc7, 0x51, 0xd0, 0x73, 0xd6, 0x03, 0xed, 0xc9, 0xc5, - 0x98, 0x23, 0xea, 0x9b, 0x50, 0x88, 0xcf, 0x49, 0x74, 0x33, 0x98, 0x24, 0x49, 0x63, 0x5b, 0xbb, - 0x35, 0xeb, 0x38, 0x0e, 0x1a, 0x9f, 0x5b, 0x21, 0x68, 0xe2, 0xe4, 0x0c, 0x41, 0x93, 0xc7, 0x9d, - 0x07, 0x7a, 0x9a, 0xe6, 0x4f, 0xf1, 0xa7, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x22, 0x9c, 0xc4, - 0x71, 0x9d, 0x14, 0x00, 0x00, + // 1539 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5b, 0x6f, 0xdb, 0xc6, + 0x12, 0x36, 0x65, 0x5b, 0x96, 0x46, 0x8a, 0x4c, 0xaf, 0x2f, 0x51, 0xe8, 0x24, 0x76, 0x36, 0x37, + 0xe7, 0x24, 0x90, 0xcf, 0x51, 0x70, 0xfa, 0xd2, 0x02, 0xad, 0x6c, 0xab, 0x89, 0x13, 0xc7, 0x36, + 0x56, 0x6a, 0x92, 0xa2, 0x2d, 0x08, 0xca, 0x5a, 0xd1, 0x2c, 0x28, 0x51, 0x25, 0x57, 0x71, 0x0c, + 0x34, 0x7d, 0x2c, 0x50, 0xb4, 0x40, 0xdf, 0xfa, 0x13, 0xfa, 0x57, 0xfa, 0xd0, 0x97, 0xfe, 0xa4, + 0x82, 0xbb, 0xcb, 0x9b, 0x44, 0xc9, 0x46, 0xd5, 0xb4, 0x4f, 0xd2, 0xce, 0xce, 0x7c, 0x73, 0xd9, + 0xd9, 0x99, 0x59, 0x42, 0xde, 0xa5, 0x9d, 0x4a, 0xdf, 0x75, 0x98, 0x83, 0xb2, 0xa6, 0xc5, 0x0c, + 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x10, 0x72, 0x2d, 0x49, 0x93, 0xd7, + 0x6a, 0x63, 0x8c, 0x59, 0x81, 0x08, 0x09, 0x05, 0xf0, 0x8f, 0x19, 0x71, 0xfe, 0x29, 0x5c, 0x69, + 0x31, 0x9d, 0x7c, 0x66, 0x77, 0xa1, 0x24, 0x37, 0xbd, 0x01, 0xbf, 0xba, 0xf2, 0xec, 0xae, 0x08, + 0x6a, 0x43, 0x10, 0xd1, 0x53, 0x90, 0x04, 0xdd, 0x18, 0xb0, 0x53, 0xc7, 0x2d, 0xcf, 0xf1, 0xe8, + 0xdf, 0x1e, 0x63, 0xf5, 0x2e, 0xe7, 0xad, 0x71, 0x56, 0x52, 0x3c, 0x89, 0xad, 0xd0, 0x21, 0xa8, + 0x12, 0x49, 0xfc, 0x30, 0xea, 0x96, 0xe7, 0x2f, 0x0f, 0xb6, 0x28, 0xa4, 0x76, 0x03, 0x59, 0x7c, + 0x06, 0xeb, 0x13, 0xf8, 0x53, 0x03, 0xb2, 0x02, 0xf3, 0xb4, 0x6b, 0x58, 0x36, 0x0f, 0x46, 0x91, + 0x88, 0x05, 0xaa, 0xc0, 0x5c, 0xdb, 0x60, 0x94, 0xfb, 0x5f, 0xa8, 0x6a, 0x15, 0x51, 0xb8, 0x2b, + 0x41, 0xe1, 0xae, 0x34, 0x83, 0xc2, 0x4d, 0x38, 0x1f, 0xfe, 0x45, 0x09, 0x2f, 0xf5, 0xdf, 0x91, + 0xa8, 0x1b, 0x50, 0xe8, 0x52, 0xd7, 0xa4, 0x6d, 0xdd, 0xe9, 0xd9, 0x22, 0x59, 0x73, 0x04, 0x04, + 0xe9, 0xa8, 0x67, 0x9f, 0xa3, 0xfb, 0xb0, 0x28, 0x19, 0xc2, 0xd4, 0x99, 0xe5, 0x97, 0xbc, 0x24, + 0xc8, 0x81, 0x11, 0xf8, 0x57, 0x25, 0xac, 0x0f, 0x23, 0x89, 0xb7, 0x33, 0x92, 0x78, 0xf7, 0xe2, + 0x51, 0x4f, 0x11, 0xa9, 0xc8, 0x0c, 0x0b, 0xe5, 0xb4, 0x27, 0x90, 0x15, 0xb4, 0xd4, 0xe0, 0x3e, + 0x80, 0x2c, 0x33, 0x5c, 0x93, 0x32, 0xee, 0x42, 0xa1, 0xba, 0x14, 0xe0, 0x3f, 0x09, 0x4e, 0x8d, + 0x48, 0x06, 0xfc, 0x54, 0x94, 0x25, 0x51, 0xc7, 0xa6, 0xaa, 0x88, 0x1f, 0x88, 0x0a, 0x13, 0x22, + 0x49, 0x6f, 0x37, 0x60, 0x8e, 0x19, 0x66, 0xe0, 0x69, 0x21, 0x00, 0x69, 0x1a, 0x26, 0xe1, 0x1b, + 0xf8, 0x35, 0xa8, 0x84, 0x76, 0xea, 0x6f, 0x2d, 0x8f, 0x4d, 0x75, 0x78, 0x2a, 0xcc, 0xba, 0xb4, + 0x23, 0xf3, 0xc9, 0xff, 0x8b, 0x1f, 0xc0, 0x52, 0x0c, 0x39, 0xaa, 0xce, 0x6f, 0x0c, 0x7b, 0x20, + 0x02, 0x96, 0x23, 0x62, 0x81, 0xbf, 0x83, 0xe5, 0x5d, 0x97, 0x1a, 0x8c, 0x06, 0x77, 0xf9, 0xaf, + 0xdb, 0x11, 0x1c, 0x48, 0x26, 0x76, 0x20, 0x1b, 0x50, 0xf0, 0x98, 0xe1, 0x32, 0xbd, 0xef, 0x58, + 0xbd, 0xe0, 0x7a, 0x03, 0x27, 0x1d, 0xfb, 0x14, 0xfc, 0xbb, 0x02, 0x2b, 0x49, 0x03, 0xc2, 0x2a, + 0x95, 0xf5, 0x98, 0xc1, 0x06, 0x1e, 0xd7, 0x5e, 0x8a, 0x2e, 0x68, 0x1a, 0x77, 0xa5, 0xc1, 0x59, + 0x89, 0x14, 0x41, 0xf7, 0x20, 0x2b, 0x32, 0x46, 0xe6, 0x41, 0x29, 0x10, 0x96, 0x62, 0x72, 0x17, + 0x1f, 0x42, 0x56, 0x48, 0xa2, 0x2c, 0x64, 0x8e, 0x9e, 0xab, 0x33, 0xa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xa4, 0x89, 0x4e, 0x80, + 0xc5, 0xa7, 0x9d, 0x08, 0x2c, 0x65, 0xc4, 0x8a, 0xc0, 0x52, 0x07, 0xa4, 0x19, 0x54, 0x07, 0x88, + 0xa6, 0x18, 0x74, 0x2d, 0x1e, 0x96, 0x24, 0x90, 0x96, 0xb6, 0x15, 0x87, 0x89, 0x46, 0x88, 0x08, + 0x66, 0x64, 0xc2, 0x89, 0x60, 0x46, 0x27, 0x0e, 0x3c, 0x83, 0xbe, 0x57, 0x60, 0xe3, 0x82, 0x2e, + 0x8e, 0x2a, 0x01, 0xc2, 0xe5, 0xe6, 0x0f, 0x6d, 0xfb, 0xd2, 0xfc, 0xb1, 0x43, 0x7f, 0x07, 0xd7, + 0x27, 0xb5, 0x5a, 0xf4, 0x30, 0x0e, 0x7a, 0xc1, 0x78, 0xa0, 0x3d, 0xba, 0x1c, 0x73, 0x4c, 0x7d, + 0x03, 0x4a, 0xc9, 0x3e, 0x89, 0x6e, 0x84, 0x9d, 0x24, 0xad, 0x6d, 0x6b, 0x37, 0xc7, 0x6d, 0x27, + 0x41, 0x93, 0x7d, 0x2b, 0x02, 0x4d, 0xed, 0x9c, 0x11, 0x68, 0x7a, 0xbb, 0xe3, 0xa0, 0x2f, 0xa0, + 0x18, 0xff, 0x56, 0x19, 0x25, 0x63, 0xca, 0xf7, 0xd3, 0x28, 0x19, 0xd3, 0x3e, 0x6f, 0xfa, 0x70, + 0xad, 0x2c, 0x7f, 0xd9, 0x3f, 0xfe, 0x33, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x95, 0x40, 0x62, 0xcf, + 0x15, 0x00, 0x00, } diff --git a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go index c4276b9..5cb1031 100644 --- a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go +++ b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go @@ -215,8 +215,9 @@ type Tag struct { // If message exceeds a certain threshold, it will be nullified, // but its size will be set in message_size so we can know if // a tag had a message in the first place. - Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize" json:"message_size,omitempty"` + Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize" json:"message_size,omitempty"` + Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger" json:"tagger,omitempty"` } func (m *Tag) Reset() { *m = Tag{} } @@ -259,6 +260,13 @@ func (m *Tag) GetMessageSize() int64 { return 0 } +func (m *Tag) GetTagger() *CommitAuthor { + if m != nil { + return m.Tagger + } + return nil +} + type User struct { GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId" json:"gl_id,omitempty"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -312,40 +320,41 @@ func init() { func init() { proto.RegisterFile("shared.proto", fileDescriptor12) } var fileDescriptor12 = []byte{ - // 553 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x5d, 0x6f, 0xd3, 0x30, - 0x14, 0x55, 0xd2, 0xb4, 0x5b, 0x6f, 0x33, 0x04, 0x66, 0x0f, 0xd1, 0xd0, 0xb4, 0x12, 0x5e, 0xf6, - 0x80, 0x32, 0x54, 0x24, 0xde, 0xc7, 0x87, 0xa6, 0xf1, 0x00, 0xc8, 0xdb, 0x9e, 0x23, 0xb7, 0xb9, - 0x73, 0x8d, 0x9c, 0xa6, 0xb2, 0x6f, 0x26, 0xb6, 0x27, 0x7e, 0x09, 0x7f, 0x8f, 0xbf, 0x81, 0x6c, - 0x27, 0xdd, 0x80, 0x0a, 0xf1, 0xe6, 0x7b, 0x7c, 0xee, 0xc7, 0xf1, 0xb9, 0x86, 0xd4, 0x2e, 0x85, - 0xc1, 0xaa, 0x58, 0x9b, 0x86, 0x1a, 0x36, 0x92, 0x8a, 0x84, 0xbe, 0x3d, 0x38, 0x92, 0x4d, 0x23, - 0x35, 0x9e, 0x78, 0x74, 0xde, 0x5e, 0x9f, 0x90, 0xaa, 0xd1, 0x92, 0xa8, 0xd7, 0x81, 0x98, 0x7f, - 0x8f, 0x01, 0x38, 0xae, 0x1b, 0xab, 0xa8, 0x31, 0xb7, 0xec, 0x39, 0xa4, 0x96, 0x1a, 0x23, 0x24, - 0x96, 0x2b, 0x51, 0x63, 0x16, 0x4f, 0xa3, 0xe3, 0x31, 0x9f, 0x74, 0xd8, 0x27, 0x51, 0x23, 0x7b, - 0x01, 0x7b, 0x06, 0xb5, 0x20, 0x75, 0x83, 0xe5, 0x5a, 0xd0, 0x32, 0x1b, 0x78, 0x4e, 0xda, 0x83, - 0x5f, 0x04, 0x2d, 0xd9, 0x2b, 0xd8, 0x97, 0x8a, 0xca, 0x66, 0xfe, 0x15, 0x17, 0x54, 0x56, 0xca, - 0xe0, 0xc2, 0xd5, 0xcf, 0x12, 0xcf, 0x65, 0x52, 0xd1, 0x67, 0x7f, 0xf5, 0xbe, 0xbf, 0x61, 0x67, - 0x30, 0x75, 0x19, 0x42, 0x13, 0x9a, 0x95, 0x20, 0xfc, 0x33, 0x57, 0xa1, 0xcd, 0x86, 0xd3, 0xc1, - 0xf1, 0x98, 0x1f, 0x4a, 0x45, 0xa7, 0x3d, 0xed, 0xf7, 0x32, 0x0a, 0xad, 0x9b, 0x4f, 0xea, 0xd2, - 0x6c, 0x34, 0x65, 0xa3, 0x30, 0x9f, 0xd4, 0xf7, 0x3a, 0x3f, 0x26, 0xbb, 0xd1, 0xe3, 0x98, 0x27, - 0x6e, 0xfe, 0xfc, 0x67, 0x04, 0xe3, 0x33, 0x45, 0xef, 0x9a, 0xba, 0x56, 0xc4, 0x1e, 0x41, 0xac, - 0xaa, 0x2c, 0xf2, 0x39, 0xb1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xb3, 0x71, 0x8c, 0xa7, - 0x81, 0x17, 0xa2, 0xfc, 0x47, 0x04, 0x83, 0x4b, 0x21, 0xb7, 0xd6, 0x0c, 0xde, 0xc6, 0x1b, 0x6f, - 0xff, 0xea, 0x31, 0xf8, 0xaf, 0x1e, 0x6e, 0x27, 0x6a, 0xb4, 0x56, 0x48, 0xf4, 0x36, 0xa7, 0xbc, - 0x0f, 0xdd, 0xff, 0xe9, 0x8e, 0xc1, 0x81, 0xa1, 0x77, 0x60, 0xd2, 0x61, 0xde, 0x84, 0x6b, 0x48, - 0xae, 0x2c, 0x1a, 0xf6, 0x14, 0x86, 0x52, 0x97, 0x9b, 0x5d, 0x4b, 0xa4, 0x3e, 0xaf, 0x36, 0x53, - 0xc7, 0xdb, 0x1c, 0x19, 0x3c, 0x74, 0xe4, 0x08, 0x26, 0x52, 0x97, 0xad, 0x75, 0xdf, 0xa0, 0xc6, - 0xee, 0x63, 0x81, 0xd4, 0x57, 0x1d, 0x32, 0x1f, 0x79, 0x73, 0x5e, 0xff, 0x0a, 0x00, 0x00, 0xff, - 0xff, 0x82, 0x4d, 0xcd, 0xe4, 0x19, 0x04, 0x00, 0x00, + // 568 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x5f, 0x6f, 0xd3, 0x3e, + 0x14, 0x55, 0xd2, 0xb4, 0x5b, 0x6f, 0xb3, 0x9f, 0x7e, 0x98, 0x3d, 0x44, 0x43, 0xd3, 0x4a, 0x78, + 0xd9, 0x03, 0xca, 0x50, 0x91, 0x78, 0x1f, 0x7f, 0x34, 0x8d, 0x07, 0x40, 0xde, 0xf6, 0x1c, 0xb9, + 0xcd, 0x9d, 0x6b, 0xe4, 0x34, 0x95, 0x7d, 0x33, 0xb1, 0x3d, 0xf1, 0x01, 0xf9, 0x1e, 0x7c, 0x0d, + 0x64, 0x3b, 0xe9, 0x06, 0x14, 0xc4, 0x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 0x22, 0x95, 0x41, 0xbb, 0x9f, 0x67, 0x32, 0x7b, 0xd4, 0xbf, 0xcf, 0xc6, + 0x31, 0x9e, 0x06, 0x5e, 0xa8, 0xf2, 0x6f, 0x11, 0x0c, 0x2e, 0x85, 0xdc, 0xda, 0x33, 0x78, 0x1b, + 0x6f, 0xbc, 0xfd, 0xed, 0x8e, 0xc1, 0x3f, 0xdd, 0xe1, 0x32, 0x51, 0xa3, 0xb5, 0x42, 0xa2, 0xb7, + 0x39, 0xe5, 0x7d, 0xe9, 0xfe, 0x4f, 0xb7, 0x0c, 0x0e, 0x0c, 0xbd, 0x03, 0x93, 0x0e, 0x73, 0x26, + 0xb8, 0x88, 0x90, 0x90, 0x12, 0x8d, 0x0f, 0xe6, 0x1f, 0x23, 0x12, 0x38, 0xf9, 0x35, 0x24, 0x57, + 0x16, 0x0d, 0x7b, 0x0c, 0x43, 0xa9, 0xcb, 0x4d, 0x32, 0x13, 0xa9, 0xcf, 0xab, 0x8d, 0xc6, 0x78, + 0x9b, 0x7f, 0x83, 0x87, 0xfe, 0x1d, 0xc1, 0x44, 0xea, 0xb2, 0xb5, 0xee, 0xd3, 0xd4, 0xd8, 0x7d, + 0x43, 0x90, 0xfa, 0xaa, 0x43, 0xe6, 0x23, 0x6f, 0xe5, 0xcb, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xf1, 0xe6, 0xc7, 0x44, 0x47, 0x04, 0x00, 0x00, } diff --git a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/smarthttp.pb.go b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/smarthttp.pb.go index 336d74d..11e99e3 100644 --- a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/smarthttp.pb.go +++ b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/smarthttp.pb.go @@ -140,6 +140,8 @@ type PostReceivePackRequest struct { GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"` // Git protocol version GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol" json:"git_protocol,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"` } func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} } @@ -189,6 +191,13 @@ func (m *PostReceivePackRequest) GetGitProtocol() string { return "" } +func (m *PostReceivePackRequest) GetGitConfigOptions() []string { + if m != nil { + return m.GitConfigOptions + } + return nil +} + type PostReceivePackResponse struct { // Raw data from stdout of 'git receive-pack' Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` @@ -515,31 +524,32 @@ var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor13) } var fileDescriptor13 = []byte{ - // 413 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x52, 0xd1, 0x8a, 0xd3, 0x40, - 0x14, 0x75, 0xda, 0x6e, 0x61, 0x6f, 0xa3, 0x2d, 0x77, 0xd1, 0x0d, 0x01, 0xdd, 0x1a, 0x41, 0xf2, + // 423 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xd1, 0x8a, 0xd3, 0x40, + 0x14, 0x75, 0xd2, 0x6e, 0x65, 0x6f, 0xa3, 0x2d, 0x77, 0xd1, 0x0d, 0x01, 0xdd, 0x1a, 0x41, 0xf2, 0xb0, 0x96, 0xa5, 0x7e, 0x82, 0x2f, 0x2e, 0x0a, 0x86, 0xd9, 0x2d, 0xf8, 0x16, 0xc6, 0x64, 0x3a, - 0x3b, 0x38, 0xcd, 0xc4, 0xcc, 0xb4, 0xd0, 0x1f, 0xf1, 0x3b, 0xfc, 0xa2, 0x7e, 0x8b, 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/gitlab-org/gitaly-proto/go/ssh.pb.go b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go index 656492e..a4f2fe5 100644 --- a/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go +++ b/go/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ssh.pb.go @@ -109,6 +109,8 @@ type SSHReceivePackRequest struct { GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername" json:"gl_username,omitempty"` // Git protocol version GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol" json:"git_protocol,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions" json:"git_config_options,omitempty"` } func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} } @@ -158,6 +160,13 @@ func (m *SSHReceivePackRequest) GetGitProtocol() string { return "" } +func (m *SSHReceivePackRequest) GetGitConfigOptions() []string { + if m != nil { + return m.GitConfigOptions + } + return nil +} + type SSHReceivePackResponse struct { // A chunk of raw data from 'git receive-pack' standard output Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` @@ -507,33 +516,34 @@ var _SSHService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("ssh.proto", fileDescriptor14) } var fileDescriptor14 = []byte{ - // 445 bytes of a gzipped FileDescriptorProto + // 452 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0xc5, 0x8d, 0x13, 0x91, 0x89, 0x8b, 0xa2, 0xa5, 0x2d, 0x56, 0x04, 0xd4, 0x98, 0x8b, 0x0f, - 0x28, 0x42, 0xe9, 0x17, 0x20, 0x84, 0x54, 0xb8, 0x50, 0xad, 0x95, 0x13, 0x07, 0xcb, 0xd8, 0xc3, - 0x66,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 0x52, + 0x65, 0x6b, 0xbe, 0xc5, 0x7f, 0xee, 0x47, 0xf8, 0x0d, 0xfc, 0x6e, 0x93, 0x03, 0x6e, 0xb9, 0xfc, + 0x31, 0x00, 0x88, 0xe3, 0x8b, 0x18, 0xd5, 0x96, 0x67, 0x48, 0x28, 0x1c, 0xb5, 0x5e, 0x00, 0x79, + 0xf4, 0xe7, 0xff, 0xdb, 0x1e, 0xfa, 0xfc, 0x71, 0x0f, 0x5a, 0x6d, 0x10, 0xde, 0x89, 0x9c, 0x17, + 0x0e, 0x59, 0xc1, 0xfd, 0xb6, 0x8f, 0xa4, 0xf9, 0x5b, 0xf7, 0xdc, 0xe7, 0x4f, 0xfa, 0xe0, 0x16, + 0xed, 0x7b, 0x98, 0xed, 0x4b, 0x47, 0xce, 0x3a, 0xf3, 0xb4, 0x9d, 0x9b, 0x07, 0xfd, 0x05, 0x4d, + 0xf2, 0x0f, 0x63, 0x7b, 0xc6, 0xe7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x98, 0x8e, 0xd7, + 0x04, 0x05, 0x00, 0x00, } diff --git a/go/vendor/vendor.json b/go/vendor/vendor.json index c71b230..a7c7b40 100644 --- a/go/vendor/vendor.json +++ b/go/vendor/vendor.json @@ -41,13 +41,13 @@ "versionExact": "v1.0.5" }, { - "checksumSHA1": "RRkpmIDyoI4sb+EHc5I9m1Q8eJc=", + "checksumSHA1": "cGc0AOiqkNlSVMc2w/dIJfoWDdQ=", "path": "gitlab.com/gitlab-org/gitaly-proto/go", - "revision": "db2cc649cf77ebe5b3b2672672888522060145d6", - "revisionTime": "2018-07-20T09:14:50Z", + "revision": "e3a5c0a6da1c62f406f6b74b281dad43f8b74ea5", + "revisionTime": "2018-08-02T15:59:47Z", "tree": true, - "version": "v0.109.0", - "versionExact": "v0.109.0" + "version": "v0.112.0", + "versionExact": "v0.112.0" }, { "checksumSHA1": "dUHJbKas746n5fLzlwxHb6FOCxs=", diff --git a/lib/gitlab_access_status.rb b/lib/gitlab_access_status.rb index c639462..afb5a9e 100644 --- a/lib/gitlab_access_status.rb +++ b/lib/gitlab_access_status.rb @@ -1,14 +1,15 @@ require 'json' class GitAccessStatus - attr_reader :message, :gl_repository, :gl_id, :gl_username, :repository_path, :gitaly, :git_protocol + attr_reader :message, :gl_repository, :gl_id, :gl_username, :repository_path, :gitaly, :git_protocol, :git_config_options - def initialize(status, message, gl_repository:, gl_id:, gl_username:, repository_path:, gitaly:, git_protocol:) + def initialize(status, message, gl_repository:, gl_id:, gl_username:, repository_path:, gitaly:, git_protocol:, git_config_options:) @status = status @message = message @gl_repository = gl_repository @gl_id = gl_id @gl_username = gl_username + @git_config_options = git_config_options @repository_path = repository_path @gitaly = gitaly @git_protocol = git_protocol @@ -21,6 +22,7 @@ class GitAccessStatus gl_repository: values["gl_repository"], gl_id: values["gl_id"], gl_username: values["gl_username"], + git_config_options: values["git_config_options"], repository_path: values["repository_path"], gitaly: values["gitaly"], git_protocol: values["git_protocol"]) diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index 9cb7e56..28d1f0d 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -43,6 +43,7 @@ class GitlabNet # rubocop:disable Metrics/ClassLength gl_repository: nil, gl_id: nil, gl_username: nil, + git_config_options: nil, repository_path: nil, gitaly: nil, git_protocol: nil) diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index 78fdfe8..2057ea9 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -121,6 +121,7 @@ class GitlabShell # rubocop:disable Metrics/ClassLength @git_protocol = ENV['GIT_PROTOCOL'] @gitaly = status.gitaly @username = status.gl_username + @git_config_options = status.git_config_options if defined?(@who) @gl_id = status.gl_id end @@ -152,6 +153,7 @@ class GitlabShell # rubocop:disable Metrics/ClassLength 'gl_repository' => @gl_repository, 'gl_id' => @gl_id, 'gl_username' => @username, + 'git_config_options' => @git_config_options, 'git_protocol' => @git_protocol } diff --git a/spec/gitlab_access_spec.rb b/spec/gitlab_access_spec.rb index f9717a7..7c1e6b4 100644 --- a/spec/gitlab_access_spec.rb +++ b/spec/gitlab_access_spec.rb @@ -12,6 +12,7 @@ describe GitlabAccess do gl_repository: 'project-1', gl_id: 'user-123', gl_username: 'testuser', + git_config_options: ['receive.MaxInputSize=10000'], repository_path: '/home/git/repositories', gitaly: nil, git_protocol: 'version=2')) @@ -49,6 +50,7 @@ describe GitlabAccess do gl_repository: nil, gl_id: nil, gl_username: nil, + git_config_options: nil, repository_path: nil, gitaly: nil, git_protocol: nil diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb index 382cad4..a68cd9e 100644 --- a/spec/gitlab_shell_spec.rb +++ b/spec/gitlab_shell_spec.rb @@ -20,12 +20,15 @@ describe GitlabShell do end end + let(:git_config_options) { ['receive.MaxInputSize=10000'] } + let(:gitaly_check_access) { GitAccessStatus.new( true, 'ok', gl_repository: gl_repository, gl_id: gl_id, gl_username: gl_username, + git_config_options: git_config_options, repository_path: repo_path, gitaly: { 'repository' => { 'relative_path' => repo_name, 'storage_name' => 'default'} , 'address' => 'unix:gitaly.socket' }, git_protocol: git_protocol @@ -41,6 +44,7 @@ describe GitlabShell do gl_repository: gl_repository, gl_id: gl_id, gl_username: gl_username, + git_config_options: nil, repository_path: repo_path, gitaly: nil, git_protocol: git_protocol)) @@ -60,6 +64,7 @@ describe GitlabShell do let(:gl_repository) { 'project-1' } let(:gl_id) { 'user-1' } let(:gl_username) { 'testuser' } + let(:git_config_options) { ['receive.MaxInputSize=10000'] } let(:git_protocol) { 'version=2' } before do @@ -158,6 +163,7 @@ describe GitlabShell do 'gl_repository' => gl_repository, 'gl_id' => gl_id, 'gl_username' => gl_username, + 'git_config_options' => git_config_options, 'git_protocol' => git_protocol ) end @@ -426,6 +432,7 @@ describe GitlabShell do gl_repository: nil, gl_id: nil, gl_username: nil, + git_config_options: nil, repository_path: nil, gitaly: nil, git_protocol: nil)) |