diff options
author | John Cai <jcai@gitlab.com> | 2019-08-13 09:09:30 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-08-14 09:03:20 +0300 |
commit | 2e442b6bf495c4874c8add2af48083af57bc6f48 (patch) | |
tree | 3db5ac878b931dcb84aad4864a97ded420c4feea | |
parent | 9d392473e4d23efa28ac567298a1b6abcd8116cf (diff) |
FindTreeEntries rpcjc-find-tree-entries
-rw-r--r-- | internal/service/commit/tree_entry.go | 120 | ||||
-rw-r--r-- | proto/commit.proto | 17 | ||||
-rw-r--r-- | proto/go/gitalypb/commit.pb.go | 493 | ||||
-rw-r--r-- | ruby/proto/gitaly/commit_pb.rb | 7 | ||||
-rw-r--r-- | ruby/proto/gitaly/commit_services_pb.rb | 1 |
5 files changed, 441 insertions, 197 deletions
diff --git a/internal/service/commit/tree_entry.go b/internal/service/commit/tree_entry.go index 8498b8436..074cf92fa 100644 --- a/internal/service/commit/tree_entry.go +++ b/internal/service/commit/tree_entry.go @@ -1,6 +1,7 @@ package commit import ( + "errors" "fmt" "io" "strings" @@ -14,14 +15,59 @@ import ( "google.golang.org/grpc/status" ) -func sendTreeEntry(stream gitalypb.CommitService_TreeEntryServer, c *catfile.Batch, revision, path string, limit int64) error { +func findAndSendTreeEntry(stream gitalypb.CommitService_TreeEntryServer, c *catfile.Batch, revision, path string, limit int64) error { treeEntry, err := NewTreeEntryFinder(c).FindByRevisionAndPath(revision, path) if err != nil { return err } + response, blobReader, dataLength, err := getTreeEntry(c, treeEntry, limit) + if err != nil { + return err + } + + if blobReader == nil { + return helper.DecorateError(codes.Unavailable, stream.Send(response)) + } + + sw := findTreeEntryStreamWriter(stream, response, blobReader) + + if _, err = io.CopyN(sw, blobReader, dataLength); err != nil { + return err + } + + return nil +} + +func findAndSendTreeEntries(stream gitalypb.CommitService_FindTreeEntriesServer, c *catfile.Batch, revision string, paths [][]byte, limit int64) error { + for _, path := range paths { + treeEntry, err := NewTreeEntryFinder(c).FindByRevisionAndPath(revision, string(path)) + if err != nil { + return err + } + + response, blobReader, dataLength, err := getTreeEntry(c, treeEntry, limit) + if err != nil { + return err + } + + if blobReader == nil { + helper.DecorateError(codes.Unavailable, stream.Send(response)) + continue + } + + sw := findTreeEntriesStreamWriter(stream, response, blobReader) + + if _, err = io.CopyN(sw, blobReader, dataLength); err != nil { + return err + } + } + return nil +} + +func getTreeEntry(c *catfile.Batch, treeEntry *gitalypb.TreeEntry, limit int64) (*gitalypb.TreeEntryResponse, io.Reader, int64, error) { if treeEntry == nil || len(treeEntry.Oid) == 0 { - return helper.DecorateError(codes.Unavailable, stream.Send(&gitalypb.TreeEntryResponse{})) + return nil, nil, 0, helper.DecorateError(codes.Unavailable, errors.New("tree entry not found")) } if treeEntry.Type == gitalypb.TreeEntry_COMMIT { @@ -30,17 +76,14 @@ func sendTreeEntry(stream gitalypb.CommitService_TreeEntryServer, c *catfile.Bat Mode: treeEntry.Mode, Oid: treeEntry.Oid, } - if err := stream.Send(response); err != nil { - return status.Errorf(codes.Unavailable, "TreeEntry: send: %v", err) - } - return nil + return response, nil, 0, nil } if treeEntry.Type == gitalypb.TreeEntry_TREE { treeInfo, err := c.Info(treeEntry.Oid) if err != nil { - return err + return nil, nil, 0, err } response := &gitalypb.TreeEntryResponse{ @@ -49,16 +92,16 @@ func sendTreeEntry(stream gitalypb.CommitService_TreeEntryServer, c *catfile.Bat Size: treeInfo.Size, Mode: treeEntry.Mode, } - return helper.DecorateError(codes.Unavailable, stream.Send(response)) + return response, nil, 0, nil } objectInfo, err := c.Info(treeEntry.Oid) if err != nil { - return status.Errorf(codes.Internal, "TreeEntry: %v", err) + return nil, nil, 0, status.Errorf(codes.Internal, "TreeEntry: %v", err) } if strings.ToLower(treeEntry.Type.String()) != objectInfo.Type { - return status.Errorf( + return nil, nil, 0, status.Errorf( codes.Internal, "TreeEntry: mismatched object type: tree-oid=%s object-oid=%s entry-type=%s object-type=%s", treeEntry.Oid, objectInfo.Oid, treeEntry.Type.String(), objectInfo.Type, @@ -77,15 +120,19 @@ func sendTreeEntry(stream gitalypb.CommitService_TreeEntryServer, c *catfile.Bat Mode: treeEntry.Mode, } if dataLength == 0 { - return helper.DecorateError(codes.Unavailable, stream.Send(response)) + return response, nil, 0, nil } blobReader, err := c.Blob(objectInfo.Oid) if err != nil { - return err + return nil, nil, 0, err } - sw := streamio.NewWriter(func(p []byte) error { + return response, blobReader, dataLength, nil +} + +func findTreeEntryStreamWriter(stream gitalypb.CommitService_FindTreeEntriesServer, response *gitalypb.TreeEntryResponse, blobReader io.Reader) io.Writer { + return streamio.NewWriter(func(p []byte) error { response.Data = p if err := stream.Send(response); err != nil { @@ -97,9 +144,21 @@ func sendTreeEntry(stream gitalypb.CommitService_TreeEntryServer, c *catfile.Bat return nil }) +} + +func findTreeEntriesStreamWriter(stream gitalypb.CommitService_FindTreeEntriesServer, response *gitalypb.TreeEntryResponse, blobReader io.Reader) io.Writer { + return streamio.NewWriter(func(p []byte) error { + response.Data = p + + if err := stream.Send(response); err != nil { + return status.Errorf(codes.Unavailable, "TreeEntry: send: %v", err) + } - _, err = io.CopyN(sw, blobReader, dataLength) - return err + // Use a new response so we don't send other fields (Size, ...) over and over + response = &gitalypb.TreeEntryResponse{} + + return nil + }) } func (s *server) TreeEntry(in *gitalypb.TreeEntryRequest, stream gitalypb.CommitService_TreeEntryServer) error { @@ -119,7 +178,7 @@ func (s *server) TreeEntry(in *gitalypb.TreeEntryRequest, stream gitalypb.Commit return err } - return sendTreeEntry(stream, c, string(in.GetRevision()), requestPath, in.GetLimit()) + return findAndSendTreeEntry(stream, c, string(in.GetRevision()), requestPath, in.GetLimit()) } func validateRequest(in *gitalypb.TreeEntryRequest) error { @@ -133,3 +192,32 @@ func validateRequest(in *gitalypb.TreeEntryRequest) error { return nil } + +func (s *server) FindTreeEntries(in *gitalypb.FindTreeEntriesRequest, stream gitalypb.CommitService_FindTreeEntriesServer) error { + if err := validateFindTreeEntriesRequest(in); err != nil { + return helper.ErrInvalidArgument(err) + } + + c, err := catfile.New(stream.Context(), in.GetRepository()) + if err != nil { + return helper.ErrInternal(err) + } + + if err := findAndSendTreeEntries(stream, c, string(in.GetRevision()), in.GetPaths(), in.GetLimit()); err != nil { + return helper.ErrInternal(err) + } + + return nil +} + +func validateFindTreeEntriesRequest(in *gitalypb.FindTreeEntriesRequest) error { + if err := git.ValidateRevision(in.GetRevision()); err != nil { + return err + } + + if len(in.GetPaths()) == 0 { + return fmt.Errorf("empty Path") + } + + return nil +} diff --git a/proto/commit.proto b/proto/commit.proto index 6a73e76c0..c114f41aa 100644 --- a/proto/commit.proto +++ b/proto/commit.proto @@ -44,6 +44,12 @@ service CommitService { target_repository_field: "1" }; } + rpc FindTreeEntries(FindTreeEntriesRequest) returns (stream TreeEntryResponse) { + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; + } rpc ListFiles(ListFilesRequest) returns (stream ListFilesResponse) { option (op_type) = { op: ACCESSOR @@ -197,6 +203,15 @@ message TreeEntryResponse { bytes data = 5; } +message FindTreeEntriesRequest { + Repository repository = 1; + // commit ID or refname + bytes revision = 2; + // entry path relative to repository root + repeated bytes paths = 3; + int64 limit = 4; +} + message CommitsBetweenRequest { Repository repository = 1; bytes from = 2; @@ -270,6 +285,8 @@ message GetTreeEntriesResponse { repeated TreeEntry entries = 1; } + + message ListFilesRequest { Repository repository = 1; bytes revision = 2; diff --git a/proto/go/gitalypb/commit.pb.go b/proto/go/gitalypb/commit.pb.go index e30924901..7f267b120 100644 --- a/proto/go/gitalypb/commit.pb.go +++ b/proto/go/gitalypb/commit.pb.go @@ -83,7 +83,7 @@ func (x TreeEntry_EntryType) String() string { } func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{12, 0} + return fileDescriptor_db7163399a465f48, []int{13, 0} } type FindAllCommitsRequest_Order int32 @@ -111,7 +111,7 @@ func (x FindAllCommitsRequest_Order) String() string { } func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{23, 0} + return fileDescriptor_db7163399a465f48, []int{24, 0} } type CommitStatsRequest struct { @@ -450,6 +450,71 @@ func (m *TreeEntryResponse) GetData() []byte { return nil } +type FindTreeEntriesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // commit ID or refname + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // entry path relative to repository root + Paths [][]byte `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"` + Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindTreeEntriesRequest) Reset() { *m = FindTreeEntriesRequest{} } +func (m *FindTreeEntriesRequest) String() string { return proto.CompactTextString(m) } +func (*FindTreeEntriesRequest) ProtoMessage() {} +func (*FindTreeEntriesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{6} +} + +func (m *FindTreeEntriesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindTreeEntriesRequest.Unmarshal(m, b) +} +func (m *FindTreeEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindTreeEntriesRequest.Marshal(b, m, deterministic) +} +func (m *FindTreeEntriesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindTreeEntriesRequest.Merge(m, src) +} +func (m *FindTreeEntriesRequest) XXX_Size() int { + return xxx_messageInfo_FindTreeEntriesRequest.Size(m) +} +func (m *FindTreeEntriesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindTreeEntriesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindTreeEntriesRequest proto.InternalMessageInfo + +func (m *FindTreeEntriesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindTreeEntriesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *FindTreeEntriesRequest) GetPaths() [][]byte { + if m != nil { + return m.Paths + } + return nil +} + +func (m *FindTreeEntriesRequest) GetLimit() int64 { + if m != nil { + return m.Limit + } + return 0 +} + type CommitsBetweenRequest struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` @@ -463,7 +528,7 @@ func (m *CommitsBetweenRequest) Reset() { *m = CommitsBetweenRequest{} } func (m *CommitsBetweenRequest) String() string { return proto.CompactTextString(m) } func (*CommitsBetweenRequest) ProtoMessage() {} func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{6} + return fileDescriptor_db7163399a465f48, []int{7} } func (m *CommitsBetweenRequest) XXX_Unmarshal(b []byte) error { @@ -516,7 +581,7 @@ func (m *CommitsBetweenResponse) Reset() { *m = CommitsBetweenResponse{} func (m *CommitsBetweenResponse) String() string { return proto.CompactTextString(m) } func (*CommitsBetweenResponse) ProtoMessage() {} func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{7} + return fileDescriptor_db7163399a465f48, []int{8} } func (m *CommitsBetweenResponse) XXX_Unmarshal(b []byte) error { @@ -562,7 +627,7 @@ func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} } func (m *CountCommitsRequest) String() string { return proto.CompactTextString(m) } func (*CountCommitsRequest) ProtoMessage() {} func (*CountCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{8} + return fileDescriptor_db7163399a465f48, []int{9} } func (m *CountCommitsRequest) XXX_Unmarshal(b []byte) error { @@ -643,7 +708,7 @@ func (m *CountCommitsResponse) Reset() { *m = CountCommitsResponse{} } func (m *CountCommitsResponse) String() string { return proto.CompactTextString(m) } func (*CountCommitsResponse) ProtoMessage() {} func (*CountCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{9} + return fileDescriptor_db7163399a465f48, []int{10} } func (m *CountCommitsResponse) XXX_Unmarshal(b []byte) error { @@ -685,7 +750,7 @@ func (m *CountDivergingCommitsRequest) Reset() { *m = CountDivergingComm func (m *CountDivergingCommitsRequest) String() string { return proto.CompactTextString(m) } func (*CountDivergingCommitsRequest) ProtoMessage() {} func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{10} + return fileDescriptor_db7163399a465f48, []int{11} } func (m *CountDivergingCommitsRequest) XXX_Unmarshal(b []byte) error { @@ -746,7 +811,7 @@ func (m *CountDivergingCommitsResponse) Reset() { *m = CountDivergingCom func (m *CountDivergingCommitsResponse) String() string { return proto.CompactTextString(m) } func (*CountDivergingCommitsResponse) ProtoMessage() {} func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{11} + return fileDescriptor_db7163399a465f48, []int{12} } func (m *CountDivergingCommitsResponse) XXX_Unmarshal(b []byte) error { @@ -804,7 +869,7 @@ func (m *TreeEntry) Reset() { *m = TreeEntry{} } func (m *TreeEntry) String() string { return proto.CompactTextString(m) } func (*TreeEntry) ProtoMessage() {} func (*TreeEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{12} + return fileDescriptor_db7163399a465f48, []int{13} } func (m *TreeEntry) XXX_Unmarshal(b []byte) error { @@ -888,7 +953,7 @@ func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} } func (m *GetTreeEntriesRequest) String() string { return proto.CompactTextString(m) } func (*GetTreeEntriesRequest) ProtoMessage() {} func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{13} + return fileDescriptor_db7163399a465f48, []int{14} } func (m *GetTreeEntriesRequest) XXX_Unmarshal(b []byte) error { @@ -948,7 +1013,7 @@ func (m *GetTreeEntriesResponse) Reset() { *m = GetTreeEntriesResponse{} func (m *GetTreeEntriesResponse) String() string { return proto.CompactTextString(m) } func (*GetTreeEntriesResponse) ProtoMessage() {} func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{14} + return fileDescriptor_db7163399a465f48, []int{15} } func (m *GetTreeEntriesResponse) XXX_Unmarshal(b []byte) error { @@ -988,7 +1053,7 @@ func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} } func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) } func (*ListFilesRequest) ProtoMessage() {} func (*ListFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{15} + return fileDescriptor_db7163399a465f48, []int{16} } func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error { @@ -1036,7 +1101,7 @@ func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} } func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) } func (*ListFilesResponse) ProtoMessage() {} func (*ListFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{16} + return fileDescriptor_db7163399a465f48, []int{17} } func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error { @@ -1076,7 +1141,7 @@ func (m *FindCommitRequest) Reset() { *m = FindCommitRequest{} } func (m *FindCommitRequest) String() string { return proto.CompactTextString(m) } func (*FindCommitRequest) ProtoMessage() {} func (*FindCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{17} + return fileDescriptor_db7163399a465f48, []int{18} } func (m *FindCommitRequest) XXX_Unmarshal(b []byte) error { @@ -1123,7 +1188,7 @@ func (m *FindCommitResponse) Reset() { *m = FindCommitResponse{} } func (m *FindCommitResponse) String() string { return proto.CompactTextString(m) } func (*FindCommitResponse) ProtoMessage() {} func (*FindCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{18} + return fileDescriptor_db7163399a465f48, []int{19} } func (m *FindCommitResponse) XXX_Unmarshal(b []byte) error { @@ -1163,7 +1228,7 @@ func (m *ListCommitsByOidRequest) Reset() { *m = ListCommitsByOidRequest func (m *ListCommitsByOidRequest) String() string { return proto.CompactTextString(m) } func (*ListCommitsByOidRequest) ProtoMessage() {} func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{19} + return fileDescriptor_db7163399a465f48, []int{20} } func (m *ListCommitsByOidRequest) XXX_Unmarshal(b []byte) error { @@ -1209,7 +1274,7 @@ func (m *ListCommitsByOidResponse) Reset() { *m = ListCommitsByOidRespon func (m *ListCommitsByOidResponse) String() string { return proto.CompactTextString(m) } func (*ListCommitsByOidResponse) ProtoMessage() {} func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{20} + return fileDescriptor_db7163399a465f48, []int{21} } func (m *ListCommitsByOidResponse) XXX_Unmarshal(b []byte) error { @@ -1249,7 +1314,7 @@ func (m *ListCommitsByRefNameRequest) Reset() { *m = ListCommitsByRefNam func (m *ListCommitsByRefNameRequest) String() string { return proto.CompactTextString(m) } func (*ListCommitsByRefNameRequest) ProtoMessage() {} func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{21} + return fileDescriptor_db7163399a465f48, []int{22} } func (m *ListCommitsByRefNameRequest) XXX_Unmarshal(b []byte) error { @@ -1295,7 +1360,7 @@ func (m *ListCommitsByRefNameResponse) Reset() { *m = ListCommitsByRefNa func (m *ListCommitsByRefNameResponse) String() string { return proto.CompactTextString(m) } func (*ListCommitsByRefNameResponse) ProtoMessage() {} func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{22} + return fileDescriptor_db7163399a465f48, []int{23} } func (m *ListCommitsByRefNameResponse) XXX_Unmarshal(b []byte) error { @@ -1339,7 +1404,7 @@ func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} } func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) } func (*FindAllCommitsRequest) ProtoMessage() {} func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{23} + return fileDescriptor_db7163399a465f48, []int{24} } func (m *FindAllCommitsRequest) XXX_Unmarshal(b []byte) error { @@ -1407,7 +1472,7 @@ func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) } func (*FindAllCommitsResponse) ProtoMessage() {} func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{24} + return fileDescriptor_db7163399a465f48, []int{25} } func (m *FindAllCommitsResponse) XXX_Unmarshal(b []byte) error { @@ -1457,7 +1522,7 @@ func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} } func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) } func (*FindCommitsRequest) ProtoMessage() {} func (*FindCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{25} + return fileDescriptor_db7163399a465f48, []int{26} } func (m *FindCommitsRequest) XXX_Unmarshal(b []byte) error { @@ -1567,7 +1632,7 @@ func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} } func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) } func (*FindCommitsResponse) ProtoMessage() {} func (*FindCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{26} + return fileDescriptor_db7163399a465f48, []int{27} } func (m *FindCommitsResponse) XXX_Unmarshal(b []byte) error { @@ -1607,7 +1672,7 @@ func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) } func (*CommitLanguagesRequest) ProtoMessage() {} func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{27} + return fileDescriptor_db7163399a465f48, []int{28} } func (m *CommitLanguagesRequest) XXX_Unmarshal(b []byte) error { @@ -1653,7 +1718,7 @@ func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) } func (*CommitLanguagesResponse) ProtoMessage() {} func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{28} + return fileDescriptor_db7163399a465f48, []int{29} } func (m *CommitLanguagesResponse) XXX_Unmarshal(b []byte) error { @@ -1694,7 +1759,7 @@ func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguage func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) } func (*CommitLanguagesResponse_Language) ProtoMessage() {} func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{28, 0} + return fileDescriptor_db7163399a465f48, []int{29, 0} } func (m *CommitLanguagesResponse_Language) XXX_Unmarshal(b []byte) error { @@ -1749,7 +1814,7 @@ func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} } func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) } func (*RawBlameRequest) ProtoMessage() {} func (*RawBlameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{29} + return fileDescriptor_db7163399a465f48, []int{30} } func (m *RawBlameRequest) XXX_Unmarshal(b []byte) error { @@ -1802,7 +1867,7 @@ func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} } func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) } func (*RawBlameResponse) ProtoMessage() {} func (*RawBlameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{30} + return fileDescriptor_db7163399a465f48, []int{31} } func (m *RawBlameResponse) XXX_Unmarshal(b []byte) error { @@ -1843,7 +1908,7 @@ func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathReque func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) } func (*LastCommitForPathRequest) ProtoMessage() {} func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{31} + return fileDescriptor_db7163399a465f48, []int{32} } func (m *LastCommitForPathRequest) XXX_Unmarshal(b []byte) error { @@ -1897,7 +1962,7 @@ func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResp func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) } func (*LastCommitForPathResponse) ProtoMessage() {} func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{32} + return fileDescriptor_db7163399a465f48, []int{33} } func (m *LastCommitForPathResponse) XXX_Unmarshal(b []byte) error { @@ -1941,7 +2006,7 @@ func (m *ListLastCommitsForTreeRequest) Reset() { *m = ListLastCommitsFo func (m *ListLastCommitsForTreeRequest) String() string { return proto.CompactTextString(m) } func (*ListLastCommitsForTreeRequest) ProtoMessage() {} func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{33} + return fileDescriptor_db7163399a465f48, []int{34} } func (m *ListLastCommitsForTreeRequest) XXX_Unmarshal(b []byte) error { @@ -2008,7 +2073,7 @@ func (m *ListLastCommitsForTreeResponse) Reset() { *m = ListLastCommitsF func (m *ListLastCommitsForTreeResponse) String() string { return proto.CompactTextString(m) } func (*ListLastCommitsForTreeResponse) ProtoMessage() {} func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{34} + return fileDescriptor_db7163399a465f48, []int{35} } func (m *ListLastCommitsForTreeResponse) XXX_Unmarshal(b []byte) error { @@ -2052,7 +2117,7 @@ func (m *ListLastCommitsForTreeResponse_CommitForTree) String() string { } func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {} func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{34, 0} + return fileDescriptor_db7163399a465f48, []int{35, 0} } func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Unmarshal(b []byte) error { @@ -2103,7 +2168,7 @@ func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) } func (*CommitsByMessageRequest) ProtoMessage() {} func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{35} + return fileDescriptor_db7163399a465f48, []int{36} } func (m *CommitsByMessageRequest) XXX_Unmarshal(b []byte) error { @@ -2178,7 +2243,7 @@ func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageRespon func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) } func (*CommitsByMessageResponse) ProtoMessage() {} func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{36} + return fileDescriptor_db7163399a465f48, []int{37} } func (m *CommitsByMessageResponse) XXX_Unmarshal(b []byte) error { @@ -2218,7 +2283,7 @@ func (m *FilterShasWithSignaturesRequest) Reset() { *m = FilterShasWithS func (m *FilterShasWithSignaturesRequest) String() string { return proto.CompactTextString(m) } func (*FilterShasWithSignaturesRequest) ProtoMessage() {} func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{37} + return fileDescriptor_db7163399a465f48, []int{38} } func (m *FilterShasWithSignaturesRequest) XXX_Unmarshal(b []byte) error { @@ -2264,7 +2329,7 @@ func (m *FilterShasWithSignaturesResponse) Reset() { *m = FilterShasWith func (m *FilterShasWithSignaturesResponse) String() string { return proto.CompactTextString(m) } func (*FilterShasWithSignaturesResponse) ProtoMessage() {} func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{38} + return fileDescriptor_db7163399a465f48, []int{39} } func (m *FilterShasWithSignaturesResponse) XXX_Unmarshal(b []byte) error { @@ -2304,7 +2369,7 @@ func (m *ExtractCommitSignatureRequest) Reset() { *m = ExtractCommitSign func (m *ExtractCommitSignatureRequest) String() string { return proto.CompactTextString(m) } func (*ExtractCommitSignatureRequest) ProtoMessage() {} func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{39} + return fileDescriptor_db7163399a465f48, []int{40} } func (m *ExtractCommitSignatureRequest) XXX_Unmarshal(b []byte) error { @@ -2353,7 +2418,7 @@ func (m *ExtractCommitSignatureResponse) Reset() { *m = ExtractCommitSig func (m *ExtractCommitSignatureResponse) String() string { return proto.CompactTextString(m) } func (*ExtractCommitSignatureResponse) ProtoMessage() {} func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{40} + return fileDescriptor_db7163399a465f48, []int{41} } func (m *ExtractCommitSignatureResponse) XXX_Unmarshal(b []byte) error { @@ -2400,7 +2465,7 @@ func (m *GetCommitSignaturesRequest) Reset() { *m = GetCommitSignaturesR func (m *GetCommitSignaturesRequest) String() string { return proto.CompactTextString(m) } func (*GetCommitSignaturesRequest) ProtoMessage() {} func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{41} + return fileDescriptor_db7163399a465f48, []int{42} } func (m *GetCommitSignaturesRequest) XXX_Unmarshal(b []byte) error { @@ -2450,7 +2515,7 @@ func (m *GetCommitSignaturesResponse) Reset() { *m = GetCommitSignatures func (m *GetCommitSignaturesResponse) String() string { return proto.CompactTextString(m) } func (*GetCommitSignaturesResponse) ProtoMessage() {} func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{42} + return fileDescriptor_db7163399a465f48, []int{43} } func (m *GetCommitSignaturesResponse) XXX_Unmarshal(b []byte) error { @@ -2504,7 +2569,7 @@ func (m *GetCommitMessagesRequest) Reset() { *m = GetCommitMessagesReque func (m *GetCommitMessagesRequest) String() string { return proto.CompactTextString(m) } func (*GetCommitMessagesRequest) ProtoMessage() {} func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{43} + return fileDescriptor_db7163399a465f48, []int{44} } func (m *GetCommitMessagesRequest) XXX_Unmarshal(b []byte) error { @@ -2552,7 +2617,7 @@ func (m *GetCommitMessagesResponse) Reset() { *m = GetCommitMessagesResp func (m *GetCommitMessagesResponse) String() string { return proto.CompactTextString(m) } func (*GetCommitMessagesResponse) ProtoMessage() {} func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{44} + return fileDescriptor_db7163399a465f48, []int{45} } func (m *GetCommitMessagesResponse) XXX_Unmarshal(b []byte) error { @@ -2597,6 +2662,7 @@ func init() { proto.RegisterType((*CommitIsAncestorResponse)(nil), "gitaly.CommitIsAncestorResponse") proto.RegisterType((*TreeEntryRequest)(nil), "gitaly.TreeEntryRequest") proto.RegisterType((*TreeEntryResponse)(nil), "gitaly.TreeEntryResponse") + proto.RegisterType((*FindTreeEntriesRequest)(nil), "gitaly.FindTreeEntriesRequest") proto.RegisterType((*CommitsBetweenRequest)(nil), "gitaly.CommitsBetweenRequest") proto.RegisterType((*CommitsBetweenResponse)(nil), "gitaly.CommitsBetweenResponse") proto.RegisterType((*CountCommitsRequest)(nil), "gitaly.CountCommitsRequest") @@ -2643,132 +2709,134 @@ func init() { func init() { proto.RegisterFile("commit.proto", fileDescriptor_db7163399a465f48) } var fileDescriptor_db7163399a465f48 = []byte{ - // 1994 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xdb, 0x6e, 0xe3, 0xc6, - 0x19, 0x0e, 0x75, 0x24, 0x7f, 0xb9, 0x8e, 0x3c, 0x7b, 0x92, 0x69, 0x7b, 0xed, 0x70, 0x77, 0x53, - 0x07, 0x69, 0x65, 0xd7, 0x3d, 0xa0, 0xbd, 0x2a, 0xd6, 0x89, 0x6d, 0xd8, 0x5d, 0x5b, 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6b, 0x4b, 0xe6, 0xf3, 0x9b, 0x27, 0xe5, 0xe9, - 0xfb, 0x23, 0x34, 0x16, 0x51, 0x2c, 0xf4, 0x7d, 0x95, 0x03, 0x37, 0xf2, 0x3d, 0x73, 0xf7, 0xf6, - 0x89, 0x19, 0xdd, 0xbb, 0xda, 0xbe, 0xc6, 0xee, 0x4a, 0x3e, 0x6d, 0x52, 0x77, 0xe5, 0x46, 0x22, - 0xa7, 0xee, 0xca, 0xcd, 0xec, 0x2b, 0xed, 0xf3, 0x6b, 0x78, 0x90, 0x43, 0x6d, 0x90, 0x95, 0x80, - 0xe6, 0x05, 0x44, 0xcb, 0x7c, 0x76, 0xe3, 0x9c, 0x3c, 0x65, 0x18, 0xd6, 0x32, 0xec, 0x42, 0xe5, - 0xdc, 0x22, 0x9e, 0xa3, 0x72, 0x6e, 0x21, 0x35, 0x49, 0xa9, 0x39, 0xdc, 0xff, 0x0d, 0x5b, 0xe0, - 0x39, 0xdd, 0x66, 0xcf, 0x1f, 0xed, 0x89, 0xe6, 0x0f, 0xfd, 0x60, 0xb0, 0x27, 0xb6, 0x11, 0x7f, - 0x2d, 0xef, 0x0d, 0x7c, 0xd9, 0x9f, 0x74, 0xbb, 0x15, 0x2e, 0xfa, 0xf1, 0x37, 0x01, 0x00, 0x00, - 0xff, 0xff, 0xa1, 0x79, 0xf4, 0xb9, 0xa1, 0x1e, 0x00, 0x00, + // 2032 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcb, 0x6f, 0xe3, 0xc6, + 0x19, 0x0f, 0xf5, 0x32, 0xf9, 0xc9, 0xf5, 0xca, 0xb3, 0xbb, 0x5e, 0x99, 0x7e, 0x86, 0xbb, 0x9b, + 0x2a, 0x48, 0x2b, 0xbb, 0xee, 0x03, 0xed, 0xa9, 0x58, 0x27, 0xb6, 0x61, 0x77, 0x6d, 0xa5, 0xb4, + 0x80, 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x37, 0x40, 0xeb, 0xbb, 0x16, + 0xe9, 0x30, 0xe3, 0x4b, 0x7c, 0xbf, 0x52, 0xc1, 0xe7, 0x16, 0x19, 0x1a, 0x9f, 0x80, 0x16, 0x99, + 0x88, 0x00, 0xe9, 0x83, 0x08, 0x90, 0x94, 0x18, 0x60, 0x15, 0x8d, 0xbf, 0x2b, 0xf0, 0xf4, 0x04, + 0x93, 0x6f, 0x01, 0x92, 0xb2, 0x72, 0xb5, 0x09, 0x9a, 0x8f, 0x7b, 0x53, 0x3f, 0x70, 0xae, 0x78, + 0xc2, 0x54, 0x53, 0x0a, 0x28, 0x4e, 0xcc, 0xbb, 0x26, 0x71, 0x02, 0x73, 0xd1, 0x3c, 0x4e, 0xc8, + 0xbb, 0x20, 0x1c, 0x61, 0x74, 0xa1, 0xf6, 0xda, 0x09, 0xc8, 0xb1, 0xe3, 0x2e, 0x2c, 0x38, 0xe3, + 0x63, 0x58, 0x8d, 0xd9, 0x90, 0xe7, 0x8e, 0x83, 0xb0, 0x12, 0x03, 0x61, 0xa3, 0x07, 0xab, 0xf4, + 0x12, 0x10, 0x68, 0xb6, 0x20, 0x7f, 0x7e, 0x0e, 0x28, 0x6e, 0x44, 0x38, 0xf4, 0x31, 0x54, 0xf8, + 0x1e, 0x12, 0x16, 0x32, 0xd0, 0x55, 0x0c, 0x30, 0x3a, 0xf0, 0x8c, 0x06, 0x14, 0xe2, 0xf4, 0xac, + 0xe5, 0xd8, 0x0f, 0xf1, 0x35, 0xba, 0x7f, 0x8b, 0xe2, 0x54, 0x19, 0x27, 0x50, 0x4f, 0x1b, 0xb8, + 0xcf, 0x35, 0x30, 0x86, 0x8d, 0x84, 0x22, 0x13, 0xf7, 0x2f, 0xac, 0x11, 0x7e, 0x88, 0xb7, 0x1b, + 0x74, 0x5b, 0xf6, 0x3b, 0x63, 0x6b, 0x84, 0x03, 0xe6, 0x33, 0x4b, 0x2d, 0x53, 0x1b, 0x18, 0xbf, + 0x80, 0xcd, 0x6c, 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x14, 0x17, 0x6e, + 0x49, 0x31, 0xa5, 0xb4, 0x34, 0xc8, 0x4e, 0x77, 0x46, 0x70, 0xc0, 0x22, 0x5c, 0x36, 0x35, 0x2a, + 0x39, 0xa4, 0x82, 0xb3, 0x92, 0xaa, 0xd4, 0x0a, 0x67, 0x25, 0xb5, 0x58, 0x2b, 0x19, 0xff, 0x8e, + 0x0e, 0x69, 0x70, 0x38, 0x3b, 0xc7, 0x41, 0x40, 0x0f, 0xd8, 0x82, 0x76, 0x95, 0xcc, 0x6e, 0x71, + 0x1e, 0xc0, 0x33, 0xd6, 0x22, 0xeb, 0x95, 0xf6, 0x04, 0xca, 0x5f, 0x4d, 0xb1, 0x3f, 0x13, 0x34, + 0x9d, 0x37, 0x28, 0xbf, 0x49, 0x87, 0x70, 0x1f, 0x6c, 0x74, 0x60, 0xe7, 0xd8, 0x71, 0x09, 0xf6, + 0x2f, 0x87, 0x56, 0xf0, 0x85, 0x43, 0x86, 0x97, 0xce, 0x60, 0x6c, 0x91, 0xa9, 0x8f, 0x1f, 0xfa, + 0x52, 0x0b, 0x86, 0x56, 0x48, 0x6f, 0xd8, 0xb7, 0xf1, 0x13, 0xd8, 0xcd, 0x37, 0x25, 0x51, 0x80, + 0xcd, 0x53, 0x62, 0xf3, 0x26, 0xb0, 0x75, 0x74, 0x4d, 0x7c, 0xab, 0x27, 0x9c, 0x8f, 0xa6, 0x3d, + 0x90, 0x84, 0x89, 0x27, 0x50, 0xf4, 0xee, 0x52, 0xb9, 0xe0, 0xd4, 0x36, 0x3a, 0xb0, 0x9d, 0x67, + 0x51, 0xf8, 0xb9, 0x09, 0x5a, 0x10, 0x0a, 0x05, 0x64, 0x49, 0x01, 0xbb, 0x70, 0x9d, 0xc1, 0x18, + 0xdb, 0x1d, 0x82, 0xaf, 0x89, 0xd8, 0x14, 0xc0, 0x45, 0x6d, 0x7c, 0x4d, 0x0c, 0x0f, 0xf4, 0x13, + 0x3c, 0xaf, 0xfc, 0x41, 0x09, 0x97, 0x4f, 0x3a, 0xc7, 0x0e, 0x04, 0x13, 0xd6, 0xc2, 0x80, 0x02, + 0x63, 0x06, 0x1b, 0x99, 0x06, 0x45, 0x38, 0x89, 0x6c, 0x28, 0xc9, 0x6c, 0x24, 0x63, 0x2d, 0xdc, + 0x12, 0x6b, 0x31, 0x15, 0xeb, 0x08, 0xea, 0x91, 0x69, 0xb1, 0x55, 0x17, 0x19, 0xa9, 0x09, 0xeb, + 0x19, 0xe6, 0xee, 0x12, 0x67, 0x1d, 0x96, 0x46, 0x7c, 0x82, 0x88, 0x32, 0x6c, 0x1e, 0xfc, 0x67, + 0x35, 0x44, 0xa6, 0x4b, 0xec, 0x5f, 0x39, 0x3d, 0x8c, 0x7e, 0x0b, 0xb5, 0xf9, 0x12, 0x28, 0xda, + 0x49, 0xde, 0xe6, 0xa9, 0x3a, 0xad, 0xbe, 0x9b, 0x3f, 0x80, 0xfb, 0x67, 0x68, 0xef, 0xfe, 0xd6, + 0x28, 0xab, 0x05, 0x5d, 0xf9, 0x01, 0x3a, 0x8f, 0x97, 0x0d, 0xea, 0x19, 0xc5, 0x48, 0xae, 0x73, + 0x3d, 0xb7, 0x4c, 0x19, 0x53, 0xb6, 0xaf, 0xa0, 0x2f, 0x61, 0x25, 0x59, 0x15, 0x43, 0x5b, 0x49, + 0x6f, 0xe6, 0xca, 0x73, 0xfa, 0x76, 0x5e, 0x77, 0x96, 0xf6, 0x36, 0x2c, 0xc7, 0x6b, 0x43, 0x68, + 0x43, 0x4e, 0x4e, 0x55, 0xd0, 0xf4, 0xcd, 0xec, 0xce, 0x74, 0x0a, 0x58, 0xe9, 0x30, 0xa3, 0x36, + 0x83, 0x5e, 0x24, 0x34, 0xe4, 0x54, 0x98, 0xf4, 0x97, 0xb7, 0x8c, 0x4a, 0x1b, 0xfc, 0x12, 0x56, + 0x92, 0x25, 0x01, 0x99, 0xa4, 0xcc, 0x2a, 0x86, 0x4c, 0x52, 0x76, 0x25, 0x21, 0x99, 0xa4, 0x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 0xd5, 0x27, 0x69, 0x23, 0xa7, 0xf0, 0x25, 0x6d, 0xe4, + 0x15, 0xae, 0x92, 0x36, 0xc6, 0xf0, 0x24, 0xab, 0x50, 0x84, 0x9e, 0x67, 0xaa, 0x49, 0x96, 0xad, + 0xf4, 0x17, 0x37, 0x0f, 0xca, 0xb2, 0xf7, 0x07, 0xa8, 0xe7, 0xb1, 0x37, 0xf4, 0x5d, 0x79, 0x06, + 0x6e, 0xa4, 0x92, 0x7a, 0xe3, 0xf6, 0x81, 0x29, 0xdb, 0x0d, 0x65, 0x5f, 0xa1, 0x7b, 0x25, 0x9b, + 0x91, 0xc9, 0xbd, 0x72, 0x23, 0x47, 0x94, 0x7b, 0xe5, 0x66, 0x62, 0x97, 0x8c, 0xf9, 0x0d, 0x3c, + 0xce, 0x60, 0x4d, 0xc8, 0x88, 0xa1, 0x7e, 0x0e, 0x87, 0xd3, 0x9f, 0xdf, 0x38, 0x26, 0xcb, 0x18, + 0x86, 0xd5, 0x14, 0x71, 0x91, 0x67, 0x2e, 0x8f, 0x42, 0xc9, 0x33, 0x97, 0xcb, 0x7a, 0x12, 0x66, + 0x0e, 0xf7, 0x7f, 0x4d, 0x27, 0xb8, 0x56, 0xb7, 0xd9, 0xf3, 0x46, 0x7b, 0xfc, 0xf3, 0xfb, 0x9e, + 0x3f, 0xd8, 0xe3, 0x6a, 0xf8, 0x9f, 0xe9, 0x7b, 0x03, 0x4f, 0xb4, 0x27, 0xdd, 0x6e, 0x85, 0x89, + 0x7e, 0xf8, 0x75, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xc3, 0x5c, 0xb1, 0x93, 0x1f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2789,6 +2857,7 @@ type CommitServiceClient interface { CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) + FindTreeEntries(ctx context.Context, in *FindTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_FindTreeEntriesClient, error) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) @@ -2942,8 +3011,40 @@ func (x *commitServiceGetTreeEntriesClient) Recv() (*GetTreeEntriesResponse, err return m, nil } +func (c *commitServiceClient) FindTreeEntries(ctx context.Context, in *FindTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_FindTreeEntriesClient, error) { + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[3], "/gitaly.CommitService/FindTreeEntries", opts...) + if err != nil { + return nil, err + } + x := &commitServiceFindTreeEntriesClient{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 CommitService_FindTreeEntriesClient interface { + Recv() (*TreeEntryResponse, error) + grpc.ClientStream +} + +type commitServiceFindTreeEntriesClient struct { + grpc.ClientStream +} + +func (x *commitServiceFindTreeEntriesClient) Recv() (*TreeEntryResponse, error) { + m := new(TreeEntryResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + func (c *commitServiceClient) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[3], "/gitaly.CommitService/ListFiles", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[4], "/gitaly.CommitService/ListFiles", opts...) if err != nil { return nil, err } @@ -2993,7 +3094,7 @@ func (c *commitServiceClient) CommitStats(ctx context.Context, in *CommitStatsRe } func (c *commitServiceClient) FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[4], "/gitaly.CommitService/FindAllCommits", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[5], "/gitaly.CommitService/FindAllCommits", opts...) if err != nil { return nil, err } @@ -3025,7 +3126,7 @@ func (x *commitServiceFindAllCommitsClient) Recv() (*FindAllCommitsResponse, err } func (c *commitServiceClient) FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[5], "/gitaly.CommitService/FindCommits", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[6], "/gitaly.CommitService/FindCommits", opts...) if err != nil { return nil, err } @@ -3066,7 +3167,7 @@ func (c *commitServiceClient) CommitLanguages(ctx context.Context, in *CommitLan } func (c *commitServiceClient) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[6], "/gitaly.CommitService/RawBlame", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[7], "/gitaly.CommitService/RawBlame", opts...) if err != nil { return nil, err } @@ -3107,7 +3208,7 @@ func (c *commitServiceClient) LastCommitForPath(ctx context.Context, in *LastCom } func (c *commitServiceClient) ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[7], "/gitaly.CommitService/ListLastCommitsForTree", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[8], "/gitaly.CommitService/ListLastCommitsForTree", opts...) if err != nil { return nil, err } @@ -3139,7 +3240,7 @@ func (x *commitServiceListLastCommitsForTreeClient) Recv() (*ListLastCommitsForT } func (c *commitServiceClient) CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[8], "/gitaly.CommitService/CommitsByMessage", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[9], "/gitaly.CommitService/CommitsByMessage", opts...) if err != nil { return nil, err } @@ -3171,7 +3272,7 @@ func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse, } func (c *commitServiceClient) ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[9], "/gitaly.CommitService/ListCommitsByOid", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[10], "/gitaly.CommitService/ListCommitsByOid", opts...) if err != nil { return nil, err } @@ -3203,7 +3304,7 @@ func (x *commitServiceListCommitsByOidClient) Recv() (*ListCommitsByOidResponse, } func (c *commitServiceClient) ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[10], "/gitaly.CommitService/ListCommitsByRefName", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[11], "/gitaly.CommitService/ListCommitsByRefName", opts...) if err != nil { return nil, err } @@ -3235,7 +3336,7 @@ func (x *commitServiceListCommitsByRefNameClient) Recv() (*ListCommitsByRefNameR } func (c *commitServiceClient) FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[11], "/gitaly.CommitService/FilterShasWithSignatures", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[12], "/gitaly.CommitService/FilterShasWithSignatures", opts...) if err != nil { return nil, err } @@ -3266,7 +3367,7 @@ func (x *commitServiceFilterShasWithSignaturesClient) Recv() (*FilterShasWithSig } func (c *commitServiceClient) ExtractCommitSignature(ctx context.Context, in *ExtractCommitSignatureRequest, opts ...grpc.CallOption) (CommitService_ExtractCommitSignatureClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[12], "/gitaly.CommitService/ExtractCommitSignature", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[13], "/gitaly.CommitService/ExtractCommitSignature", opts...) if err != nil { return nil, err } @@ -3298,7 +3399,7 @@ func (x *commitServiceExtractCommitSignatureClient) Recv() (*ExtractCommitSignat } func (c *commitServiceClient) GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[13], "/gitaly.CommitService/GetCommitSignatures", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[14], "/gitaly.CommitService/GetCommitSignatures", opts...) if err != nil { return nil, err } @@ -3330,7 +3431,7 @@ func (x *commitServiceGetCommitSignaturesClient) Recv() (*GetCommitSignaturesRes } func (c *commitServiceClient) GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) { - stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[14], "/gitaly.CommitService/GetCommitMessages", opts...) + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[15], "/gitaly.CommitService/GetCommitMessages", opts...) if err != nil { return nil, err } @@ -3369,6 +3470,7 @@ type CommitServiceServer interface { CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error + FindTreeEntries(*FindTreeEntriesRequest, CommitService_FindTreeEntriesServer) error ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) @@ -3413,6 +3515,9 @@ func (*UnimplementedCommitServiceServer) CountDivergingCommits(ctx context.Conte func (*UnimplementedCommitServiceServer) GetTreeEntries(req *GetTreeEntriesRequest, srv CommitService_GetTreeEntriesServer) error { return status.Errorf(codes.Unimplemented, "method GetTreeEntries not implemented") } +func (*UnimplementedCommitServiceServer) FindTreeEntries(req *FindTreeEntriesRequest, srv CommitService_FindTreeEntriesServer) error { + return status.Errorf(codes.Unimplemented, "method FindTreeEntries not implemented") +} func (*UnimplementedCommitServiceServer) ListFiles(req *ListFilesRequest, srv CommitService_ListFilesServer) error { return status.Errorf(codes.Unimplemented, "method ListFiles not implemented") } @@ -3583,6 +3688,27 @@ func (x *commitServiceGetTreeEntriesServer) Send(m *GetTreeEntriesResponse) erro return x.ServerStream.SendMsg(m) } +func _CommitService_FindTreeEntries_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindTreeEntriesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).FindTreeEntries(m, &commitServiceFindTreeEntriesServer{stream}) +} + +type CommitService_FindTreeEntriesServer interface { + Send(*TreeEntryResponse) error + grpc.ServerStream +} + +type commitServiceFindTreeEntriesServer struct { + grpc.ServerStream +} + +func (x *commitServiceFindTreeEntriesServer) Send(m *TreeEntryResponse) error { + return x.ServerStream.SendMsg(m) +} + func _CommitService_ListFiles_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(ListFilesRequest) if err := stream.RecvMsg(m); err != nil { @@ -3962,6 +4088,11 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ ServerStreams: true, }, { + StreamName: "FindTreeEntries", + Handler: _CommitService_FindTreeEntries_Handler, + ServerStreams: true, + }, + { StreamName: "ListFiles", Handler: _CommitService_ListFiles_Handler, ServerStreams: true, diff --git a/ruby/proto/gitaly/commit_pb.rb b/ruby/proto/gitaly/commit_pb.rb index 36935c0ef..fc65e348a 100644 --- a/ruby/proto/gitaly/commit_pb.rb +++ b/ruby/proto/gitaly/commit_pb.rb @@ -42,6 +42,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do value :TREE, 2 value :TAG, 3 end + add_message "gitaly.FindTreeEntriesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + repeated :paths, :bytes, 3 + optional :limit, :int64, 4 + end add_message "gitaly.CommitsBetweenRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :from, :bytes, 2 @@ -249,6 +255,7 @@ module Gitaly TreeEntryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryRequest").msgclass TreeEntryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse").msgclass TreeEntryResponse::ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse.ObjectType").enummodule + FindTreeEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindTreeEntriesRequest").msgclass CommitsBetweenRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenRequest").msgclass CommitsBetweenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenResponse").msgclass CountCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsRequest").msgclass diff --git a/ruby/proto/gitaly/commit_services_pb.rb b/ruby/proto/gitaly/commit_services_pb.rb index a2ece6609..c6c73cc31 100644 --- a/ruby/proto/gitaly/commit_services_pb.rb +++ b/ruby/proto/gitaly/commit_services_pb.rb @@ -20,6 +20,7 @@ module Gitaly rpc :CountCommits, CountCommitsRequest, CountCommitsResponse rpc :CountDivergingCommits, CountDivergingCommitsRequest, CountDivergingCommitsResponse rpc :GetTreeEntries, GetTreeEntriesRequest, stream(GetTreeEntriesResponse) + rpc :FindTreeEntries, FindTreeEntriesRequest, stream(TreeEntryResponse) rpc :ListFiles, ListFilesRequest, stream(ListFilesResponse) rpc :FindCommit, FindCommitRequest, FindCommitResponse rpc :CommitStats, CommitStatsRequest, CommitStatsResponse |