diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2017-08-08 12:00:27 +0300 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2017-08-11 14:21:12 +0300 |
commit | 37397ae3c1badae73b221ff51734943766925837 (patch) | |
tree | 314ebdba7bd1483ed4113e4b338b229748eac4c8 | |
parent | 84ebe7d4059d371810b002839662dba46b4ba6fc (diff) |
Add a middleware for handling Git object dir attributes
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | internal/helper/command.go | 10 | ||||
-rw-r--r-- | internal/middleware/objectdirhandler/objectdirhandler.go | 90 | ||||
-rw-r--r-- | internal/server/server.go | 3 | ||||
-rw-r--r-- | internal/service/commit/find_all_commits_test.go | 116 | ||||
-rw-r--r-- | internal/service/commit/isancestor_test.go | 89 | ||||
-rw-r--r-- | internal/service/commit/server.go | 4 | ||||
-rw-r--r-- | internal/service/commit/testhelper_test.go | 11 | ||||
-rw-r--r-- | internal/service/repository/server.go | 10 | ||||
-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 | 4 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/commit.pb.go | 354 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go | 120 | ||||
-rw-r--r-- | vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go | 68 | ||||
-rw-r--r-- | vendor/vendor.json | 10 |
15 files changed, 740 insertions, 156 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ffca5078c..a231b85ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Gitaly changelog +UNRELEASED + +- Add a middleware for handling Git object dir attributes + https://gitlab.com/gitlab-org/gitaly/merge_requests/273 + v0.29.0 - Use BUNDLE_PATH instead of --path for gitaly-ruby diff --git a/internal/helper/command.go b/internal/helper/command.go index f3c506f51..4d9107251 100644 --- a/internal/helper/command.go +++ b/internal/helper/command.go @@ -6,10 +6,13 @@ import ( "io" "os" "os/exec" + "strings" "syscall" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus" + "gitlab.com/gitlab-org/gitaly/internal/config" + "gitlab.com/gitlab-org/gitaly/internal/middleware/objectdirhandler" log "github.com/Sirupsen/logrus" ) @@ -62,6 +65,13 @@ func NewCommand(ctx context.Context, cmd *exec.Cmd, stdin io.Reader, stdout, std fmt.Sprintf("TZ=%s", os.Getenv("TZ")), } cmd.Env = append(cmd.Env, env...) + if dir, ok := objectdirhandler.ObjectDir(ctx); ok { + cmd.Env = append(cmd.Env, fmt.Sprintf("GIT_OBJECT_DIRECTORY=%s", dir)) + } + if dirs, ok := objectdirhandler.AltObjectDirs(ctx); ok { + dirsList := strings.Join(dirs, ":") + cmd.Env = append(cmd.Env, fmt.Sprintf("GIT_ALTERNATE_OBJECT_DIRECTORIES=%s", dirsList)) + } // Start the command in its own process group (nice for signalling) cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true} diff --git a/internal/middleware/objectdirhandler/objectdirhandler.go b/internal/middleware/objectdirhandler/objectdirhandler.go new file mode 100644 index 000000000..0eb40933e --- /dev/null +++ b/internal/middleware/objectdirhandler/objectdirhandler.go @@ -0,0 +1,90 @@ +package objectdirhandler + +import ( + "sync" + + pb "gitlab.com/gitlab-org/gitaly-proto/go" + + "golang.org/x/net/context" + "google.golang.org/grpc" +) + +type requestWithRepository interface { + GetRepository() *pb.Repository +} + +type ctxObjectDirMarker struct{} +type ctxAltObjectDirsMarker struct{} + +var ( + ctxObjectDirMarkerKey = &ctxObjectDirMarker{} + ctxAltObjectDirsMarkerKey = &ctxAltObjectDirsMarker{} +) + +type recvWrapper struct { + grpc.ServerStream + wrappedContext context.Context + wrapOnce sync.Once +} + +// Unary sets Git object dir attributes for unary RPCs +func Unary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) { + return handler(newContextWithDirValues(ctx, req), req) +} + +// Stream sets Git object dir attributes for streaming RPCs +func Stream(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error { + return handler(srv, &recvWrapper{ServerStream: stream, wrappedContext: stream.Context()}) +} + +// ObjectDir returns the value for Repository.GitObjectDirectory +func ObjectDir(ctx context.Context) (string, bool) { + dir1 := ctx.Value(ctxObjectDirMarkerKey) + if dir1 == nil { + return "", false + } + + dir2, ok := dir1.(string) + return dir2, ok +} + +// AltObjectDirs returns the value for Repository.GitAlternateObjectDirectories +func AltObjectDirs(ctx context.Context) ([]string, bool) { + dirs1 := ctx.Value(ctxAltObjectDirsMarkerKey) + if dirs1 == nil { + return nil, false + } + + dirs2, ok := dirs1.([]string) + return dirs2, ok +} + +func newContextWithDirValues(ctx context.Context, req interface{}) context.Context { + if repo, ok := req.(requestWithRepository); ok { + if dir := repo.GetRepository().GetGitObjectDirectory(); dir != "" { + ctx = context.WithValue(ctx, ctxObjectDirMarkerKey, dir) + } + + if dirs := repo.GetRepository().GetGitAlternateObjectDirectories(); len(dirs) > 0 { + ctx = context.WithValue(ctx, ctxAltObjectDirsMarkerKey, dirs) + } + } + + return ctx +} + +func (s *recvWrapper) RecvMsg(m interface{}) error { + if err := s.ServerStream.RecvMsg(m); err != nil { + return err + } + + s.wrapOnce.Do(func() { + s.wrappedContext = newContextWithDirValues(s.wrappedContext, m) + }) + + return nil +} + +func (s *recvWrapper) Context() context.Context { + return s.wrappedContext +} diff --git a/internal/server/server.go b/internal/server/server.go index 51da651cb..0abe6178e 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -5,6 +5,7 @@ import ( "gitlab.com/gitlab-org/gitaly/internal/helper/fieldextractors" "gitlab.com/gitlab-org/gitaly/internal/middleware/cancelhandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/objectdirhandler" "gitlab.com/gitlab-org/gitaly/internal/middleware/panichandler" "gitlab.com/gitlab-org/gitaly/internal/middleware/sentryhandler" "gitlab.com/gitlab-org/gitaly/internal/service" @@ -29,6 +30,7 @@ func New() *grpc.Server { server := grpc.NewServer( grpc.StreamInterceptor(grpc_middleware.ChainStreamServer( + objectdirhandler.Stream, grpc_ctxtags.StreamServerInterceptor(ctxTagOpts...), grpc_prometheus.StreamServerInterceptor, grpc_logrus.StreamServerInterceptor(logrusEntry), @@ -40,6 +42,7 @@ func New() *grpc.Server { panichandler.StreamPanicHandler, )), grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer( + objectdirhandler.Unary, grpc_ctxtags.UnaryServerInterceptor(ctxTagOpts...), grpc_prometheus.UnaryServerInterceptor, grpc_logrus.UnaryServerInterceptor(logrusEntry), diff --git a/internal/service/commit/find_all_commits_test.go b/internal/service/commit/find_all_commits_test.go index 7de97980f..c48759561 100644 --- a/internal/service/commit/find_all_commits_test.go +++ b/internal/service/commit/find_all_commits_test.go @@ -1,7 +1,11 @@ package commit import ( + "fmt" "io" + "os" + "os/exec" + "path" "testing" "gitlab.com/gitlab-org/gitaly/internal/service/ref" @@ -253,17 +257,7 @@ func TestSuccessfulFindAllCommitsRequest(t *testing.T) { t.Fatal(err) } - receivedCommits := []*pb.GitCommit{} - for { - resp, err := c.Recv() - if err == io.EOF { - break - } else if err != nil { - t.Fatal(err) - } - - receivedCommits = append(receivedCommits, resp.GetCommits()...) - } + receivedCommits := collectCommtsFromFindAllCommitsClient(t, c) require.Equal(t, len(testCase.expectedCommits), len(receivedCommits), "number of commits received") @@ -275,6 +269,89 @@ func TestSuccessfulFindAllCommitsRequest(t *testing.T) { } } +func TestSuccessfulFindAllCommitsRequestWithAltGitObjectDirs(t *testing.T) { + service, ruby, serverSocketPath := startTestServices(t) + defer stopTestServices(service, ruby) + + client := newCommitServiceClient(t, serverSocketPath) + + committerName := "Scrooge McDuck" + committerEmail := "scrooge@mcduck.com" + + storagePath := testhelper.GitlabTestStoragePath() + testRepoPath := path.Join(storagePath, testRepo.RelativePath) + testRepoCopyPath := path.Join(storagePath, "is-ancestor-alt-test-repo") + altObjectsPath := path.Join(testRepoCopyPath, ".git/alt-objects") + gitObjectEnv := []string{ + fmt.Sprintf("GIT_OBJECT_DIRECTORY=%s", altObjectsPath), + fmt.Sprintf("GIT_ALTERNATE_OBJECT_DIRECTORIES=%s", path.Join(testRepoCopyPath, ".git/objects")), + } + + testhelper.MustRunCommand(t, nil, "git", "clone", testRepoPath, testRepoCopyPath) + defer os.RemoveAll(testRepoCopyPath) + + if err := os.Mkdir(altObjectsPath, 0777); err != nil { + t.Fatal(err) + } + + cmd := exec.Command("git", "-C", testRepoCopyPath, + "-c", fmt.Sprintf("user.name=%s", committerName), + "-c", fmt.Sprintf("user.email=%s", committerEmail), + "commit", "--allow-empty", "-m", "An empty commit") + cmd.Env = gitObjectEnv + if _, err := cmd.Output(); err != nil { + stderr := err.(*exec.ExitError).Stderr // XXX + t.Fatalf("%s", stderr) + } + + cmd = exec.Command("git", "-C", testRepoCopyPath, "show", "--format=format:%H", "--no-patch", "HEAD") + cmd.Env = gitObjectEnv + currentHead, err := cmd.Output() + if err != nil { + t.Fatal(err) + } + + testCases := []struct { + desc string + altDirs []string + expectedCount int + }{ + { + desc: "present GIT_ALTERNATE_OBJECT_DIRECTORIES", + altDirs: []string{altObjectsPath}, + expectedCount: 1, + }, + { + desc: "empty GIT_ALTERNATE_OBJECT_DIRECTORIES", + altDirs: []string{}, + expectedCount: 0, + }, + } + + for _, testCase := range testCases { + t.Logf("test case: %q", testCase.desc) + + request := &pb.FindAllCommitsRequest{ + Repository: &pb.Repository{ + StorageName: testRepo.StorageName, + RelativePath: testRepo.RelativePath, + GitAlternateObjectDirectories: testCase.altDirs, + }, + Revision: currentHead, + MaxCount: 1, + } + + c, err := client.FindAllCommits(context.Background(), request) + if err != nil { + t.Fatal(err) + } + + receivedCommits := collectCommtsFromFindAllCommitsClient(t, c) + + require.Equal(t, testCase.expectedCount, len(receivedCommits), "number of commits received") + } +} + func TestFailedFindAllCommitsRequest(t *testing.T) { service, ruby, serverSocketPath := startTestServices(t) defer stopTestServices(service, ruby) @@ -313,6 +390,23 @@ func TestFailedFindAllCommitsRequest(t *testing.T) { } } +func collectCommtsFromFindAllCommitsClient(t *testing.T, c pb.CommitService_FindAllCommitsClient) []*pb.GitCommit { + receivedCommits := []*pb.GitCommit{} + + for { + resp, err := c.Recv() + if err == io.EOF { + break + } else if err != nil { + t.Fatal(err) + } + + receivedCommits = append(receivedCommits, resp.GetCommits()...) + } + + return receivedCommits +} + func drainFindAllCommitsResponse(c pb.CommitService_FindAllCommitsClient) error { var err error for err == nil { diff --git a/internal/service/commit/isancestor_test.go b/internal/service/commit/isancestor_test.go index f41c3d768..c61fb1511 100644 --- a/internal/service/commit/isancestor_test.go +++ b/internal/service/commit/isancestor_test.go @@ -1,8 +1,15 @@ package commit import ( + "fmt" + "os" + "os/exec" + "path" "testing" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + + "github.com/stretchr/testify/require" "golang.org/x/net/context" "google.golang.org/grpc" "google.golang.org/grpc/codes" @@ -156,3 +163,85 @@ func TestCommitIsAncestorSuccess(t *testing.T) { } } } + +func TestSuccessfulIsAncestorRequestWithAltGitObjectDirs(t *testing.T) { + service, ruby, serverSocketPath := startTestServices(t) + defer stopTestServices(service, ruby) + + client := newCommitServiceClient(t, serverSocketPath) + + committerName := "Scrooge McDuck" + committerEmail := "scrooge@mcduck.com" + + storagePath := testhelper.GitlabTestStoragePath() + testRepoPath := path.Join(storagePath, testRepo.RelativePath) + testRepoCopyPath := path.Join(storagePath, "is-ancestor-alt-test-repo") + altObjectsPath := path.Join(testRepoCopyPath, ".git/alt-objects") + gitObjectEnv := []string{ + fmt.Sprintf("GIT_OBJECT_DIRECTORY=%s", altObjectsPath), + fmt.Sprintf("GIT_ALTERNATE_OBJECT_DIRECTORIES=%s", path.Join(testRepoCopyPath, ".git/objects")), + } + + testhelper.MustRunCommand(t, nil, "git", "clone", testRepoPath, testRepoCopyPath) + defer os.RemoveAll(testRepoCopyPath) + + if err := os.Mkdir(altObjectsPath, 0777); err != nil { + t.Fatal(err) + } + + previousHead := testhelper.MustRunCommand(t, nil, "git", "-C", testRepoCopyPath, "show", "--format=format:%H", "--no-patch", "HEAD") + + cmd := exec.Command("git", "-C", testRepoCopyPath, + "-c", fmt.Sprintf("user.name=%s", committerName), + "-c", fmt.Sprintf("user.email=%s", committerEmail), + "commit", "--allow-empty", "-m", "An empty commit") + cmd.Env = gitObjectEnv + if _, err := cmd.Output(); err != nil { + stderr := err.(*exec.ExitError).Stderr // XXX + t.Fatalf("%s", stderr) + } + + cmd = exec.Command("git", "-C", testRepoCopyPath, "show", "--format=format:%H", "--no-patch", "HEAD") + cmd.Env = gitObjectEnv + currentHead, err := cmd.Output() + if err != nil { + t.Fatal(err) + } + + testCases := []struct { + desc string + altDirs []string + result bool + }{ + { + desc: "present GIT_ALTERNATE_OBJECT_DIRECTORIES", + altDirs: []string{altObjectsPath}, + result: true, + }, + { + desc: "empty GIT_ALTERNATE_OBJECT_DIRECTORIES", + altDirs: []string{}, + result: false, + }, + } + + for _, testCase := range testCases { + t.Logf("test case: %q", testCase.desc) + request := &pb.CommitIsAncestorRequest{ + Repository: &pb.Repository{ + StorageName: testRepo.StorageName, + RelativePath: testRepo.RelativePath, + GitAlternateObjectDirectories: testCase.altDirs, + }, + AncestorId: string(previousHead), + ChildId: string(currentHead), + } + + response, err := client.CommitIsAncestor(context.Background(), request) + if err != nil { + t.Fatal(err) + } + + require.Equal(t, testCase.result, response.Value) + } +} diff --git a/internal/service/commit/server.go b/internal/service/commit/server.go index d812e6da6..4476cd543 100644 --- a/internal/service/commit/server.go +++ b/internal/service/commit/server.go @@ -14,3 +14,7 @@ var defaultBranchName = ref.DefaultBranchName func NewServer() pb.CommitServiceServer { return &server{} } + +func (s *server) FindCommits(in *pb.FindCommitsRequest, stream pb.CommitService_FindCommitsServer) error { + return nil +} diff --git a/internal/service/commit/testhelper_test.go b/internal/service/commit/testhelper_test.go index 81d6690e2..52af1f05f 100644 --- a/internal/service/commit/testhelper_test.go +++ b/internal/service/commit/testhelper_test.go @@ -6,11 +6,13 @@ import ( "testing" "time" + "gitlab.com/gitlab-org/gitaly/internal/middleware/objectdirhandler" "gitlab.com/gitlab-org/gitaly/internal/rubyserver" "gitlab.com/gitlab-org/gitaly/internal/supervisor" "gitlab.com/gitlab-org/gitaly/internal/testhelper" "github.com/golang/protobuf/ptypes/timestamp" + "github.com/grpc-ecosystem/go-grpc-middleware" "google.golang.org/grpc" "google.golang.org/grpc/reflection" @@ -40,7 +42,14 @@ func stopTestServices(service *grpc.Server, ruby *supervisor.Process) { } func runCommitServiceServer(t *testing.T) (server *grpc.Server, serviceSocketPath string) { - server = grpc.NewServer() + server = grpc.NewServer( + grpc.StreamInterceptor(grpc_middleware.ChainStreamServer( + objectdirhandler.Stream, + )), + grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer( + objectdirhandler.Unary, + )), + ) serviceSocketPath = testhelper.GetTemporaryGitalySocketFileName() listener, err := net.Listen("unix", serviceSocketPath) diff --git a/internal/service/repository/server.go b/internal/service/repository/server.go index 7d7b29762..4de729c27 100644 --- a/internal/service/repository/server.go +++ b/internal/service/repository/server.go @@ -1,6 +1,10 @@ package repository -import pb "gitlab.com/gitlab-org/gitaly-proto/go" +import ( + pb "gitlab.com/gitlab-org/gitaly-proto/go" + + "golang.org/x/net/context" +) type server struct{} @@ -8,3 +12,7 @@ type server struct{} func NewServer() pb.RepositoryServiceServer { return &server{} } + +func (s *server) ApplyGitattributes(ctx context.Context, in *pb.ApplyGitattributesRequest) (*pb.ApplyGitattributesResponse, error) { + return nil, nil +} diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION index 4e8f395fa..1b58cc101 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION @@ -1 +1 @@ -0.26.0 +0.27.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 db8039fa8..3af45d2eb 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 @@ -38,6 +38,8 @@ It has these top-level messages: FindCommitResponse FindAllCommitsRequest FindAllCommitsResponse + FindCommitsRequest + FindCommitsResponse CommitLanguagesRequest CommitLanguagesResponse RawBlameRequest @@ -79,6 +81,8 @@ It has these top-level messages: GarbageCollectResponse RepositorySizeRequest RepositorySizeResponse + ApplyGitattributesRequest + ApplyGitattributesResponse Repository GitCommit CommitAuthor 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 075de750f..03a924880 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 @@ -665,6 +665,111 @@ func (m *FindAllCommitsResponse) GetCommits() []*GitCommit { return nil } +type FindCommitsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Limit int32 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"` + Offset int32 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"` + Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` + Follow bool `protobuf:"varint,6,opt,name=follow" json:"follow,omitempty"` + SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges" json:"skip_merges,omitempty"` + DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk" json:"disable_walk,omitempty"` + After *google_protobuf.Timestamp `protobuf:"bytes,9,opt,name=after" json:"after,omitempty"` + Before *google_protobuf.Timestamp `protobuf:"bytes,10,opt,name=before" json:"before,omitempty"` +} + +func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} } +func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) } +func (*FindCommitsRequest) ProtoMessage() {} +func (*FindCommitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} } + +func (m *FindCommitsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindCommitsRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *FindCommitsRequest) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *FindCommitsRequest) GetOffset() int32 { + if m != nil { + return m.Offset + } + return 0 +} + +func (m *FindCommitsRequest) GetPaths() [][]byte { + if m != nil { + return m.Paths + } + return nil +} + +func (m *FindCommitsRequest) GetFollow() bool { + if m != nil { + return m.Follow + } + return false +} + +func (m *FindCommitsRequest) GetSkipMerges() bool { + if m != nil { + return m.SkipMerges + } + return false +} + +func (m *FindCommitsRequest) GetDisableWalk() bool { + if m != nil { + return m.DisableWalk + } + return false +} + +func (m *FindCommitsRequest) GetAfter() *google_protobuf.Timestamp { + if m != nil { + return m.After + } + return nil +} + +func (m *FindCommitsRequest) GetBefore() *google_protobuf.Timestamp { + if m != nil { + return m.Before + } + return nil +} + +// A single 'page' of the result set +type FindCommitsResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"` +} + +func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} } +func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) } +func (*FindCommitsResponse) ProtoMessage() {} +func (*FindCommitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{20} } + +func (m *FindCommitsResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + type CommitLanguagesRequest struct { Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"` Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` @@ -673,7 +778,7 @@ type CommitLanguagesRequest struct { func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} } func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) } func (*CommitLanguagesRequest) ProtoMessage() {} -func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{19} } +func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{21} } func (m *CommitLanguagesRequest) GetRepository() *Repository { if m != nil { @@ -696,7 +801,7 @@ type CommitLanguagesResponse struct { func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} } func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) } func (*CommitLanguagesResponse) ProtoMessage() {} -func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{20} } +func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{22} } func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { if m != nil { @@ -715,7 +820,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 fileDescriptor1, []int{20, 0} + return fileDescriptor1, []int{22, 0} } func (m *CommitLanguagesResponse_Language) GetName() string { @@ -748,7 +853,7 @@ type RawBlameRequest struct { func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} } func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) } func (*RawBlameRequest) ProtoMessage() {} -func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{21} } +func (*RawBlameRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{23} } func (m *RawBlameRequest) GetRepository() *Repository { if m != nil { @@ -778,7 +883,7 @@ type RawBlameResponse struct { func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} } func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) } func (*RawBlameResponse) ProtoMessage() {} -func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{22} } +func (*RawBlameResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{24} } func (m *RawBlameResponse) GetData() []byte { if m != nil { @@ -796,7 +901,7 @@ type LastCommitForPathRequest struct { func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathRequest{} } func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) } func (*LastCommitForPathRequest) ProtoMessage() {} -func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{23} } +func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{25} } func (m *LastCommitForPathRequest) GetRepository() *Repository { if m != nil { @@ -827,7 +932,7 @@ type LastCommitForPathResponse struct { func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResponse{} } func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) } func (*LastCommitForPathResponse) ProtoMessage() {} -func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{24} } +func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{26} } func (m *LastCommitForPathResponse) GetCommit() *GitCommit { if m != nil { @@ -848,7 +953,7 @@ type CommitsByMessageRequest struct { func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest{} } func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) } func (*CommitsByMessageRequest) ProtoMessage() {} -func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{25} } +func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{27} } func (m *CommitsByMessageRequest) GetRepository() *Repository { if m != nil { @@ -900,7 +1005,7 @@ type CommitsByMessageResponse struct { func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageResponse{} } func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) } func (*CommitsByMessageResponse) ProtoMessage() {} -func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{26} } +func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{28} } func (m *CommitsByMessageResponse) GetCommits() []*GitCommit { if m != nil { @@ -929,6 +1034,8 @@ func init() { proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse") proto.RegisterType((*FindAllCommitsRequest)(nil), "gitaly.FindAllCommitsRequest") proto.RegisterType((*FindAllCommitsResponse)(nil), "gitaly.FindAllCommitsResponse") + proto.RegisterType((*FindCommitsRequest)(nil), "gitaly.FindCommitsRequest") + proto.RegisterType((*FindCommitsResponse)(nil), "gitaly.FindCommitsResponse") proto.RegisterType((*CommitLanguagesRequest)(nil), "gitaly.CommitLanguagesRequest") proto.RegisterType((*CommitLanguagesResponse)(nil), "gitaly.CommitLanguagesResponse") proto.RegisterType((*CommitLanguagesResponse_Language)(nil), "gitaly.CommitLanguagesResponse.Language") @@ -964,6 +1071,7 @@ type CommitServiceClient interface { CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) // Use a stream to paginate the result set FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) + FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) @@ -1174,6 +1282,38 @@ func (x *commitServiceFindAllCommitsClient) Recv() (*FindAllCommitsResponse, err return m, nil } +func (c *commitServiceClient) FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) { + stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[5], c.cc, "/gitaly.CommitService/FindCommits", opts...) + if err != nil { + return nil, err + } + x := &commitServiceFindCommitsClient{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_FindCommitsClient interface { + Recv() (*FindCommitsResponse, error) + grpc.ClientStream +} + +type commitServiceFindCommitsClient struct { + grpc.ClientStream +} + +func (x *commitServiceFindCommitsClient) Recv() (*FindCommitsResponse, error) { + m := new(FindCommitsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + func (c *commitServiceClient) CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) { out := new(CommitLanguagesResponse) err := grpc.Invoke(ctx, "/gitaly.CommitService/CommitLanguages", in, out, c.cc, opts...) @@ -1184,7 +1324,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 := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[5], c.cc, "/gitaly.CommitService/RawBlame", opts...) + stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[6], c.cc, "/gitaly.CommitService/RawBlame", opts...) if err != nil { return nil, err } @@ -1225,7 +1365,7 @@ func (c *commitServiceClient) LastCommitForPath(ctx context.Context, in *LastCom } func (c *commitServiceClient) CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) { - stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[6], c.cc, "/gitaly.CommitService/CommitsByMessage", opts...) + stream, err := grpc.NewClientStream(ctx, &_CommitService_serviceDesc.Streams[7], c.cc, "/gitaly.CommitService/CommitsByMessage", opts...) if err != nil { return nil, err } @@ -1269,6 +1409,7 @@ type CommitServiceServer interface { CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) // Use a stream to paginate the result set FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error + FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) @@ -1456,6 +1597,27 @@ func (x *commitServiceFindAllCommitsServer) Send(m *FindAllCommitsResponse) erro return x.ServerStream.SendMsg(m) } +func _CommitService_FindCommits_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindCommitsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).FindCommits(m, &commitServiceFindCommitsServer{stream}) +} + +type CommitService_FindCommitsServer interface { + Send(*FindCommitsResponse) error + grpc.ServerStream +} + +type commitServiceFindCommitsServer struct { + grpc.ServerStream +} + +func (x *commitServiceFindCommitsServer) Send(m *FindCommitsResponse) error { + return x.ServerStream.SendMsg(m) +} + func _CommitService_CommitLanguages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CommitLanguagesRequest) if err := dec(in); err != nil { @@ -1590,6 +1752,11 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ ServerStreams: true, }, { + StreamName: "FindCommits", + Handler: _CommitService_FindCommits_Handler, + ServerStreams: true, + }, + { StreamName: "RawBlame", Handler: _CommitService_RawBlame_Handler, ServerStreams: true, @@ -1606,83 +1773,90 @@ var _CommitService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("commit.proto", fileDescriptor1) } var fileDescriptor1 = []byte{ - // 1238 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xdd, 0x6e, 0x1b, 0x45, - 0x14, 0xce, 0xfa, 0x2f, 0xf6, 0x89, 0x49, 0x9d, 0xa1, 0x69, 0x9d, 0x4d, 0xdb, 0x84, 0xe1, 0x47, - 0xa9, 0x8a, 0x9c, 0xc8, 0x08, 0x09, 0xae, 0x50, 0xd2, 0x38, 0x21, 0x90, 0xd4, 0xd5, 0xc4, 0x12, - 0x82, 0x9b, 0x68, 0xe3, 0x1d, 0x27, 0x03, 0x6b, 0x8f, 0xbb, 0x3b, 0x4e, 0x6b, 0x90, 0xb8, 0x47, - 0xe2, 0x25, 0x78, 0x00, 0x1e, 0x82, 0x57, 0xe0, 0x1e, 0xf1, 0x1e, 0x5c, 0xa1, 0xf9, 0xdb, 0x5d, - 0xdb, 0xeb, 0x22, 0x5a, 0x39, 0x37, 0xd6, 0x9c, 0x99, 0xb3, 0x73, 0xbe, 0x99, 0xf9, 0xce, 0x77, - 0x8e, 0xa1, 0xda, 0xe5, 0xfd, 0x3e, 0x13, 0x8d, 0x61, 0xc8, 0x05, 0x47, 0xa5, 0x2b, 0x26, 0xbc, - 0x60, 0xec, 0x56, 0xa3, 0x6b, 0x2f, 0xa4, 0xbe, 0x9e, 0x75, 0xb7, 0xae, 0x38, 0xbf, 0x0a, 0xe8, - 0xae, 0xb2, 0x2e, 0x47, 0xbd, 0x5d, 0xc1, 0xfa, 0x34, 0x12, 0x5e, 0x7f, 0xa8, 0x1d, 0xb0, 0x0f, - 0xe8, 0xa9, 0xda, 0xe6, 0x5c, 0x78, 0x22, 0x22, 0xf4, 0xc5, 0x88, 0x46, 0x02, 0x35, 0x01, 0x42, - 0x3a, 0xe4, 0x11, 0x13, 0x3c, 0x1c, 0xd7, 0x9d, 0x6d, 0x67, 0x67, 0xa5, 0x89, 0x1a, 0x3a, 0x42, - 0x83, 0xc4, 0x2b, 0x24, 0xe5, 0x85, 0x5c, 0x28, 0x87, 0xf4, 0x86, 0x45, 0x8c, 0x0f, 0xea, 0xb9, - 0x6d, 0x67, 0xa7, 0x4a, 0x62, 0x1b, 0x77, 0xe1, 0xdd, 0x89, 0x28, 0xd1, 0x90, 0x0f, 0x22, 0x8a, - 0x6a, 0x90, 0xe7, 0xcc, 0x57, 0xfb, 0x57, 0x88, 0x1c, 0xa2, 0x07, 0x50, 0xf1, 0x7c, 0x9f, 0x09, - 0xc6, 0x07, 0x91, 0xda, 0xa5, 0x48, 0x92, 0x09, 0xb9, 0xea, 0xd3, 0x80, 0xea, 0xd5, 0xbc, 0x5e, - 0x8d, 0x27, 0xf0, 0x2f, 0x0e, 0xdc, 0xd7, 0x51, 0x4e, 0xa2, 0xfd, 0x41, 0x97, 0x46, 0x82, 0x87, - 0x6f, 0x73, 0xa0, 0x2d, 0x58, 0xf1, 0xcc, 0x36, 0x17, 0xcc, 0x57, 0x68, 0x2a, 0x04, 0xec, 0xd4, - 0x89, 0x8f, 0x36, 0xa0, 0xdc, 0xbd, 0x66, 0x81, 0x2f, 0x57, 0xf3, 0x6a, 0x75, 0x59, 0xd9, 0x27, - 0x3e, 0xde, 0x83, 0xfa, 0x2c, 0x14, 0x73, 0xea, 0xbb, 0x50, 0xbc, 0xf1, 0x82, 0x11, 0x55, 0x30, - 0xca, 0x44, 0x1b, 0xf8, 0x57, 0x07, 0x6a, 0x9d, 0x90, 0xd2, 0xd6, 0x40, 0x84, 0xe3, 0x05, 0xbd, - 0x03, 0x42, 0x50, 0x18, 0x7a, 0xe2, 0x5a, 0xa1, 0xad, 0x12, 0x35, 0x96, 0x70, 0x02, 0xd6, 0x67, - 0xa2, 0x5e, 0xd8, 0x76, 0x76, 0xf2, 0x44, 0x1b, 0xf8, 0x4f, 0x07, 0xd6, 0x52, 0x70, 0x0c, 0xf4, - 0xcf, 0xa0, 0x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08, 0x0f, 0xa1, 0x12, 0x97, 0xd2, - 0xe4, 0xf2, 0xa6, 0x2b, 0x78, 0x72, 0x79, 0x33, 0x75, 0x57, 0xed, 0xd2, 0x02, 0x48, 0x0a, 0x20, - 0xda, 0x48, 0xd7, 0x88, 0x89, 0xca, 0xeb, 0xba, 0x59, 0x4b, 0xf1, 0x09, 0xbf, 0x84, 0x95, 0xd4, - 0xdf, 0x45, 0xe4, 0x4e, 0xde, 0x70, 0xfa, 0x9f, 0xaa, 0xbb, 0x99, 0xb9, 0x96, 0xbe, 0xab, 0xc9, - 0x9a, 0x92, 0xdc, 0x55, 0x66, 0xe1, 0x4a, 0xee, 0x2a, 0xbb, 0x14, 0xa9, 0x53, 0x76, 0xe0, 0xce, - 0x94, 0x84, 0xa3, 0x47, 0x73, 0xb5, 0x5d, 0x6f, 0xbb, 0xf5, 0x1f, 0xda, 0x8f, 0x97, 0xd0, 0x3e, - 0x94, 0xad, 0x4c, 0xa2, 0xfb, 0xb1, 0x24, 0x4c, 0xea, 0xb5, 0x5b, 0x9f, 0x5d, 0x48, 0x01, 0xfb, - 0x0e, 0xd6, 0x66, 0x14, 0x0c, 0xc5, 0xa9, 0x33, 0x4f, 0x5c, 0xdd, 0xf7, 0x5e, 0xe3, 0x11, 0xc3, - 0xfb, 0xd6, 0xa6, 0x6d, 0xa2, 0x08, 0xd3, 0x69, 0x3b, 0x23, 0x77, 0xd3, 0x69, 0x3b, 0x2b, 0x26, - 0x12, 0xf6, 0x65, 0x49, 0xfd, 0x59, 0xf8, 0xe4, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbf, 0x79, - 0x53, 0xae, 0xd1, 0x10, 0x00, 0x00, + // 1353 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0x36, 0xf5, 0x67, 0x69, 0xa4, 0x3a, 0xf2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, 0x6c, 0xa6, 0xd8, 0x10, 0xc5, 0x65, 0xb8, 0x8c, 0xa8, 0xcd, 0xbb, + 0x6f, 0xb1, 0x88, 0xe1, 0x7d, 0x1b, 0x51, 0x80, 0x66, 0x97, 0x45, 0x0a, 0x48, 0x51, 0xe7, 0x22, + 0x05, 0xa4, 0x89, 0x89, 0xc3, 0xee, 0x97, 0x44, 0x77, 0xf1, 0xd9, 0xbf, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x72, 0x55, 0x08, 0x55, 0xce, 0x12, 0x00, 0x00, } diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go index 39228adad..76f337f10 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go @@ -170,6 +170,38 @@ func (m *RepositorySizeResponse) GetSize() int64 { return 0 } +type ApplyGitattributesRequest 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 *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} } +func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) } +func (*ApplyGitattributesRequest) ProtoMessage() {} +func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{10} } + +func (m *ApplyGitattributesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ApplyGitattributesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type ApplyGitattributesResponse struct { +} + +func (m *ApplyGitattributesResponse) Reset() { *m = ApplyGitattributesResponse{} } +func (m *ApplyGitattributesResponse) String() string { return proto.CompactTextString(m) } +func (*ApplyGitattributesResponse) ProtoMessage() {} +func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{11} } + func init() { proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest") proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse") @@ -181,6 +213,8 @@ func init() { proto.RegisterType((*GarbageCollectResponse)(nil), "gitaly.GarbageCollectResponse") proto.RegisterType((*RepositorySizeRequest)(nil), "gitaly.RepositorySizeRequest") proto.RegisterType((*RepositorySizeResponse)(nil), "gitaly.RepositorySizeResponse") + proto.RegisterType((*ApplyGitattributesRequest)(nil), "gitaly.ApplyGitattributesRequest") + proto.RegisterType((*ApplyGitattributesResponse)(nil), "gitaly.ApplyGitattributesResponse") } // Reference imports to suppress errors if they are not otherwise used. @@ -199,6 +233,7 @@ type RepositoryServiceClient interface { RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) + ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) // Deprecated, use the RepositoryExists RPC instead. Exists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) } @@ -256,6 +291,15 @@ func (c *repositoryServiceClient) RepositorySize(ctx context.Context, in *Reposi return out, nil } +func (c *repositoryServiceClient) ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) { + out := new(ApplyGitattributesResponse) + err := grpc.Invoke(ctx, "/gitaly.RepositoryService/ApplyGitattributes", in, out, c.cc, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *repositoryServiceClient) Exists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) { out := new(RepositoryExistsResponse) err := grpc.Invoke(ctx, "/gitaly.RepositoryService/Exists", in, out, c.cc, opts...) @@ -273,6 +317,7 @@ type RepositoryServiceServer interface { RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) + ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) // Deprecated, use the RepositoryExists RPC instead. Exists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) } @@ -371,6 +416,24 @@ func _RepositoryService_RepositorySize_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _RepositoryService_ApplyGitattributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ApplyGitattributesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/ApplyGitattributes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, req.(*ApplyGitattributesRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _RepositoryService_Exists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RepositoryExistsRequest) if err := dec(in); err != nil { @@ -414,6 +477,10 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ Handler: _RepositoryService_RepositorySize_Handler, }, { + MethodName: "ApplyGitattributes", + Handler: _RepositoryService_ApplyGitattributes_Handler, + }, + { MethodName: "Exists", Handler: _RepositoryService_Exists_Handler, }, @@ -425,29 +492,32 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("repository-service.proto", fileDescriptor6) } var fileDescriptor6 = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x41, 0x4f, 0xfa, 0x40, - 0x10, 0xc5, 0xe1, 0xff, 0x27, 0x8d, 0x19, 0xd1, 0xe8, 0x44, 0xb0, 0xd4, 0xa8, 0x58, 0x2f, 0x1e, - 0x94, 0x43, 0xfd, 0x06, 0x1a, 0x34, 0xc6, 0x60, 0x62, 0x3d, 0x98, 0x78, 0x31, 0x4b, 0x9d, 0xe0, - 0xc6, 0x42, 0xeb, 0xee, 0x62, 0x84, 0xb3, 0x1f, 0xdc, 0x64, 0x5b, 0x68, 0x0b, 0x8b, 0x97, 0xea, - 0xad, 0x9d, 0x9d, 0xf9, 0xcd, 0xdb, 0xbe, 0x97, 0x82, 0x2d, 0x28, 0x8e, 0x24, 0x57, 0x91, 0x98, - 0x9c, 0x49, 0x12, 0x1f, 0x3c, 0xa0, 0x4e, 0x2c, 0x22, 0x15, 0xa1, 0x35, 0xe0, 0x8a, 0x85, 0x13, - 0xa7, 0x2e, 0x5f, 0x99, 0xa0, 0x97, 0xa4, 0xea, 0xf6, 0x60, 0xd7, 0x9f, 0x4f, 0x74, 0x3f, 0xb9, - 0x54, 0xd2, 0xa7, 0xf7, 0x31, 0x49, 0x85, 0x1e, 0x40, 0x06, 0xb3, 0xab, 0xed, 0xea, 0xc9, 0xba, - 0x87, 0x9d, 0x84, 0xd2, 0xc9, 0x86, 0xfc, 0x5c, 0x97, 0xeb, 0x81, 0xbd, 0x8c, 0x93, 0x71, 0x34, - 0x92, 0x84, 0x4d, 0xb0, 0x48, 0x57, 0x34, 0x6b, 0xcd, 0x4f, 0xdf, 0xdc, 0x3b, 0x3d, 0xc3, 0x82, - 0xb7, 0x9b, 0x51, 0x20, 0x68, 0x48, 0x23, 0xc5, 0xc2, 0x32, 0x1a, 0xf6, 0xa0, 0x65, 0xe0, 0x25,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00, 0x00, 0xff, 0xff, 0x32, 0x7f, 0x2a, 0xc4, 0xba, 0x04, - 0x00, 0x00, + // 428 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x4d, 0xcf, 0xd2, 0x40, + 0x10, 0xc7, 0x41, 0x49, 0x43, 0x46, 0x34, 0x3a, 0x11, 0x2c, 0xeb, 0x1b, 0xae, 0x17, 0x0f, 0xca, + 0xa1, 0x7e, 0x02, 0x35, 0x48, 0x8c, 0xc1, 0xc4, 0x7a, 0x30, 0x31, 0x31, 0x66, 0x5b, 0x27, 0xb8, + 0xa1, 0xb4, 0x75, 0x77, 0x21, 0xc2, 0xd7, 0xf5, 0x8b, 0x3c, 0xc9, 0xb6, 0xf4, 0x05, 0x0a, 0x97, + 0x3e, 0xcf, 0x8d, 0x9d, 0x9d, 0xf9, 0xcd, 0x9f, 0xd9, 0xff, 0x14, 0x5c, 0x45, 0x69, 0xa2, 0xa5, + 0x49, 0xd4, 0xee, 0x8d, 0x26, 0xb5, 0x95, 0x21, 0x4d, 0x53, 0x95, 0x98, 0x04, 0x9d, 0xa5, 0x34, + 0x22, 0xda, 0xb1, 0x81, 0xfe, 0x23, 0x14, 0xfd, 0xce, 0xa2, 0x7c, 0x01, 0x8f, 0xfc, 0xa2, 0x62, + 0xf6, 0x4f, 0x6a, 0xa3, 0x7d, 0xfa, 0xbb, 0x21, 0x6d, 0xd0, 0x03, 0x28, 0x61, 0x6e, 0x77, 0xd2, + 0x7d, 0x75, 0xc7, 0xc3, 0x69, 0x46, 0x99, 0x96, 0x45, 0x7e, 0x25, 0x8b, 0x7b, 0xe0, 0x9e, 0xe2, + 0x74, 0x9a, 0xc4, 0x9a, 0x70, 0x04, 0x0e, 0xd9, 0x88, 0x65, 0xf5, 0xfd, 0xfc, 0xc4, 0xbf, 0xd8, + 0x1a, 0x11, 0xae, 0x3e, 0xc5, 0xa1, 0xa2, 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 0x1c, 0xd7, + 0x4b, 0x2a, 0xa6, 0x67, 0xac, 0xe9, 0xaa, 0xc0, 0x7c, 0x85, 0x7b, 0x75, 0xc7, 0xe0, 0xd3, 0x43, + 0x7e, 0xa3, 0x77, 0xd9, 0xb3, 0x73, 0xd7, 0x55, 0x64, 0xdd, 0x1d, 0x25, 0xb2, 0xd1, 0x82, 0x25, + 0xb2, 0xd9, 0x54, 0xbc, 0x83, 0x3f, 0x01, 0x4f, 0x5f, 0x15, 0x8b, 0x39, 0x9d, 0xb5, 0x17, 0xe3, + 0x97, 0x52, 0x0a, 0xfc, 0x02, 0x9c, 0x6b, 0x7c, 0xf6, 0xc0, 0xb1, 0x9f, 0xdc, 0xb7, 0x57, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x02, 0x6b, 0x94, 0x5f, 0xa4, 0x05, 0x00, 0x00, } diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go index 3df4fdc43..571490eb3 100644 --- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go +++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go @@ -16,6 +16,12 @@ var _ = math.Inf type Repository struct { StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName" json:"storage_name,omitempty"` RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath" json:"relative_path,omitempty"` + // Sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field. + // It influences the object storage directory the SHA1 directories are created underneath. + GitObjectDirectory string `protobuf:"bytes,4,opt,name=git_object_directory,json=gitObjectDirectory" json:"git_object_directory,omitempty"` + // Sets the GIT_ALTERNATE_OBJECT_DIRECTORIES envvar on git commands to the values of this field. + // It influences the list of Git object directories which can be used to search for Git objects. + GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,json=gitAlternateObjectDirectories" json:"git_alternate_object_directories,omitempty"` } func (m *Repository) Reset() { *m = Repository{} } @@ -37,6 +43,20 @@ func (m *Repository) GetRelativePath() string { return "" } +func (m *Repository) GetGitObjectDirectory() string { + if m != nil { + return m.GitObjectDirectory + } + return "" +} + +func (m *Repository) GetGitAlternateObjectDirectories() []string { + if m != nil { + return m.GitAlternateObjectDirectories + } + return nil +} + type GitCommit struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` @@ -151,26 +171,30 @@ func init() { func init() { proto.RegisterFile("shared.proto", fileDescriptor7) } var fileDescriptor7 = []byte{ - // 335 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xc1, 0x4a, 0xc3, 0x40, - 0x10, 0x25, 0x69, 0x1a, 0xcd, 0x34, 0x8a, 0x2c, 0x3d, 0x84, 0x82, 0x58, 0xe3, 0xa5, 0x07, 0x49, - 0xa1, 0x7e, 0x81, 0x88, 0x88, 0x1e, 0x44, 0x56, 0xef, 0x75, 0xd2, 0xac, 0xc9, 0x4a, 0xd2, 0x0d, - 0xbb, 0x93, 0x62, 0x7f, 0xd1, 0xaf, 0x92, 0xec, 0x36, 0xe8, 0xc9, 0xdb, 0xce, 0x9b, 0xf7, 0x66, - 0xe6, 0xed, 0x83, 0xd8, 0x54, 0xa8, 0x45, 0x91, 0xb5, 0x5a, 0x91, 0x62, 0x61, 0x29, 0x09, 0xeb, - 0xfd, 0xec, 0xa2, 0x54, 0xaa, 0xac, 0xc5, 0xd2, 0xa2, 0x79, 0xf7, 0xb1, 0x24, 0xd9, 0x08, 0x43, - 0xd8, 0xb4, 0x8e, 0x98, 0xbe, 0x03, 0x70, 0xd1, 0x2a, 0x23, 0x49, 0xe9, 0x3d, 0xbb, 0x84, 0xd8, - 0x90, 0xd2, 0x58, 0x8a, 0xf5, 0x16, 0x1b, 0x91, 0xf8,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xbd, 0x12, 0x52, 0x67, 0xfa, 0x99, 0x3b, 0xac, 0x3b, 0xb7, 0x68, 0xcc, 0x5d, 0x91, 0x87, 0x56, - 0x7d, 0xf3, 0x13, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x87, 0xe3, 0xb7, 0xfc, 0x01, 0x00, 0x00, + // 393 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x4d, 0x8f, 0xd3, 0x40, + 0x0c, 0x55, 0xba, 0x69, 0x21, 0x6e, 0x40, 0x68, 0xd4, 0x43, 0xb4, 0xd2, 0x8a, 0x12, 0x2e, 0x7b, + 0x40, 0x59, 0x54, 0x7e, 0xc1, 0x0a, 0xd0, 0x0a, 0x0e, 0x80, 0x02, 0xf7, 0xc8, 0x6d, 0x4c, 0x62, + 0x94, 0x74, 0xa2, 0x19, 0x67, 0x45, 0xff, 0x22, 0x7f, 0x81, 0x3f, 0x83, 0xe2, 0x69, 0xc4, 0xc7, + 0x81, 0x9b, 0xfd, 0xfc, 0x9e, 0xf3, 0x5e, 0xc6, 0x90, 0xfa, 0x16, 0x1d, 0xd5, 0xc5, 0xe0, 0xac, + 0x58, 0xb3, 0x6a, 0x58, 0xb0, 0x3b, 0x5d, 0x3e, 0x6d, 0xac, 0x6d, 0x3a, 0xba, 0x51, 0x74, 0x3f, + 0x7e, 0xbd, 0x11, 0xee, 0xc9, 0x0b, 0xf6, 0x43, 0x20, 0xe6, 0x3f, 0x23, 0x80, 0x92, 0x06, 0xeb, + 0x59, 0xac, 0x3b, 0x99, 0x67, 0x90, 0x7a, 0xb1, 0x0e, 0x1b, 0xaa, 0x8e, 0xd8, 0x53, 0xb6, 0xd8, + 0x46, 0xd7, 0x49, 0xb9, 0x3e, 0x63, 0x1f, 0xb0, 0x27, 0xf3, 0x1c, 0x1e, 0x39, 0xea, 0x50, 0xf8, + 0x9e, 0xaa, 0x01, 0xa5, 0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8, 0xdd, 0x39, 0x50, 0x68, 0x4c, 0x01, + 0x71, 0x8d, 0x42, 0x1a, 0x67, 0xbd, 0xbb, 0x2c, 0xc2, 0x51, 0x14, 0xf3, 0x51, 0x14, 0x5f, 0xe6, + 0xa3, 0x28, 0x95, 0x97, 0xe7, 0x00, 0x6f, 0xbf, 0xb3, 0x7c, 0x16, 0x94, 0xd1, 0x4f, 0x3b, 0xef, + 0xb1, 0x1b, 0xc3, 0x87, 0x96, 0x65, 0x68, 0xf6, 0x2b, 0x55, 0xbf, 0xfa, 0x15, 0x00, 0x00, 0xff, + 0xff, 0xe1, 0xc9, 0xfa, 0xcc, 0x78, 0x02, 0x00, 0x00, } diff --git a/vendor/vendor.json b/vendor/vendor.json index 3d5f2d000..11d1d7799 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -191,12 +191,12 @@ "revisionTime": "2017-01-30T11:31:45Z" }, { - "checksumSHA1": "SLg1biewmO4gJ6yNQAW7AkmXi8M=", + "checksumSHA1": "cXvIhsiTZLnnt0VZU8dul8/HxgE=", "path": "gitlab.com/gitlab-org/gitaly-proto/go", - "revision": "b4f2ed5e389a5f78de8b299f1a7c2a414f7e2094", - "revisionTime": "2017-08-04T11:04:02Z", - "version": "v0.26.0", - "versionExact": "v0.26.0" + "revision": "aa95274b97f7ed54f10e8988337dd880b4d045a3", + "revisionTime": "2017-08-09T16:49:28Z", + "version": "v0.27.0", + "versionExact": "v0.27.0" }, { "checksumSHA1": "Y+HGqEkYM15ir+J93MEaHdyFy0c=", |