diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-07-12 12:28:54 +0300 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-07-13 11:09:48 +0300 |
commit | 175bfb8a4bbb96d0ea3ee7485a69ad1f6c38a5ea (patch) | |
tree | 8d710ab7e6108af8d8dc463e317a725d82355b32 | |
parent | da09ecb3a5ac4898ee6f963352c770c24416f79e (diff) |
CommitService.CommitStatscommit-service-commit-stats-impl
- Vendor proto 0.16.0
-rw-r--r-- | CHANGELOG.md | 4 | ||||
-rw-r--r-- | internal/service/commit/stats.go | 65 | ||||
-rw-r--r-- | internal/service/commit/stats_test.go | 68 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION | 2 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go | 9 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/commit.pb.go | 574 | ||||
-rw-r--r-- | vendor/vendor.json | 10 |
7 files changed, 680 insertions, 52 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d67b5cca..914fcaeee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Gitaly changelog +UNRELEASED + +- Implement CommitService.CommitStats + v0.18.0 - Add config to specify a git binary path diff --git a/internal/service/commit/stats.go b/internal/service/commit/stats.go index c4284b1c5..adc9d3bbd 100644 --- a/internal/service/commit/stats.go +++ b/internal/service/commit/stats.go @@ -1,12 +1,73 @@ package commit import ( + "bufio" + "fmt" + "regexp" + "strconv" + "strings" + "golang.org/x/net/context" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" pb "gitlab.com/gitlab-org/gitaly-proto/go" + "gitlab.com/gitlab-org/gitaly/internal/helper" +) + +var ( + commitRegex = regexp.MustCompile("([a-f0-9]{40})") ) -func (s server) CommitStats(ctx context.Context, in *pb.CommitStatsRequest) (*pb.CommitStatsResponse, error) { +func (server) CommitStats(ctx context.Context, in *pb.CommitStatsRequest) (*pb.CommitStatsResponse, error) { + repoPath, err := helper.GetRepoPath(in.GetRepository()) + if err != nil { + return nil, err + } + + if len(in.GetRevision()) == 0 { + return nil, grpc.Errorf(codes.InvalidArgument, "no revision given") + } + + // NOTE: append `^{commit}` so we only fetch the commit... + revision := fmt.Sprintf("%s^{commit}", in.GetRevision()) + cmd, err := helper.GitCommandReader("--git-dir", repoPath, "show", "--format='%H'", "--numstat", revision) + if err != nil { + return nil, grpc.Errorf(codes.Internal, err.Error()) + } + + resp := &pb.CommitStatsResponse{} + scanner := bufio.NewScanner(cmd) + for scanner.Scan() { + line := scanner.Text() + + // Don't try to match OID if it's already set + if len(resp.Oid) == 0 { + // Use Regex since we wanna be _really_ sure that this is a commit SHA + if matches := commitRegex.FindStringSubmatch(line); len(matches) >= 2 { + resp.Oid = matches[1] + } + // if OID isn't set, or just been set, continue + continue + } + if stats := strings.SplitN(line, "\t", 3); len(stats) == 3 { + var a, d int64 + a, err = strconv.ParseInt(stats[0], 10, 32) + if err != nil { + return nil, grpc.Errorf(codes.Internal, err.Error()) + } + d, err = strconv.ParseInt(stats[1], 10, 32) + if err != nil { + return nil, grpc.Errorf(codes.Internal, err.Error()) + } + resp.Additions += int32(a) + resp.Deletions += int32(d) + } + } + + if err = cmd.Wait(); err != nil { + return nil, grpc.Errorf(codes.Internal, err.Error()) + } - return nil, nil + return resp, nil } diff --git a/internal/service/commit/stats_test.go b/internal/service/commit/stats_test.go index 5fd0c88c5..9dec15dca 100644 --- a/internal/service/commit/stats_test.go +++ b/internal/service/commit/stats_test.go @@ -1 +1,69 @@ package commit + +import ( + "context" + "strings" + "testing" + + "google.golang.org/grpc/codes" + + pb "gitlab.com/gitlab-org/gitaly-proto/go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" +) + +func TestCommitStatsSuccess(t *testing.T) { + client := newCommitServiceClient(t) + + tests := []struct { + revision []byte + additions int32 + deletions int32 + oid string + }{ + {revision: []byte("v1.1.0"), additions: 4, deletions: 0, oid: "5937ac0a7beb003549fc5fd26fc247adbce4a52e"}, + {revision: []byte("048721d90c449b244b7b4c53a9186b04330174ec"), additions: 4, deletions: 0, oid: "048721d90c449b244b7b4c53a9186b04330174ec"}, + {revision: []byte("874797c3a73b60d2187ed6e2fcabd289ff75171e"), additions: 21, deletions: 23, oid: "874797c3a73b60d2187ed6e2fcabd289ff75171e"}, + {revision: []byte("66eceea"), additions: 1, deletions: 1, oid: "66eceea0db202bb39c4e445e8ca28689645366c5"}, + {revision: []byte("improve/awesome"), additions: 4, deletions: 0, oid: "5937ac0a7beb003549fc5fd26fc247adbce4a52e"}, + } + + for _, test := range tests { + t.Logf("test case: %q", test.revision) + c, err := client.CommitStats(context.Background(), &pb.CommitStatsRequest{Repository: testRepo, Revision: test.revision}) + if err != nil { + t.Fatal(err) + } + if len(test.oid) > 0 && strings.Compare(c.GetOid(), test.oid) != 0 { + t.Errorf("OID different: %q != %q", c.GetOid(), test.oid) + } + + if c.GetAdditions() != test.additions { + t.Errorf("invalid number of additions: %d != %d", c.GetAdditions(), test.additions) + } + if c.GetDeletions() != test.deletions { + t.Errorf("invalid number of deletions: %d != %d", c.GetDeletions(), test.deletions) + } + } +} + +func TestCommitStatsInvalidArguments(t *testing.T) { + client := newCommitServiceClient(t) + + tests := []struct { + desc string + revision []byte + repo *pb.Repository + code codes.Code + }{ + {desc: "nil repo", repo: nil, code: codes.InvalidArgument}, + {desc: "empty repo", repo: &pb.Repository{}, code: codes.InvalidArgument}, + {desc: "invalid storage", repo: &pb.Repository{StorageName: "foo"}, code: codes.InvalidArgument}, + {desc: "invalid revision", repo: testRepo, revision: []byte(""), code: codes.InvalidArgument}, + } + + for _, test := range tests { + t.Logf("testing %q", test.desc) + _, err := client.CommitStats(context.Background(), &pb.CommitStatsRequest{Repository: test.repo, Revision: test.revision}) + testhelper.AssertGrpcError(t, err, test.code, "") + } +} diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION index a803cc227..04a373efe 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION @@ -1 +1 @@ -0.14.0 +0.16.0 diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go index a2ce5b1c2..1bdb4e1e6 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go @@ -19,6 +19,8 @@ It is generated from these files: It has these top-level messages: GetBlobRequest GetBlobResponse + CommitStatsRequest + CommitStatsResponse CommitIsAncestorRequest CommitIsAncestorResponse TreeEntryRequest @@ -27,6 +29,13 @@ It has these top-level messages: CommitsBetweenResponse CountCommitsRequest CountCommitsResponse + TreeEntry + GetTreeEntriesRequest + GetTreeEntriesResponse + ListFilesRequest + ListFilesResponse + FindCommitRequest + FindCommitResponse CommitDiffRequest CommitDiffResponse CommitDeltaRequest diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/commit.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/commit.pb.go index bbce88fa7..cff48d667 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/commit.pb.go +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/commit.pb.go @@ -43,7 +43,88 @@ func (x TreeEntryResponse_ObjectType) String() string { return proto.EnumName(TreeEntryResponse_ObjectType_name, int32(x)) } func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor1, []int{3, 0} + return fileDescriptor1, []int{5, 0} +} + +type TreeEntry_EntryType int32 + +const ( + TreeEntry_BLOB TreeEntry_EntryType = 0 + TreeEntry_TREE TreeEntry_EntryType = 1 + TreeEntry_COMMIT TreeEntry_EntryType = 3 +) + +var TreeEntry_EntryType_name = map[int32]string{ + 0: "BLOB", + 1: "TREE", + 3: "COMMIT", +} +var TreeEntry_EntryType_value = map[string]int32{ + "BLOB": 0, + "TREE": 1, + "COMMIT": 3, +} + +func (x TreeEntry_EntryType) String() string { + return proto.EnumName(TreeEntry_EntryType_name, int32(x)) +} +func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{10, 0} } + +type CommitStatsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (m *CommitStatsRequest) Reset() { *m = CommitStatsRequest{} } +func (m *CommitStatsRequest) String() string { return proto.CompactTextString(m) } +func (*CommitStatsRequest) ProtoMessage() {} +func (*CommitStatsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} } + +func (m *CommitStatsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitStatsRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type CommitStatsResponse struct { + // OID is the commit. Empty means not found + Oid string `protobuf:"bytes,1,opt,name=oid" json:"oid,omitempty"` + Additions int32 `protobuf:"varint,2,opt,name=additions" json:"additions,omitempty"` + Deletions int32 `protobuf:"varint,3,opt,name=deletions" json:"deletions,omitempty"` +} + +func (m *CommitStatsResponse) Reset() { *m = CommitStatsResponse{} } +func (m *CommitStatsResponse) String() string { return proto.CompactTextString(m) } +func (*CommitStatsResponse) ProtoMessage() {} +func (*CommitStatsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} } + +func (m *CommitStatsResponse) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *CommitStatsResponse) GetAdditions() int32 { + if m != nil { + return m.Additions + } + return 0 +} + +func (m *CommitStatsResponse) GetDeletions() int32 { + if m != nil { + return m.Deletions + } + return 0 } type CommitIsAncestorRequest struct { @@ -55,7 +136,7 @@ type CommitIsAncestorRequest struct { func (m *CommitIsAncestorRequest) Reset() { *m = CommitIsAncestorRequest{} } func (m *CommitIsAncestorRequest) String() string { return proto.CompactTextString(m) } func (*CommitIsAncestorRequest) ProtoMessage() {} -func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} } +func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} } func (m *CommitIsAncestorRequest) GetRepository() *Repository { if m != nil { @@ -85,7 +166,7 @@ type CommitIsAncestorResponse struct { func (m *CommitIsAncestorResponse) Reset() { *m = CommitIsAncestorResponse{} } func (m *CommitIsAncestorResponse) String() string { return proto.CompactTextString(m) } func (*CommitIsAncestorResponse) ProtoMessage() {} -func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} } +func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} } func (m *CommitIsAncestorResponse) GetValue() bool { if m != nil { @@ -106,7 +187,7 @@ type TreeEntryRequest struct { func (m *TreeEntryRequest) Reset() { *m = TreeEntryRequest{} } func (m *TreeEntryRequest) String() string { return proto.CompactTextString(m) } func (*TreeEntryRequest) ProtoMessage() {} -func (*TreeEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} } +func (*TreeEntryRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} } func (m *TreeEntryRequest) GetRepository() *Repository { if m != nil { @@ -150,7 +231,7 @@ type TreeEntryResponse struct { func (m *TreeEntryResponse) Reset() { *m = TreeEntryResponse{} } func (m *TreeEntryResponse) String() string { return proto.CompactTextString(m) } func (*TreeEntryResponse) ProtoMessage() {} -func (*TreeEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} } +func (*TreeEntryResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} } func (m *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType { if m != nil { @@ -196,7 +277,7 @@ type CommitsBetweenRequest struct { func (m *CommitsBetweenRequest) Reset() { *m = CommitsBetweenRequest{} } func (m *CommitsBetweenRequest) String() string { return proto.CompactTextString(m) } func (*CommitsBetweenRequest) ProtoMessage() {} -func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} } +func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} } func (m *CommitsBetweenRequest) GetRepository() *Repository { if m != nil { @@ -226,7 +307,7 @@ type CommitsBetweenResponse struct { func (m *CommitsBetweenResponse) Reset() { *m = CommitsBetweenResponse{} } func (m *CommitsBetweenResponse) String() string { return proto.CompactTextString(m) } func (*CommitsBetweenResponse) ProtoMessage() {} -func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} } +func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} } func (m *CommitsBetweenResponse) GetCommits() []*GitCommit { if m != nil { @@ -243,7 +324,7 @@ type CountCommitsRequest struct { func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} } func (m *CountCommitsRequest) String() string { return proto.CompactTextString(m) } func (*CountCommitsRequest) ProtoMessage() {} -func (*CountCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} } +func (*CountCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} } func (m *CountCommitsRequest) GetRepository() *Repository { if m != nil { @@ -266,7 +347,7 @@ type CountCommitsResponse struct { func (m *CountCommitsResponse) Reset() { *m = CountCommitsResponse{} } func (m *CountCommitsResponse) String() string { return proto.CompactTextString(m) } func (*CountCommitsResponse) ProtoMessage() {} -func (*CountCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} } +func (*CountCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} } func (m *CountCommitsResponse) GetCount() int32 { if m != nil { @@ -275,7 +356,201 @@ func (m *CountCommitsResponse) GetCount() int32 { return 0 } +type TreeEntry struct { + // OID of the object this tree entry points to + Oid string `protobuf:"bytes,1,opt,name=oid" json:"oid,omitempty"` + // OID of the tree attached to commit_oid + RootOid string `protobuf:"bytes,2,opt,name=root_oid,json=rootOid" json:"root_oid,omitempty"` + // Path relative to repository root + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Type TreeEntry_EntryType `protobuf:"varint,4,opt,name=type,enum=gitaly.TreeEntry_EntryType" json:"type,omitempty"` + // File mode e.g. 0644 + Mode int32 `protobuf:"varint,5,opt,name=mode" json:"mode,omitempty"` + // The commit object via which this entry was retrieved + CommitOid string `protobuf:"bytes,6,opt,name=commit_oid,json=commitOid" json:"commit_oid,omitempty"` +} + +func (m *TreeEntry) Reset() { *m = TreeEntry{} } +func (m *TreeEntry) String() string { return proto.CompactTextString(m) } +func (*TreeEntry) ProtoMessage() {} +func (*TreeEntry) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{10} } + +func (m *TreeEntry) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *TreeEntry) GetRootOid() string { + if m != nil { + return m.RootOid + } + return "" +} + +func (m *TreeEntry) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *TreeEntry) GetType() TreeEntry_EntryType { + if m != nil { + return m.Type + } + return TreeEntry_BLOB +} + +func (m *TreeEntry) GetMode() int32 { + if m != nil { + return m.Mode + } + return 0 +} + +func (m *TreeEntry) GetCommitOid() string { + if m != nil { + return m.CommitOid + } + return "" +} + +type GetTreeEntriesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` +} + +func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} } +func (m *GetTreeEntriesRequest) String() string { return proto.CompactTextString(m) } +func (*GetTreeEntriesRequest) ProtoMessage() {} +func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11} } + +func (m *GetTreeEntriesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetTreeEntriesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *GetTreeEntriesRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type GetTreeEntriesResponse struct { + Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` +} + +func (m *GetTreeEntriesResponse) Reset() { *m = GetTreeEntriesResponse{} } +func (m *GetTreeEntriesResponse) String() string { return proto.CompactTextString(m) } +func (*GetTreeEntriesResponse) ProtoMessage() {} +func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} } + +func (m *GetTreeEntriesResponse) GetEntries() []*TreeEntry { + if m != nil { + return m.Entries + } + return nil +} + +type ListFilesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} } +func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) } +func (*ListFilesRequest) ProtoMessage() {} +func (*ListFilesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{13} } + +func (m *ListFilesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListFilesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +// A single 'page' of the paginated response +type ListFilesResponse struct { + // Remember to force encoding utf-8 on the client side + Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` +} + +func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} } +func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) } +func (*ListFilesResponse) ProtoMessage() {} +func (*ListFilesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{14} } + +func (m *ListFilesResponse) GetPaths() [][]byte { + if m != nil { + return m.Paths + } + return nil +} + +type FindCommitRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (m *FindCommitRequest) Reset() { *m = FindCommitRequest{} } +func (m *FindCommitRequest) String() string { return proto.CompactTextString(m) } +func (*FindCommitRequest) ProtoMessage() {} +func (*FindCommitRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{15} } + +func (m *FindCommitRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindCommitRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type FindCommitResponse struct { + // commit is nil when the commit was not found + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"` +} + +func (m *FindCommitResponse) Reset() { *m = FindCommitResponse{} } +func (m *FindCommitResponse) String() string { return proto.CompactTextString(m) } +func (*FindCommitResponse) ProtoMessage() {} +func (*FindCommitResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{16} } + +func (m *FindCommitResponse) GetCommit() *GitCommit { + if m != nil { + return m.Commit + } + return nil +} + func init() { + proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest") + proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse") proto.RegisterType((*CommitIsAncestorRequest)(nil), "gitaly.CommitIsAncestorRequest") proto.RegisterType((*CommitIsAncestorResponse)(nil), "gitaly.CommitIsAncestorResponse") proto.RegisterType((*TreeEntryRequest)(nil), "gitaly.TreeEntryRequest") @@ -284,7 +559,15 @@ func init() { proto.RegisterType((*CommitsBetweenResponse)(nil), "gitaly.CommitsBetweenResponse") proto.RegisterType((*CountCommitsRequest)(nil), "gitaly.CountCommitsRequest") proto.RegisterType((*CountCommitsResponse)(nil), "gitaly.CountCommitsResponse") + proto.RegisterType((*TreeEntry)(nil), "gitaly.TreeEntry") + proto.RegisterType((*GetTreeEntriesRequest)(nil), "gitaly.GetTreeEntriesRequest") + proto.RegisterType((*GetTreeEntriesResponse)(nil), "gitaly.GetTreeEntriesResponse") + proto.RegisterType((*ListFilesRequest)(nil), "gitaly.ListFilesRequest") + proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse") + proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest") + proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse") proto.RegisterEnum("gitaly.TreeEntryResponse_ObjectType", TreeEntryResponse_ObjectType_name, TreeEntryResponse_ObjectType_value) + proto.RegisterEnum("gitaly.TreeEntry_EntryType", TreeEntry_EntryType_name, TreeEntry_EntryType_value) } // Reference imports to suppress errors if they are not otherwise used. @@ -302,6 +585,10 @@ type CommitServiceClient interface { TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error) CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) + GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, 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) } type commitServiceClient struct { @@ -394,6 +681,88 @@ func (c *commitServiceClient) CountCommits(ctx context.Context, in *CountCommits return out, nil } +func (c *commitServiceClient) GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) { + stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[2], c.cc, "/gitaly.CommitService/GetTreeEntries", opts...) + if err != nil { + return nil, err + } + x := &commitServiceGetTreeEntriesClient{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_GetTreeEntriesClient interface { + Recv() (*GetTreeEntriesResponse, error) + grpc.ClientStream +} + +type commitServiceGetTreeEntriesClient struct { + grpc.ClientStream +} + +func (x *commitServiceGetTreeEntriesClient) Recv() (*GetTreeEntriesResponse, error) { + m := new(GetTreeEntriesResponse) + 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 := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[3], c.cc, "/gitaly.CommitService/ListFiles", opts...) + if err != nil { + return nil, err + } + x := &commitServiceListFilesClient{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_ListFilesClient interface { + Recv() (*ListFilesResponse, error) + grpc.ClientStream +} + +type commitServiceListFilesClient struct { + grpc.ClientStream +} + +func (x *commitServiceListFilesClient) Recv() (*ListFilesResponse, error) { + m := new(ListFilesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) { + out := new(FindCommitResponse) + err := grpc.Invoke(ctx, "/gitaly.CommitService/FindCommit", in, out, c.cc, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) { + out := new(CommitStatsResponse) + err := grpc.Invoke(ctx, "/gitaly.CommitService/CommitStats", in, out, c.cc, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // Server API for CommitService service type CommitServiceServer interface { @@ -401,6 +770,10 @@ type CommitServiceServer interface { TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error CommitsBetween(*CommitsBetweenRequest, CommitService_CommitsBetweenServer) error CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) + GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error + ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error + FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) + CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) } func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) { @@ -485,6 +858,84 @@ func _CommitService_CountCommits_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _CommitService_GetTreeEntries_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetTreeEntriesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).GetTreeEntries(m, &commitServiceGetTreeEntriesServer{stream}) +} + +type CommitService_GetTreeEntriesServer interface { + Send(*GetTreeEntriesResponse) error + grpc.ServerStream +} + +type commitServiceGetTreeEntriesServer struct { + grpc.ServerStream +} + +func (x *commitServiceGetTreeEntriesServer) Send(m *GetTreeEntriesResponse) 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 { + return err + } + return srv.(CommitServiceServer).ListFiles(m, &commitServiceListFilesServer{stream}) +} + +type CommitService_ListFilesServer interface { + Send(*ListFilesResponse) error + grpc.ServerStream +} + +type commitServiceListFilesServer struct { + grpc.ServerStream +} + +func (x *commitServiceListFilesServer) Send(m *ListFilesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_FindCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindCommitRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).FindCommit(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/FindCommit", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).FindCommit(ctx, req.(*FindCommitRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_CommitStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CommitStatsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).CommitStats(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/CommitStats", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).CommitStats(ctx, req.(*CommitStatsRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _CommitService_serviceDesc = grpc.ServiceDesc{ ServiceName: "gitaly.CommitService", HandlerType: (*CommitServiceServer)(nil), @@ -497,6 +948,14 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ MethodName: "CountCommits", Handler: _CommitService_CountCommits_Handler, }, + { + MethodName: "FindCommit", + Handler: _CommitService_FindCommit_Handler, + }, + { + MethodName: "CommitStats", + Handler: _CommitService_CommitStats_Handler, + }, }, Streams: []grpc.StreamDesc{ { @@ -509,6 +968,16 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ Handler: _CommitService_CommitsBetween_Handler, ServerStreams: true, }, + { + StreamName: "GetTreeEntries", + Handler: _CommitService_GetTreeEntries_Handler, + ServerStreams: true, + }, + { + StreamName: "ListFiles", + Handler: _CommitService_ListFiles_Handler, + ServerStreams: true, + }, }, Metadata: "commit.proto", } @@ -516,39 +985,56 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("commit.proto", fileDescriptor1) } var fileDescriptor1 = []byte{ - // 532 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x5b, 0x6b, 0x13, 0x41, - 0x14, 0xc7, 0xbb, 0xd9, 0xdc, 0x7a, 0x12, 0xc3, 0xf6, 0x58, 0x75, 0x1b, 0x2f, 0x0d, 0x83, 0x0f, - 0x01, 0x25, 0x94, 0x88, 0xe0, 0x6b, 0x13, 0x43, 0x09, 0x5a, 0x02, 0xd3, 0x80, 0x8f, 0xb2, 0xdd, - 0x1d, 0xcd, 0x48, 0xb2, 0xb3, 0xce, 0x4c, 0x22, 0xf1, 0x1b, 0x08, 0x7e, 0x38, 0xf1, 0x13, 0xc9, - 0xce, 0xec, 0xe6, 0xda, 0x3c, 0x15, 0xdf, 0xce, 0x6d, 0xce, 0xf9, 0x71, 0xce, 0x7f, 0x17, 0xea, - 0xa1, 0x98, 0xcd, 0xb8, 0xee, 0x24, 0x52, 0x68, 0x81, 0xe5, 0xaf, 0x5c, 0x07, 0xd3, 0x65, 0xb3, - 0xae, 0x26, 0x81, 0x64, 0x91, 0x8d, 0x92, 0x5f, 0x0e, 0x3c, 0xe9, 0x9b, 0xb2, 0xa1, 0xba, 0x8c, - 0x43, 0xa6, 0xb4, 0x90, 0x94, 0x7d, 0x9f, 0x33, 0xa5, 0xb1, 0x0b, 0x20, 0x59, 0x22, 0x14, 0xd7, - 0x42, 0x2e, 0x7d, 0xa7, 0xe5, 0xb4, 0x6b, 0x5d, 0xec, 0xd8, 0x36, 0x1d, 0xba, 0xca, 0xd0, 0x8d, - 0x2a, 0x3c, 0x87, 0x5a, 0x90, 0xb5, 0xf9, 0xcc, 0x23, 0xbf, 0xd0, 0x72, 0xda, 0xc7, 0x14, 0xf2, - 0xd0, 0x30, 0xc2, 0x33, 0xa8, 0x86, 0x13, 0x3e, 0x8d, 0xd2, 0xac, 0x6b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3f, 0x18, 0x8b, 0xef, 0xb3, 0x67, 0x84, 0xe2, 0x17, 0x29, 0x66, 0xd9, 0x8e, 0x8d, - 0x8d, 0x0d, 0x28, 0x68, 0x91, 0x6d, 0xb7, 0xa0, 0x05, 0x19, 0xc0, 0xe3, 0xdd, 0x81, 0xd9, 0x26, - 0x5f, 0x41, 0xc5, 0x4a, 0x5a, 0xf9, 0x4e, 0xcb, 0x6d, 0xd7, 0xba, 0x27, 0xf9, 0xb8, 0x2b, 0xae, - 0xed, 0x1b, 0x9a, 0x57, 0x10, 0x06, 0x0f, 0xfb, 0x62, 0x1e, 0x67, 0x71, 0xf5, 0x9f, 0xd4, 0x41, - 0x5e, 0xc3, 0xe9, 0xf6, 0x98, 0xb5, 0x60, 0xc3, 0x34, 0x6e, 0x46, 0x94, 0xa8, 0x75, 0xba, 0x7f, - 0x0a, 0xf0, 0xc0, 0x56, 0xde, 0x30, 0xb9, 0xe0, 0x21, 0xc3, 0x4f, 0xe0, 0xed, 0x8a, 0x1e, 0xcf, - 0x73, 0x9e, 0x03, 0x5f, 0x66, 0xb3, 0x75, 0xb8, 0xc0, 0x8e, 0x27, 0x47, 0xf8, 0x1e, 0x8e, 0x57, - 0x12, 0x43, 0xff, 0x0e, 0xd5, 0xd9, 0x56, 0x67, 0x07, 0xf5, 0x48, 0x8e, 0x2e, 0x1c, 0xbc, 0x81, - 0xc6, 0xf6, 0x31, 0xf0, 0xf9, 0xf6, 0xec, 0x1d, 0x55, 0x34, 0x5f, 0x1c, 0x4a, 0x6f, 0x34, 0xfd, - 0x00, 0xf5, 0xcd, 0x9d, 0xe1, 0xd3, 0xf5, 0x9b, 0xbd, 0x83, 0x35, 0x9f, 0xdd, 0x9d, 0xcc, 0xdb, - 0xdd, 0x96, 0xcd, 0x8f, 0xec, 0xcd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x64, 0xef, 0x2c, 0x85, - 0xee, 0x04, 0x00, 0x00, + // 807 bytes of a gzipped FileDescriptorProto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 0x9c, 0x53, 0x86, 0xb9, 0x3d, 0x96, 0x32, + 0xcc, 0xef, 0x02, 0xc9, 0xf0, 0x1c, 0x6a, 0x89, 0xf0, 0xd2, 0xe2, 0x2d, 0xeb, 0x3d, 0x2d, 0xde, + 0x8a, 0x4a, 0x65, 0x96, 0x01, 0x40, 0x2a, 0x17, 0x94, 0x04, 0xaf, 0xe8, 0xd4, 0xb2, 0xf2, 0x5c, + 0xc9, 0x09, 0xdf, 0x40, 0x3d, 0xf3, 0xc2, 0x41, 0xd6, 0x62, 0x85, 0xb3, 0x8f, 0x2b, 0x6b, 0x37, + 0xd7, 0x17, 0x67, 0xba, 0x2b, 0xcb, 0x87, 0xd9, 0x8b, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdc, + 0x23, 0x27, 0xce, 0xbe, 0x09, 0x00, 0x00, } diff --git a/vendor/vendor.json b/vendor/vendor.json index caa1cde00..24763180d 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -191,12 +191,12 @@ "revisionTime": "2017-01-30T11:31:45Z" }, { - "checksumSHA1": "bZU+ZZjRT7lLoaM5MzvG89s4Z64=", + "checksumSHA1": "ToClTp5HjbbeFQ0LvJXUa2H5wvA=", "path": "gitlab.com/gitlab-org/gitaly-proto/go", - "revision": "e73c809c669748d0f49e257a249c4c12b59f7968", - "revisionTime": "2017-07-07T12:10:40Z", - "version": "v0.14.0", - "versionExact": "v0.14.0" + "revision": "490d15f208d02957ec090c90c77609d080e0d7ea", + "revisionTime": "2017-07-12T20:59:10Z", + "version": "v0.16.0", + "versionExact": "v0.16.0" }, { "checksumSHA1": "GkeSZfXVbtAkBZOrswot19GJZqQ=", |