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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2019-08-13 21:06:37 +0300
committerPaul Okstad <pokstad@gitlab.com>2019-08-13 21:06:37 +0300
commit28fb6773478a827d0566db7dfa6a29fa67d8dbf6 (patch)
treedb8e4b2b5691562c3a0761ad39d38b3153a7c26f
parentb48d2e04d639898be2505e8a4b4449918b796680 (diff)
FindTag RPC
-rw-r--r--changelogs/unreleased/jc-find-tag.yml5
-rw-r--r--internal/service/ref/refs.go127
-rw-r--r--internal/service/ref/refs_test.go280
-rw-r--r--proto/go/gitalypb/ref.pb.go385
-rw-r--r--proto/ref.proto15
-rw-r--r--ruby/proto/gitaly/ref_pb.rb9
-rw-r--r--ruby/proto/gitaly/ref_services_pb.rb1
7 files changed, 668 insertions, 154 deletions
diff --git a/changelogs/unreleased/jc-find-tag.yml b/changelogs/unreleased/jc-find-tag.yml
new file mode 100644
index 000000000..023377cf0
--- /dev/null
+++ b/changelogs/unreleased/jc-find-tag.yml
@@ -0,0 +1,5 @@
+---
+title: FindTag RPC
+merge_request: 1409
+author:
+type: performance
diff --git a/internal/service/ref/refs.go b/internal/service/ref/refs.go
index 267f29855..9cd32faf7 100644
--- a/internal/service/ref/refs.go
+++ b/internal/service/ref/refs.go
@@ -17,6 +17,10 @@ import (
"gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"
)
+const (
+ tagFormat = "%(objectname) %(objecttype) %(refname:lstrip=2)"
+)
+
var (
master = []byte("refs/heads/master")
@@ -74,7 +78,7 @@ func (t *tagSender) Send() error {
}
func parseAndReturnTags(ctx context.Context, repo *gitalypb.Repository, stream gitalypb.RefService_FindAllTagsServer) error {
- tagsCmd, err := git.Command(ctx, repo, "for-each-ref", "--format", "%(objectname) %(objecttype) %(refname:lstrip=2)", "refs/tags/")
+ tagsCmd, err := git.Command(ctx, repo, "for-each-ref", "--format", tagFormat, "refs/tags/")
if err != nil {
return fmt.Errorf("for-each-ref error: %v", err)
}
@@ -88,30 +92,9 @@ func parseAndReturnTags(ctx context.Context, repo *gitalypb.Repository, stream g
scanner := bufio.NewScanner(tagsCmd)
for scanner.Scan() {
- fields := strings.SplitN(scanner.Text(), " ", 3)
- if len(fields) != 3 {
- return fmt.Errorf("invalid output from for-each-ref command: %v", scanner.Text())
- }
-
- tagID, refType, refName := fields[0], fields[1], fields[2]
-
- tag := &gitalypb.Tag{
- Id: tagID,
- Name: []byte(refName),
- }
- switch refType {
- // annotated tag
- case "tag":
- tag, err = gitlog.GetTagCatfile(c, tagID, refName)
- if err != nil {
- return fmt.Errorf("getting annotated tag: %v", err)
- }
- case "commit":
- commit, err := gitlog.GetCommitCatfile(c, tagID)
- if err != nil {
- return fmt.Errorf("getting commit catfile: %v", err)
- }
- tag.TargetCommit = commit
+ tag, err := parseTagLine(c, scanner.Text())
+ if err != nil {
+ return fmt.Errorf("parsing tag: %v", err)
}
if err := tagChunker.Send(tag); err != nil {
@@ -344,3 +327,97 @@ func findAllBranches(in *gitalypb.FindAllBranchesRequest, stream gitalypb.RefSer
return findRefs(ctx, writer, in.Repository, patterns, opts)
}
+
+func (s *server) FindTag(ctx context.Context, in *gitalypb.FindTagRequest) (*gitalypb.FindTagResponse, error) {
+ var err error
+ if err = validateFindTagRequest(in); err != nil {
+ return nil, helper.ErrInvalidArgument(err)
+ }
+
+ var tag *gitalypb.Tag
+
+ if tag, err = findTag(ctx, in.GetRepository(), in.GetTagName()); err != nil {
+ return nil, helper.ErrInternal(err)
+ }
+
+ return &gitalypb.FindTagResponse{Tag: tag}, nil
+}
+
+// parseTagLine parses a line of text with the output format %(objectname) %(objecttype) %(refname:lstrip=2)
+func parseTagLine(c *catfile.Batch, tagLine string) (*gitalypb.Tag, error) {
+ fields := strings.SplitN(tagLine, " ", 3)
+ if len(fields) != 3 {
+ return nil, fmt.Errorf("invalid output from for-each-ref command: %v", tagLine)
+ }
+
+ tagID, refType, refName := fields[0], fields[1], fields[2]
+
+ tag := &gitalypb.Tag{
+ Id: tagID,
+ Name: []byte(refName),
+ }
+
+ switch refType {
+ // annotated tag
+ case "tag":
+ tag, err := gitlog.GetTagCatfile(c, tagID, refName)
+ if err != nil {
+ return nil, fmt.Errorf("getting annotated tag: %v", err)
+ }
+ return tag, nil
+ case "commit":
+ commit, err := gitlog.GetCommitCatfile(c, tagID)
+ if err != nil {
+ return nil, fmt.Errorf("getting commit catfile: %v", err)
+ }
+ tag.TargetCommit = commit
+ return tag, nil
+ default:
+ return tag, nil
+ }
+}
+
+func findTag(ctx context.Context, repository *gitalypb.Repository, tagName []byte) (*gitalypb.Tag, error) {
+ tagCmd, err := git.Command(ctx, repository, "tag", "-l", "--format", tagFormat, string(tagName))
+ if err != nil {
+ return nil, fmt.Errorf("for-each-ref error: %v", err)
+ }
+
+ c, err := catfile.New(ctx, repository)
+ if err != nil {
+ return nil, err
+ }
+
+ var tag *gitalypb.Tag
+
+ scanner := bufio.NewScanner(tagCmd)
+ if scanner.Scan() {
+ tag, err = parseTagLine(c, scanner.Text())
+ if err != nil {
+ return nil, err
+ }
+ } else {
+ return nil, errors.New("no tag found")
+ }
+
+ if err = tagCmd.Wait(); err != nil {
+ return nil, err
+ }
+
+ return tag, nil
+}
+
+func validateFindTagRequest(in *gitalypb.FindTagRequest) error {
+ if in.GetRepository() == nil {
+ return errors.New("repository is empty")
+ }
+
+ if _, err := helper.GetRepoPath(in.GetRepository()); err != nil {
+ return fmt.Errorf("invalid git directory: %v", err)
+ }
+
+ if in.GetTagName() == nil {
+ return errors.New("tag name is empty")
+ }
+ return nil
+}
diff --git a/internal/service/ref/refs_test.go b/internal/service/ref/refs_test.go
index 6108dfb85..f882f4d4c 100644
--- a/internal/service/ref/refs_test.go
+++ b/internal/service/ref/refs_test.go
@@ -1278,3 +1278,283 @@ func TestListBranchNamesContainingCommit(t *testing.T) {
})
}
}
+
+func TestSuccessfulFindTagRequest(t *testing.T) {
+ server, serverSocketPath := runRefServiceServer(t)
+ defer server.Stop()
+
+ testRepoCopy, testRepoCopyPath, cleanupFn := testhelper.NewTestRepoWithWorktree(t)
+ defer cleanupFn()
+
+ blobID := "faaf198af3a36dbf41961466703cc1d47c61d051"
+ commitID := "6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9"
+
+ gitCommit := &gitalypb.GitCommit{
+ Id: commitID,
+ Subject: []byte("More submodules"),
+ Body: []byte("More submodules\n\nSigned-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>\n"),
+ Author: &gitalypb.CommitAuthor{
+ Name: []byte("Dmitriy Zaporozhets"),
+ Email: []byte("dmitriy.zaporozhets@gmail.com"),
+ Date: &timestamp.Timestamp{Seconds: 1393491261},
+ },
+ Committer: &gitalypb.CommitAuthor{
+ Name: []byte("Dmitriy Zaporozhets"),
+ Email: []byte("dmitriy.zaporozhets@gmail.com"),
+ Date: &timestamp.Timestamp{Seconds: 1393491261},
+ },
+ ParentIds: []string{"d14d6c0abdd253381df51a723d58691b2ee1ab08"},
+ BodySize: 84,
+ }
+
+ ctx, cancel := testhelper.Context()
+ defer cancel()
+
+ bigCommitID := testhelper.CreateCommit(t, testRepoCopyPath, "local-big-commits", &testhelper.CreateCommitOpts{
+ Message: "An empty commit with REALLY BIG message\n\n" + strings.Repeat("a", helper.MaxCommitOrTagMessageSize+1),
+ ParentID: "60ecb67744cb56576c30214ff52294f8ce2def98",
+ })
+ bigCommit, err := log.GetCommit(ctx, testRepoCopy, bigCommitID)
+ require.NoError(t, err)
+
+ annotatedTagID := testhelper.CreateTag(t, testRepoCopyPath, "v1.2.0", blobID, &testhelper.CreateTagOpts{Message: "Blob tag"})
+
+ testhelper.CreateTag(t, testRepoCopyPath, "v1.3.0", commitID, nil)
+ testhelper.CreateTag(t, testRepoCopyPath, "v1.4.0", blobID, nil)
+
+ // To test recursive resolving to a commit
+ testhelper.CreateTag(t, testRepoCopyPath, "v1.5.0", "v1.3.0", nil)
+
+ // A tag to commit with a big message
+ testhelper.CreateTag(t, testRepoCopyPath, "v1.6.0", bigCommitID, nil)
+
+ // A tag with a big message
+ bigMessage := strings.Repeat("a", 11*1024)
+ bigMessageTag1ID := testhelper.CreateTag(t, testRepoCopyPath, "v1.7.0", commitID, &testhelper.CreateTagOpts{Message: bigMessage})
+
+ // A tag with a commit id as its name
+ commitTagID := testhelper.CreateTag(t, testRepoCopyPath, commitID, commitID, &testhelper.CreateTagOpts{Message: "commit tag with a commit sha as the name"})
+
+ // a tag of a tag
+ tagOfTagID := testhelper.CreateTag(t, testRepoCopyPath, "tag-of-tag", commitTagID, &testhelper.CreateTagOpts{Message: "tag of a tag"})
+
+ client, conn := newRefServiceClient(t, serverSocketPath)
+ defer conn.Close()
+
+ expectedTags := []*gitalypb.Tag{
+ {
+ Name: []byte(commitID),
+ Id: string(commitTagID),
+ TargetCommit: gitCommit,
+ Message: []byte("commit tag with a commit sha as the name"),
+ MessageSize: 40,
+ },
+ {
+ Name: []byte("tag-of-tag"),
+ Id: string(tagOfTagID),
+ TargetCommit: gitCommit,
+ Message: []byte("tag of a tag"),
+ MessageSize: 12,
+ },
+ {
+ Name: []byte("v1.0.0"),
+ Id: "f4e6814c3e4e7a0de82a9e7cd20c626cc963a2f8",
+ TargetCommit: gitCommit,
+ Message: []byte("Release"),
+ MessageSize: 7,
+ },
+ {
+ Name: []byte("v1.1.0"),
+ Id: "8a2a6eb295bb170b34c24c76c49ed0e9b2eaf34b",
+ TargetCommit: &gitalypb.GitCommit{
+ Id: "5937ac0a7beb003549fc5fd26fc247adbce4a52e",
+ Subject: []byte("Add submodule from gitlab.com"),
+ Body: []byte("Add submodule from gitlab.com\n\nSigned-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>\n"),
+ Author: &gitalypb.CommitAuthor{
+ Name: []byte("Dmitriy Zaporozhets"),
+ Email: []byte("dmitriy.zaporozhets@gmail.com"),
+ Date: &timestamp.Timestamp{Seconds: 1393491698},
+ },
+ Committer: &gitalypb.CommitAuthor{
+ Name: []byte("Dmitriy Zaporozhets"),
+ Email: []byte("dmitriy.zaporozhets@gmail.com"),
+ Date: &timestamp.Timestamp{Seconds: 1393491698},
+ },
+ ParentIds: []string{"570e7b2abdd848b95f2f578043fc23bd6f6fd24d"},
+ BodySize: 98,
+ },
+ Message: []byte("Version 1.1.0"),
+ MessageSize: 13,
+ },
+ {
+ Name: []byte("v1.2.0"),
+ Id: string(annotatedTagID),
+ Message: []byte("Blob tag"),
+ MessageSize: 8,
+ },
+ {
+ Name: []byte("v1.3.0"),
+ Id: string(commitID),
+ TargetCommit: gitCommit,
+ },
+ {
+ Name: []byte("v1.4.0"),
+ Id: string(blobID),
+ },
+ {
+ Name: []byte("v1.5.0"),
+ Id: string(commitID),
+ TargetCommit: gitCommit,
+ },
+ {
+ Name: []byte("v1.6.0"),
+ Id: string(bigCommitID),
+ TargetCommit: bigCommit,
+ },
+ {
+ Name: []byte("v1.7.0"),
+ Id: string(bigMessageTag1ID),
+ Message: []byte(bigMessage[:helper.MaxCommitOrTagMessageSize]),
+ MessageSize: int64(len(bigMessage)),
+ TargetCommit: gitCommit,
+ },
+ }
+
+ for _, expectedTag := range expectedTags {
+
+ rpcRequest := &gitalypb.FindTagRequest{Repository: testRepoCopy, TagName: expectedTag.Name}
+
+ resp, err := client.FindTag(ctx, rpcRequest)
+ require.NoError(t, err)
+
+ require.Equal(t, expectedTag, resp.GetTag())
+ }
+}
+
+func TestFindTagNestedTag(t *testing.T) {
+ server, serverSocketPath := runRefServiceServer(t)
+ defer server.Stop()
+
+ testRepoCopy, testRepoCopyPath, cleanupFn := testhelper.NewTestRepoWithWorktree(t)
+ defer cleanupFn()
+
+ blobID := "faaf198af3a36dbf41961466703cc1d47c61d051"
+ commitID := "6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9"
+
+ ctx, cancel := testhelper.Context()
+ defer cancel()
+
+ testCases := []struct {
+ description string
+ depth int
+ originalOid string
+ }{
+ {
+ description: "nested 1 deep, points to a commit",
+ depth: 1,
+ originalOid: commitID,
+ },
+ {
+ description: "nested 4 deep, points to a commit",
+ depth: 4,
+ originalOid: commitID,
+ },
+ {
+ description: "nested 3 deep, points to a blob",
+ depth: 3,
+ originalOid: blobID,
+ },
+ {
+ description: "nested 20 deep, points to a commit",
+ depth: 20,
+ originalOid: commitID,
+ },
+ }
+
+ for _, tc := range testCases {
+ client, conn := newRefServiceClient(t, serverSocketPath)
+ defer conn.Close()
+
+ t.Run(tc.description, func(t *testing.T) {
+ tags := bytes.NewReader(testhelper.MustRunCommand(t, nil, "git", "-C", testRepoCopyPath, "tag"))
+ testhelper.MustRunCommand(t, tags, "xargs", "git", "-C", testRepoCopyPath, "tag", "-d")
+
+ batch, err := catfile.New(ctx, testRepoCopy)
+ require.NoError(t, err)
+
+ info, err := batch.Info(tc.originalOid)
+ require.NoError(t, err)
+
+ tagID := tc.originalOid
+ var tagName, tagMessage string
+
+ for depth := 0; depth < tc.depth; depth++ {
+ tagName = fmt.Sprintf("tag-depth-%d", depth)
+ tagMessage = fmt.Sprintf("a commit %d deep", depth)
+ tagID = string(testhelper.CreateTag(t, testRepoCopyPath, tagName, tagID, &testhelper.CreateTagOpts{Message: tagMessage}))
+ }
+ expectedTag := &gitalypb.Tag{
+ Name: []byte(tagName),
+ Id: string(tagID),
+ Message: []byte(tagMessage),
+ MessageSize: int64(len([]byte(tagMessage))),
+ }
+ // only expect the TargetCommit to be populated if it is a commit and if its less than 10 tags deep
+ if info.Type == "commit" && tc.depth < log.MaxTagReferenceDepth {
+ commit, err := log.GetCommitCatfile(batch, tc.originalOid)
+ require.NoError(t, err)
+ expectedTag.TargetCommit = commit
+ }
+ rpcRequest := &gitalypb.FindTagRequest{Repository: testRepoCopy, TagName: []byte(tagName)}
+
+ resp, err := client.FindTag(ctx, rpcRequest)
+ require.NoError(t, err)
+ require.Equal(t, expectedTag, resp.GetTag())
+ })
+ }
+}
+
+func TestInvalidFindTagRequest(t *testing.T) {
+ server, serverSocketPath := runRefServiceServer(t)
+ defer server.Stop()
+
+ client, conn := newRefServiceClient(t, serverSocketPath)
+ defer conn.Close()
+
+ testRepo, _, cleanupFn := testhelper.NewTestRepo(t)
+ defer cleanupFn()
+
+ testCases := []struct {
+ desc string
+ request *gitalypb.FindTagRequest
+ }{
+ {
+ desc: "empty request",
+ request: &gitalypb.FindTagRequest{},
+ },
+ {
+ desc: "invalid repo",
+ request: &gitalypb.FindTagRequest{
+ Repository: &gitalypb.Repository{
+ StorageName: "fake",
+ RelativePath: "repo",
+ },
+ },
+ },
+ {
+ desc: "empty tag name",
+ request: &gitalypb.FindTagRequest{
+ Repository: testRepo,
+ },
+ },
+ }
+
+ for _, tc := range testCases {
+ t.Run(tc.desc, func(t *testing.T) {
+ ctx, cancel := context.WithCancel(context.Background())
+ defer cancel()
+ _, err := client.FindTag(ctx, tc.request)
+ testhelper.RequireGrpcError(t, err, codes.InvalidArgument)
+ })
+ }
+}
diff --git a/proto/go/gitalypb/ref.pb.go b/proto/go/gitalypb/ref.pb.go
index 3b74af8a7..85bf911c9 100644
--- a/proto/go/gitalypb/ref.pb.go
+++ b/proto/go/gitalypb/ref.pb.go
@@ -81,7 +81,7 @@ func (x CreateBranchResponse_Status) String() string {
}
func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{21, 0}
+ return fileDescriptor_65d958559ea81b29, []int{23, 0}
}
type ListNewBlobsRequest struct {
@@ -867,6 +867,92 @@ func (m *FindAllBranchesResponse_Branch) GetTarget() *GitCommit {
return nil
}
+type FindTagRequest struct {
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *FindTagRequest) Reset() { *m = FindTagRequest{} }
+func (m *FindTagRequest) String() string { return proto.CompactTextString(m) }
+func (*FindTagRequest) ProtoMessage() {}
+func (*FindTagRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_65d958559ea81b29, []int{16}
+}
+
+func (m *FindTagRequest) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_FindTagRequest.Unmarshal(m, b)
+}
+func (m *FindTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_FindTagRequest.Marshal(b, m, deterministic)
+}
+func (m *FindTagRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_FindTagRequest.Merge(m, src)
+}
+func (m *FindTagRequest) XXX_Size() int {
+ return xxx_messageInfo_FindTagRequest.Size(m)
+}
+func (m *FindTagRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_FindTagRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_FindTagRequest proto.InternalMessageInfo
+
+func (m *FindTagRequest) GetRepository() *Repository {
+ if m != nil {
+ return m.Repository
+ }
+ return nil
+}
+
+func (m *FindTagRequest) GetTagName() []byte {
+ if m != nil {
+ return m.TagName
+ }
+ return nil
+}
+
+type FindTagResponse struct {
+ Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *FindTagResponse) Reset() { *m = FindTagResponse{} }
+func (m *FindTagResponse) String() string { return proto.CompactTextString(m) }
+func (*FindTagResponse) ProtoMessage() {}
+func (*FindTagResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_65d958559ea81b29, []int{17}
+}
+
+func (m *FindTagResponse) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_FindTagResponse.Unmarshal(m, b)
+}
+func (m *FindTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_FindTagResponse.Marshal(b, m, deterministic)
+}
+func (m *FindTagResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_FindTagResponse.Merge(m, src)
+}
+func (m *FindTagResponse) XXX_Size() int {
+ return xxx_messageInfo_FindTagResponse.Size(m)
+}
+func (m *FindTagResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_FindTagResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_FindTagResponse proto.InternalMessageInfo
+
+func (m *FindTagResponse) GetTag() *Tag {
+ if m != nil {
+ return m.Tag
+ }
+ return nil
+}
+
type FindAllTagsRequest struct {
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@@ -878,7 +964,7 @@ func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} }
func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsRequest) ProtoMessage() {}
func (*FindAllTagsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{16}
+ return fileDescriptor_65d958559ea81b29, []int{18}
}
func (m *FindAllTagsRequest) XXX_Unmarshal(b []byte) error {
@@ -917,7 +1003,7 @@ func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} }
func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllTagsResponse) ProtoMessage() {}
func (*FindAllTagsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{17}
+ return fileDescriptor_65d958559ea81b29, []int{19}
}
func (m *FindAllTagsResponse) XXX_Unmarshal(b []byte) error {
@@ -958,7 +1044,7 @@ func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} }
func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) }
func (*RefExistsRequest) ProtoMessage() {}
func (*RefExistsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{18}
+ return fileDescriptor_65d958559ea81b29, []int{20}
}
func (m *RefExistsRequest) XXX_Unmarshal(b []byte) error {
@@ -1004,7 +1090,7 @@ func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} }
func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) }
func (*RefExistsResponse) ProtoMessage() {}
func (*RefExistsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{19}
+ return fileDescriptor_65d958559ea81b29, []int{21}
}
func (m *RefExistsResponse) XXX_Unmarshal(b []byte) error {
@@ -1045,7 +1131,7 @@ func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} }
func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) }
func (*CreateBranchRequest) ProtoMessage() {}
func (*CreateBranchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{20}
+ return fileDescriptor_65d958559ea81b29, []int{22}
}
func (m *CreateBranchRequest) XXX_Unmarshal(b []byte) error {
@@ -1099,7 +1185,7 @@ func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} }
func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) }
func (*CreateBranchResponse) ProtoMessage() {}
func (*CreateBranchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{21}
+ return fileDescriptor_65d958559ea81b29, []int{23}
}
func (m *CreateBranchResponse) XXX_Unmarshal(b []byte) error {
@@ -1146,7 +1232,7 @@ func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} }
func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchRequest) ProtoMessage() {}
func (*DeleteBranchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{22}
+ return fileDescriptor_65d958559ea81b29, []int{24}
}
func (m *DeleteBranchRequest) XXX_Unmarshal(b []byte) error {
@@ -1192,7 +1278,7 @@ func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} }
func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteBranchResponse) ProtoMessage() {}
func (*DeleteBranchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{23}
+ return fileDescriptor_65d958559ea81b29, []int{25}
}
func (m *DeleteBranchResponse) XXX_Unmarshal(b []byte) error {
@@ -1226,7 +1312,7 @@ func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} }
func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) }
func (*FindBranchRequest) ProtoMessage() {}
func (*FindBranchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{24}
+ return fileDescriptor_65d958559ea81b29, []int{26}
}
func (m *FindBranchRequest) XXX_Unmarshal(b []byte) error {
@@ -1272,7 +1358,7 @@ func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} }
func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) }
func (*FindBranchResponse) ProtoMessage() {}
func (*FindBranchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{25}
+ return fileDescriptor_65d958559ea81b29, []int{27}
}
func (m *FindBranchResponse) XXX_Unmarshal(b []byte) error {
@@ -1314,7 +1400,7 @@ func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} }
func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteRefsRequest) ProtoMessage() {}
func (*DeleteRefsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{26}
+ return fileDescriptor_65d958559ea81b29, []int{28}
}
func (m *DeleteRefsRequest) XXX_Unmarshal(b []byte) error {
@@ -1367,7 +1453,7 @@ func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} }
func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteRefsResponse) ProtoMessage() {}
func (*DeleteRefsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{27}
+ return fileDescriptor_65d958559ea81b29, []int{29}
}
func (m *DeleteRefsResponse) XXX_Unmarshal(b []byte) error {
@@ -1412,7 +1498,7 @@ func (m *ListBranchNamesContainingCommitRequest) Reset() {
func (m *ListBranchNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) }
func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {}
func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{28}
+ return fileDescriptor_65d958559ea81b29, []int{30}
}
func (m *ListBranchNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error {
@@ -1467,7 +1553,7 @@ func (m *ListBranchNamesContainingCommitResponse) Reset() {
func (m *ListBranchNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) }
func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {}
func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{29}
+ return fileDescriptor_65d958559ea81b29, []int{31}
}
func (m *ListBranchNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error {
@@ -1510,7 +1596,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 fileDescriptor_65d958559ea81b29, []int{30}
+ return fileDescriptor_65d958559ea81b29, []int{32}
}
func (m *ListTagNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error {
@@ -1563,7 +1649,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 fileDescriptor_65d958559ea81b29, []int{31}
+ return fileDescriptor_65d958559ea81b29, []int{33}
}
func (m *ListTagNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error {
@@ -1603,7 +1689,7 @@ func (m *GetTagMessagesRequest) Reset() { *m = GetTagMessagesRequest{} }
func (m *GetTagMessagesRequest) String() string { return proto.CompactTextString(m) }
func (*GetTagMessagesRequest) ProtoMessage() {}
func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{32}
+ return fileDescriptor_65d958559ea81b29, []int{34}
}
func (m *GetTagMessagesRequest) XXX_Unmarshal(b []byte) error {
@@ -1651,7 +1737,7 @@ func (m *GetTagMessagesResponse) Reset() { *m = GetTagMessagesResponse{}
func (m *GetTagMessagesResponse) String() string { return proto.CompactTextString(m) }
func (*GetTagMessagesResponse) ProtoMessage() {}
func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{33}
+ return fileDescriptor_65d958559ea81b29, []int{35}
}
func (m *GetTagMessagesResponse) XXX_Unmarshal(b []byte) error {
@@ -1698,7 +1784,7 @@ func (m *ListNewCommitsRequest) Reset() { *m = ListNewCommitsRequest{} }
func (m *ListNewCommitsRequest) String() string { return proto.CompactTextString(m) }
func (*ListNewCommitsRequest) ProtoMessage() {}
func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{34}
+ return fileDescriptor_65d958559ea81b29, []int{36}
}
func (m *ListNewCommitsRequest) XXX_Unmarshal(b []byte) error {
@@ -1744,7 +1830,7 @@ func (m *ListNewCommitsResponse) Reset() { *m = ListNewCommitsResponse{}
func (m *ListNewCommitsResponse) String() string { return proto.CompactTextString(m) }
func (*ListNewCommitsResponse) ProtoMessage() {}
func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{35}
+ return fileDescriptor_65d958559ea81b29, []int{37}
}
func (m *ListNewCommitsResponse) XXX_Unmarshal(b []byte) error {
@@ -1784,7 +1870,7 @@ func (m *FindAllRemoteBranchesRequest) Reset() { *m = FindAllRemoteBranc
func (m *FindAllRemoteBranchesRequest) String() string { return proto.CompactTextString(m) }
func (*FindAllRemoteBranchesRequest) ProtoMessage() {}
func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{36}
+ return fileDescriptor_65d958559ea81b29, []int{38}
}
func (m *FindAllRemoteBranchesRequest) XXX_Unmarshal(b []byte) error {
@@ -1830,7 +1916,7 @@ func (m *FindAllRemoteBranchesResponse) Reset() { *m = FindAllRemoteBran
func (m *FindAllRemoteBranchesResponse) String() string { return proto.CompactTextString(m) }
func (*FindAllRemoteBranchesResponse) ProtoMessage() {}
func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{37}
+ return fileDescriptor_65d958559ea81b29, []int{39}
}
func (m *FindAllRemoteBranchesResponse) XXX_Unmarshal(b []byte) error {
@@ -1870,7 +1956,7 @@ func (m *PackRefsRequest) Reset() { *m = PackRefsRequest{} }
func (m *PackRefsRequest) String() string { return proto.CompactTextString(m) }
func (*PackRefsRequest) ProtoMessage() {}
func (*PackRefsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{38}
+ return fileDescriptor_65d958559ea81b29, []int{40}
}
func (m *PackRefsRequest) XXX_Unmarshal(b []byte) error {
@@ -1915,7 +2001,7 @@ func (m *PackRefsResponse) Reset() { *m = PackRefsResponse{} }
func (m *PackRefsResponse) String() string { return proto.CompactTextString(m) }
func (*PackRefsResponse) ProtoMessage() {}
func (*PackRefsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_65d958559ea81b29, []int{39}
+ return fileDescriptor_65d958559ea81b29, []int{41}
}
func (m *PackRefsResponse) XXX_Unmarshal(b []byte) error {
@@ -1956,6 +2042,8 @@ func init() {
proto.RegisterType((*FindAllBranchesRequest)(nil), "gitaly.FindAllBranchesRequest")
proto.RegisterType((*FindAllBranchesResponse)(nil), "gitaly.FindAllBranchesResponse")
proto.RegisterType((*FindAllBranchesResponse_Branch)(nil), "gitaly.FindAllBranchesResponse.Branch")
+ proto.RegisterType((*FindTagRequest)(nil), "gitaly.FindTagRequest")
+ proto.RegisterType((*FindTagResponse)(nil), "gitaly.FindTagResponse")
proto.RegisterType((*FindAllTagsRequest)(nil), "gitaly.FindAllTagsRequest")
proto.RegisterType((*FindAllTagsResponse)(nil), "gitaly.FindAllTagsResponse")
proto.RegisterType((*RefExistsRequest)(nil), "gitaly.RefExistsRequest")
@@ -1985,110 +2073,113 @@ func init() {
func init() { proto.RegisterFile("ref.proto", fileDescriptor_65d958559ea81b29) }
var fileDescriptor_65d958559ea81b29 = []byte{
- // 1638 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5b, 0x73, 0xdb, 0xb8,
- 0x15, 0x0e, 0x65, 0x5b, 0x96, 0x8e, 0x14, 0x99, 0x86, 0x6f, 0x32, 0x9d, 0xc4, 0x0e, 0x72, 0x73,
- 0x9a, 0x54, 0x4e, 0x94, 0x69, 0x5f, 0xda, 0x99, 0x56, 0xb6, 0xd5, 0xc4, 0x8d, 0x23, 0xbb, 0x90,
- 0x9a, 0xa4, 0xb7, 0x61, 0x29, 0x09, 0xa2, 0xd9, 0x52, 0xa2, 0x42, 0x42, 0x71, 0x3c, 0xd3, 0xf6,
- 0xb1, 0x33, 0x9d, 0xee, 0x4c, 0xde, 0x76, 0xff, 0xc1, 0xfe, 0x8b, 0x7d, 0xde, 0x87, 0xfd, 0x47,
- 0xfb, 0xb4, 0x43, 0x00, 0x14, 0x49, 0x89, 0x92, 0x3d, 0xab, 0xcd, 0xee, 0x93, 0x04, 0xe0, 0x9c,
- 0xef, 0x5c, 0x70, 0x70, 0xf0, 0x81, 0x90, 0x75, 0x69, 0xa7, 0xd4, 0x77, 0x1d, 0xe6, 0xa0, 0x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, 0x23,
+ 0x6a, 0x49, 0x53, 0xe3, 0x6b, 0xaf, 0x01, 0x84, 0x5c, 0x2b, 0xc4, 0x1b, 0xa3, 0x82, 0x21, 0xde,
+ 0x38, 0x35, 0x8b, 0xc6, 0xf7, 0x51, 0x81, 0xed, 0x4b, 0x78, 0x0f, 0x2a, 0x05, 0x50, 0x57, 0x63,
+ 0x6c, 0xda, 0xde, 0x95, 0xf5, 0x93, 0x4a, 0xe5, 0x7f, 0x0a, 0xdc, 0x98, 0x46, 0x53, 0xd0, 0xa3,
+ 0x28, 0xfc, 0x25, 0xd4, 0x4a, 0x7b, 0x7c, 0x35, 0xe5, 0xa4, 0x40, 0xfe, 0x0a, 0x85, 0x38, 0xd9,
+ 0x40, 0x37, 0x87, 0xd7, 0x71, 0x12, 0xf7, 0xd1, 0x6e, 0x4d, 0x9a, 0x9e, 0x80, 0x1e, 0x67, 0x01,
+ 0x21, 0x7a, 0x22, 0x0f, 0x09, 0xd1, 0x93, 0xc9, 0x43, 0x1c, 0xfd, 0x35, 0xe4, 0xa3, 0x5f, 0xa5,
+ 0xc3, 0x62, 0x4e, 0xf8, 0x52, 0x1e, 0x16, 0x73, 0xd2, 0x87, 0xec, 0x38, 0xee, 0x0b, 0xc8, 0x04,
+ 0x17, 0x2a, 0x1a, 0xb6, 0x9a, 0x91, 0x4b, 0x5c, 0x2b, 0x8e, 0x4f, 0x8c, 0x15, 0xde, 0xfe, 0x93,
+ 0x3f, 0xfb, 0x5a, 0xb6, 0xd1, 0x2c, 0xb5, 0x9c, 0xee, 0x9e, 0xf8, 0xfb, 0x73, 0xc7, 0x35, 0xf7,
+ 0x84, 0xad, 0xf8, 0xdc, 0xbf, 0x67, 0x3a, 0x72, 0xdc, 0x6f, 0x36, 0xd3, 0x5c, 0xf4, 0xec, 0xbb,
+ 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x4b, 0x81, 0x9a, 0x3e, 0x18, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@@ -2112,6 +2203,7 @@ type RefServiceClient interface {
FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (RefService_FindLocalBranchesClient, error)
FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error)
FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error)
+ FindTag(ctx context.Context, in *FindTagRequest, opts ...grpc.CallOption) (*FindTagResponse, error)
FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error)
RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error)
CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error)
@@ -2313,6 +2405,15 @@ func (x *refServiceFindAllTagsClient) Recv() (*FindAllTagsResponse, error) {
return m, nil
}
+func (c *refServiceClient) FindTag(ctx context.Context, in *FindTagRequest, opts ...grpc.CallOption) (*FindTagResponse, error) {
+ out := new(FindTagResponse)
+ err := c.cc.Invoke(ctx, "/gitaly.RefService/FindTag", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *refServiceClient) FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error) {
stream, err := c.cc.NewStream(ctx, &_RefService_serviceDesc.Streams[5], "/gitaly.RefService/FindAllRemoteBranches", opts...)
if err != nil {
@@ -2570,6 +2671,7 @@ type RefServiceServer interface {
FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error
FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error
FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error
+ FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error)
FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error
RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error)
CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error)
@@ -2610,6 +2712,9 @@ func (*UnimplementedRefServiceServer) FindAllBranches(req *FindAllBranchesReques
func (*UnimplementedRefServiceServer) FindAllTags(req *FindAllTagsRequest, srv RefService_FindAllTagsServer) error {
return status.Errorf(codes.Unimplemented, "method FindAllTags not implemented")
}
+func (*UnimplementedRefServiceServer) FindTag(ctx context.Context, req *FindTagRequest) (*FindTagResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method FindTag not implemented")
+}
func (*UnimplementedRefServiceServer) FindAllRemoteBranches(req *FindAllRemoteBranchesRequest, srv RefService_FindAllRemoteBranchesServer) error {
return status.Errorf(codes.Unimplemented, "method FindAllRemoteBranches not implemented")
}
@@ -2792,6 +2897,24 @@ func (x *refServiceFindAllTagsServer) Send(m *FindAllTagsResponse) error {
return x.ServerStream.SendMsg(m)
}
+func _RefService_FindTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(FindTagRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(RefServiceServer).FindTag(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/gitaly.RefService/FindTag",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(RefServiceServer).FindTag(ctx, req.(*FindTagRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _RefService_FindAllRemoteBranches_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(FindAllRemoteBranchesRequest)
if err := stream.RecvMsg(m); err != nil {
@@ -3039,6 +3162,10 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
Handler: _RefService_FindRefName_Handler,
},
{
+ MethodName: "FindTag",
+ Handler: _RefService_FindTag_Handler,
+ },
+ {
MethodName: "RefExists",
Handler: _RefService_RefExists_Handler,
},
diff --git a/proto/ref.proto b/proto/ref.proto
index 7fccadcb9..37b5bd225 100644
--- a/proto/ref.proto
+++ b/proto/ref.proto
@@ -54,6 +54,12 @@ service RefService {
target_repository_field: "1"
};
}
+ rpc FindTag(FindTagRequest) returns (FindTagResponse) {
+ option (op_type) = {
+ op: ACCESSOR
+ target_repository_field: "1"
+ };
+ }
rpc FindAllRemoteBranches(FindAllRemoteBranchesRequest) returns (stream FindAllRemoteBranchesResponse) {
option (op_type) = {
op: ACCESSOR
@@ -227,6 +233,15 @@ message FindAllBranchesResponse {
repeated Branch branches = 1;
}
+message FindTagRequest {
+ Repository repository = 1;
+ bytes tag_name = 2;
+}
+
+message FindTagResponse {
+ Tag tag = 1;
+}
+
message FindAllTagsRequest {
Repository repository = 1;
}
diff --git a/ruby/proto/gitaly/ref_pb.rb b/ruby/proto/gitaly/ref_pb.rb
index 760d969e1..758e3a84f 100644
--- a/ruby/proto/gitaly/ref_pb.rb
+++ b/ruby/proto/gitaly/ref_pb.rb
@@ -77,6 +77,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :name, :bytes, 1
optional :target, :message, 2, "gitaly.GitCommit"
end
+ add_message "gitaly.FindTagRequest" do
+ optional :repository, :message, 1, "gitaly.Repository"
+ optional :tag_name, :bytes, 2
+ end
+ add_message "gitaly.FindTagResponse" do
+ optional :tag, :message, 1, "gitaly.Tag"
+ end
add_message "gitaly.FindAllTagsRequest" do
optional :repository, :message, 1, "gitaly.Repository"
end
@@ -191,6 +198,8 @@ module Gitaly
FindAllBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesRequest").msgclass
FindAllBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesResponse").msgclass
FindAllBranchesResponse::Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesResponse.Branch").msgclass
+ FindTagRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindTagRequest").msgclass
+ FindTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindTagResponse").msgclass
FindAllTagsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest").msgclass
FindAllTagsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsResponse").msgclass
RefExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RefExistsRequest").msgclass
diff --git a/ruby/proto/gitaly/ref_services_pb.rb b/ruby/proto/gitaly/ref_services_pb.rb
index 04ff21f8d..a74ef2d38 100644
--- a/ruby/proto/gitaly/ref_services_pb.rb
+++ b/ruby/proto/gitaly/ref_services_pb.rb
@@ -23,6 +23,7 @@ module Gitaly
rpc :FindLocalBranches, FindLocalBranchesRequest, stream(FindLocalBranchesResponse)
rpc :FindAllBranches, FindAllBranchesRequest, stream(FindAllBranchesResponse)
rpc :FindAllTags, FindAllTagsRequest, stream(FindAllTagsResponse)
+ rpc :FindTag, FindTagRequest, FindTagResponse
rpc :FindAllRemoteBranches, FindAllRemoteBranchesRequest, stream(FindAllRemoteBranchesResponse)
rpc :RefExists, RefExistsRequest, RefExistsResponse
rpc :CreateBranch, CreateBranchRequest, CreateBranchResponse