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:
authorAhmad Sherif <ahmad.m.sherif@gmail.com>2017-11-16 19:14:01 +0300
committerAhmad Sherif <ahmad.m.sherif@gmail.com>2017-11-16 19:14:01 +0300
commit86bbd2cedfe2f184c055bdc0d69d0ab242579fbf (patch)
tree574efd4bf758c119bcf3343aa59b55c6d37de3b1
parent98bb1e426854440526e67cb74d6655d076137015 (diff)
parent728d7ecd58f4f6351d3e9e990084b558af36fbab (diff)
Merge branch '718-server-implementation-delete_all_refs_except' into 'master'
Server Implementation RefsService.DeleteRefs Closes #718 See merge request gitlab-org/gitaly!453
-rw-r--r--CHANGELOG.md2
-rw-r--r--internal/service/commit/find_commits_test.go22
-rw-r--r--internal/service/commit/isancestor_test.go17
-rw-r--r--internal/service/diff/raw_test.go16
-rw-r--r--internal/service/ref/delete_refs.go33
-rw-r--r--internal/service/ref/delete_refs_test.go102
-rw-r--r--internal/service/ref/refs_test.go17
-rw-r--r--internal/testhelper/testhelper.go34
-rw-r--r--ruby/Gemfile2
-rw-r--r--ruby/Gemfile.lock6
-rw-r--r--ruby/lib/gitaly_server/ref_service.rb10
-rw-r--r--vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION2
-rw-r--r--vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go2
-rw-r--r--vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go199
-rw-r--r--vendor/vendor.json10
15 files changed, 348 insertions, 126 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 021f22649..6bde13570 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
UNRELEASED
+- Implement RefService.DeleteRefs
+ https://gitlab.com/gitlab-org/gitaly/merge_requests/453
- Use --deployment flag for bundler and force `bundle install` on `make assemble`
https://gitlab.com/gitlab-org/gitaly/merge_requests/448
- Implement RepositoryService::FetchSourceBranch
diff --git a/internal/service/commit/find_commits_test.go b/internal/service/commit/find_commits_test.go
index c1578d310..846a35bea 100644
--- a/internal/service/commit/find_commits_test.go
+++ b/internal/service/commit/find_commits_test.go
@@ -232,10 +232,9 @@ func TestSuccessfulFindCommitsRequestWithAltGitObjectDirs(t *testing.T) {
committerName := "Scrooge McDuck"
committerEmail := "scrooge@mcduck.com"
- storagePath := testhelper.GitlabTestStoragePath()
- testRepoPath := path.Join(storagePath, testRepo.RelativePath)
- testRepoCopyName := "find-commits-alt-test-repo"
- testRepoCopyPath := path.Join(storagePath, testRepoCopyName)
+ testRepoCopy, testRepoCopyPath, cleanupFn := testhelper.SetupMutableTestRepo(t)
+ defer cleanupFn()
+
altObjectsDir := "./alt-objects"
altObjectsPath := path.Join(testRepoCopyPath, ".git", altObjectsDir)
gitObjectEnv := []string{
@@ -243,10 +242,6 @@ func TestSuccessfulFindCommitsRequestWithAltGitObjectDirs(t *testing.T) {
fmt.Sprintf("GIT_ALTERNATE_OBJECT_DIRECTORIES=%s", path.Join(testRepoCopyPath, ".git/objects")),
}
- // This clone will store its objects in the normal location: 'find-commits-alt-test-repo/.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)
}
@@ -289,14 +284,11 @@ func TestSuccessfulFindCommitsRequestWithAltGitObjectDirs(t *testing.T) {
for _, testCase := range testCases {
t.Run(testCase.desc, func(t *testing.T) {
+ testRepoCopy.GitAlternateObjectDirectories = testCase.altDirs
request := &pb.FindCommitsRequest{
- Repository: &pb.Repository{
- StorageName: testRepo.StorageName,
- RelativePath: path.Join(testRepoCopyName, ".git"),
- GitAlternateObjectDirectories: testCase.altDirs,
- },
- Revision: currentHead,
- Limit: 1,
+ Repository: testRepoCopy,
+ Revision: currentHead,
+ Limit: 1,
}
ctx, cancel := testhelper.Context()
diff --git a/internal/service/commit/isancestor_test.go b/internal/service/commit/isancestor_test.go
index 718f50115..e6ed1bdd9 100644
--- a/internal/service/commit/isancestor_test.go
+++ b/internal/service/commit/isancestor_test.go
@@ -184,10 +184,9 @@ func TestSuccessfulIsAncestorRequestWithAltGitObjectDirs(t *testing.T) {
committerName := "Scrooge McDuck"
committerEmail := "scrooge@mcduck.com"
- storagePath := testhelper.GitlabTestStoragePath()
- testRepoPath := path.Join(storagePath, testRepo.RelativePath)
- testRepoCopyName := "is-ancestor-alt-test-repo"
- testRepoCopyPath := path.Join(storagePath, testRepoCopyName)
+ testRepoCopy, testRepoCopyPath, cleanupFn := testhelper.SetupMutableTestRepo(t)
+ defer cleanupFn()
+
altObjectsDir := "./alt-objects"
altObjectsPath := path.Join(testRepoCopyPath, ".git", altObjectsDir)
gitObjectEnv := []string{
@@ -195,9 +194,6 @@ func TestSuccessfulIsAncestorRequestWithAltGitObjectDirs(t *testing.T) {
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)
}
@@ -240,12 +236,9 @@ func TestSuccessfulIsAncestorRequestWithAltGitObjectDirs(t *testing.T) {
for _, testCase := range testCases {
t.Run(testCase.desc, func(t *testing.T) {
+ testRepoCopy.GitAlternateObjectDirectories = testCase.altDirs
request := &pb.CommitIsAncestorRequest{
- Repository: &pb.Repository{
- StorageName: testRepo.StorageName,
- RelativePath: path.Join(testRepoCopyName, ".git"),
- GitAlternateObjectDirectories: testCase.altDirs,
- },
+ Repository: testRepoCopy,
AncestorId: string(previousHead),
ChildId: string(currentHead),
}
diff --git a/internal/service/diff/raw_test.go b/internal/service/diff/raw_test.go
index 0bf5bf9ab..c92408caf 100644
--- a/internal/service/diff/raw_test.go
+++ b/internal/service/diff/raw_test.go
@@ -2,8 +2,6 @@ package diff
import (
"fmt"
- "os"
- "path"
"testing"
"gitlab.com/gitlab-org/gitaly/internal/testhelper"
@@ -32,6 +30,9 @@ func TestSuccessfulRawDiffRequest(t *testing.T) {
c, err := client.RawDiff(ctx, rpcRequest)
require.NoError(t, err)
+ _, sandboxRepoPath, cleanupFn := testhelper.SetupMutableTestRepo(t)
+ defer cleanupFn()
+
reader := streamio.NewReader(func() ([]byte, error) {
response, err := c.Recv()
return response.GetData(), err
@@ -39,12 +40,7 @@ func TestSuccessfulRawDiffRequest(t *testing.T) {
committerName := "Scrooge McDuck"
committerEmail := "scrooge@mcduck.com"
- storagePath := testhelper.GitlabTestStoragePath()
- sandboxRepoPath := path.Join(storagePath, "raw-diff-sandbox")
-
- testhelper.MustRunCommand(t, nil, "git", "clone", testRepoPath, sandboxRepoPath)
testhelper.MustRunCommand(t, nil, "git", "-C", sandboxRepoPath, "reset", "--hard", leftCommit)
- defer os.RemoveAll(sandboxRepoPath)
testhelper.MustRunCommand(t, reader, "git", "-C", sandboxRepoPath, "apply")
testhelper.MustRunCommand(t, reader, "git", "-C", sandboxRepoPath, "add", ".")
@@ -132,12 +128,10 @@ func TestSuccessfulRawPatchRequest(t *testing.T) {
return response.GetData(), err
})
- storagePath := testhelper.GitlabTestStoragePath()
- sandboxRepoPath := path.Join(storagePath, "raw-patch-sandbox")
+ _, sandboxRepoPath, cleanupFn := testhelper.SetupMutableTestRepo(t)
+ defer cleanupFn()
- testhelper.MustRunCommand(t, nil, "git", "clone", testRepoPath, sandboxRepoPath)
testhelper.MustRunCommand(t, nil, "git", "-C", sandboxRepoPath, "reset", "--hard", leftCommit)
- defer os.RemoveAll(sandboxRepoPath)
testhelper.MustRunCommand(t, reader, "git", "-C", sandboxRepoPath, "am")
diff --git a/internal/service/ref/delete_refs.go b/internal/service/ref/delete_refs.go
new file mode 100644
index 000000000..85ee093d2
--- /dev/null
+++ b/internal/service/ref/delete_refs.go
@@ -0,0 +1,33 @@
+package ref
+
+import (
+ pb "gitlab.com/gitlab-org/gitaly-proto/go"
+ "gitlab.com/gitlab-org/gitaly/internal/rubyserver"
+ "golang.org/x/net/context"
+ "google.golang.org/grpc"
+ "google.golang.org/grpc/codes"
+)
+
+func (s *server) DeleteRefs(ctx context.Context, in *pb.DeleteRefsRequest) (*pb.DeleteRefsResponse, error) {
+ if len(in.ExceptWithPrefix) == 0 { // You can't delete all refs
+ return nil, grpc.Errorf(codes.InvalidArgument, "DeleteRefs: empty ExceptWithPrefix")
+ }
+
+ for _, prefix := range in.ExceptWithPrefix {
+ if len(prefix) == 0 {
+ return nil, grpc.Errorf(codes.InvalidArgument, "DeleteRefs: empty prefix for exclussion")
+ }
+ }
+
+ client, err := s.RefServiceClient(ctx)
+ if err != nil {
+ return nil, err
+ }
+
+ clientCtx, err := rubyserver.SetHeaders(ctx, in.GetRepository())
+ if err != nil {
+ return nil, err
+ }
+
+ return client.DeleteRefs(clientCtx, in)
+}
diff --git a/internal/service/ref/delete_refs_test.go b/internal/service/ref/delete_refs_test.go
new file mode 100644
index 000000000..fde7664a0
--- /dev/null
+++ b/internal/service/ref/delete_refs_test.go
@@ -0,0 +1,102 @@
+package ref
+
+import (
+ "testing"
+
+ "google.golang.org/grpc/codes"
+
+ "github.com/stretchr/testify/require"
+
+ pb "gitlab.com/gitlab-org/gitaly-proto/go"
+ "gitlab.com/gitlab-org/gitaly/internal/testhelper"
+)
+
+func TestSuccessfulDeleteRefs(t *testing.T) {
+ server, serverSocketPath := runRefServiceServer(t)
+ defer server.Stop()
+
+ client, conn := newRefServiceClient(t, serverSocketPath)
+ defer conn.Close()
+
+ repo, repoPath, cleanupFn := testhelper.SetupCopyTestRepo(t)
+ defer cleanupFn()
+
+ testhelper.MustRunCommand(t, nil, "git", "-C", repoPath, "update-ref", "refs/delete/a", "b83d6e391c22777fca1ed3012fce84f633d7fed0")
+ testhelper.MustRunCommand(t, nil, "git", "-C", repoPath, "update-ref", "refs/also-delete/b", "1b12f15a11fc6e62177bef08f47bc7b5ce50b141")
+ testhelper.MustRunCommand(t, nil, "git", "-C", repoPath, "update-ref", "refs/keep/c", "498214de67004b1da3d820901307bed2a68a8ef6")
+ testhelper.MustRunCommand(t, nil, "git", "-C", repoPath, "update-ref", "refs/also-keep/d", "b83d6e391c22777fca1ed3012fce84f633d7fed0")
+
+ rpcRequest := &pb.DeleteRefsRequest{
+ Repository: repo,
+ ExceptWithPrefix: [][]byte{[]byte("refs/keep"), []byte("refs/also-keep"), []byte("refs/heads/")},
+ }
+
+ ctx, cancel := testhelper.Context()
+ defer cancel()
+
+ _, err := client.DeleteRefs(ctx, rpcRequest)
+ require.NoError(t, err)
+
+ refs := testhelper.MustRunCommand(t, nil, "git", "-C", repoPath, "for-each-ref")
+ refsStr := string(refs)
+
+ require.NotContains(t, refsStr, "refs/delete/a")
+ require.NotContains(t, refsStr, "refs/also-delete/b")
+ require.Contains(t, refsStr, "refs/keep/c")
+ require.Contains(t, refsStr, "refs/also-keep/d")
+ require.Contains(t, refsStr, "refs/heads/master")
+}
+
+func TestFailedDeleteRefsDueToValidation(t *testing.T) {
+ server, serverSocketPath := runRefServiceServer(t)
+ defer server.Stop()
+
+ client, conn := newRefServiceClient(t, serverSocketPath)
+ defer conn.Close()
+
+ testCases := []struct {
+ desc string
+ repo *pb.Repository
+ prefixes [][]byte
+ code codes.Code
+ }{
+ {
+ desc: "Invalid repository",
+ repo: &pb.Repository{StorageName: "fake", RelativePath: "path"},
+ prefixes: [][]byte{[]byte("exclude-this")},
+ code: codes.InvalidArgument,
+ },
+ {
+ desc: "Repository is nil",
+ repo: nil,
+ prefixes: [][]byte{[]byte("exclude-this")},
+ code: codes.InvalidArgument,
+ },
+ {
+ desc: "No prefixes",
+ repo: testRepo,
+ prefixes: [][]byte{},
+ code: codes.InvalidArgument,
+ },
+ {
+ desc: "Empty prefix",
+ repo: testRepo,
+ prefixes: [][]byte{[]byte("exclude-this"), []byte{}},
+ code: codes.InvalidArgument,
+ },
+ }
+
+ for _, tc := range testCases {
+ t.Run(tc.desc, func(t *testing.T) {
+ ctx, cancel := testhelper.Context()
+ defer cancel()
+
+ rpcRequest := &pb.DeleteRefsRequest{
+ Repository: tc.repo,
+ ExceptWithPrefix: tc.prefixes,
+ }
+ _, err := client.DeleteRefs(ctx, rpcRequest)
+ testhelper.AssertGrpcError(t, err, tc.code, "")
+ })
+ }
+}
diff --git a/internal/service/ref/refs_test.go b/internal/service/ref/refs_test.go
index b683f5699..b0aa30a75 100644
--- a/internal/service/ref/refs_test.go
+++ b/internal/service/ref/refs_test.go
@@ -5,8 +5,6 @@ import (
"fmt"
"io"
"io/ioutil"
- "os"
- "path"
"testing"
"github.com/golang/protobuf/ptypes/timestamp"
@@ -355,12 +353,8 @@ func TestSuccessfulFindAllTagsRequest(t *testing.T) {
server, serverSocketPath := runRefServiceServer(t)
defer server.Stop()
- storagePath := testhelper.GitlabTestStoragePath()
- testRepoPath := path.Join(storagePath, testRepo.RelativePath)
- testRepoCopyName := "gitlab-test-for-tags"
- testRepoCopyPath := path.Join(storagePath, testRepoCopyName)
- testhelper.MustRunCommand(t, nil, "git", "clone", "--bare", testRepoPath, testRepoCopyPath)
- defer os.RemoveAll(testRepoCopyPath)
+ testRepoCopy, testRepoCopyPath, cleanupFn := testhelper.SetupMutableTestRepo(t)
+ defer cleanupFn()
committerName := "Scrooge McDuck"
committerEmail := "scrooge@mcduck.com"
@@ -408,12 +402,7 @@ func TestSuccessfulFindAllTagsRequest(t *testing.T) {
client, conn := newRefServiceClient(t, serverSocketPath)
defer conn.Close()
- rpcRequest := &pb.FindAllTagsRequest{
- Repository: &pb.Repository{
- StorageName: testRepo.StorageName,
- RelativePath: testRepoCopyName,
- },
- }
+ rpcRequest := &pb.FindAllTagsRequest{Repository: testRepoCopy}
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
diff --git a/internal/testhelper/testhelper.go b/internal/testhelper/testhelper.go
index d75fd2030..9094c36ef 100644
--- a/internal/testhelper/testhelper.go
+++ b/internal/testhelper/testhelper.go
@@ -17,6 +17,7 @@ import (
"time"
log "github.com/sirupsen/logrus"
+ "github.com/stretchr/testify/require"
pb "gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitaly/internal/command"
@@ -297,3 +298,36 @@ func mustFindNoRunningChildProcess() {
func Context() (context.Context, func()) {
return context.WithCancel(context.Background())
}
+
+// SetupCopyTestRepo creates a bare copy of the test repository.
+func SetupCopyTestRepo(t *testing.T) (repo *pb.Repository, repoPath string, cleanup func()) {
+ return cloneTestRepo(t, true)
+}
+
+// SetupMutableTestRepo creates a copy of the test repository apt for changes.
+func SetupMutableTestRepo(t *testing.T) (repo *pb.Repository, repoPath string, cleanup func()) {
+ return cloneTestRepo(t, false)
+}
+
+func cloneTestRepo(t *testing.T, bare bool) (repo *pb.Repository, repoPath string, cleanup func()) {
+ testRepo := TestRepository()
+ storagePath := GitlabTestStoragePath()
+ testRepoPath := path.Join(storagePath, testRepo.RelativePath)
+
+ repoPath, err := ioutil.TempDir(storagePath, t.Name())
+ require.NoError(t, err)
+ relativePath, err := filepath.Rel(storagePath, repoPath)
+ require.NoError(t, err)
+ repo = &pb.Repository{StorageName: "default", RelativePath: relativePath}
+
+ args := []string{"clone"}
+ if bare {
+ args = append(args, "--bare")
+ } else {
+ // For non-bare repos the relative path is the .git folder inside the path
+ repo.RelativePath = path.Join(relativePath, ".git")
+ }
+ MustRunCommand(t, nil, "git", append(args, testRepoPath, repoPath)...)
+
+ return repo, repoPath, func() { os.RemoveAll(repoPath) }
+}
diff --git a/ruby/Gemfile b/ruby/Gemfile
index 903500b0d..3055ec8b2 100644
--- a/ruby/Gemfile
+++ b/ruby/Gemfile
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
gem 'github-linguist', '~> 4.7.0', require: 'linguist'
-gem 'gitaly-proto', '~> 0.53.0', require: 'gitaly'
+gem 'gitaly-proto', '~> 0.54.0', require: 'gitaly'
gem 'activesupport'
gem 'gollum-lib', '~> 4.2', require: false
gem 'gollum-rugged_adapter', '~> 0.4.4', require: false
diff --git a/ruby/Gemfile.lock b/ruby/Gemfile.lock
index ecf8c2209..25daf8e09 100644
--- a/ruby/Gemfile.lock
+++ b/ruby/Gemfile.lock
@@ -17,7 +17,7 @@ GEM
multipart-post (>= 1.2, < 3)
gemojione (3.3.0)
json
- gitaly-proto (0.53.0)
+ gitaly-proto (0.54.0)
google-protobuf (~> 3.1)
grpc (~> 1.0)
github-linguist (4.7.6)
@@ -119,11 +119,11 @@ PLATFORMS
DEPENDENCIES
activesupport
- gitaly-proto (~> 0.53.0)
+ gitaly-proto (~> 0.54.0)
github-linguist (~> 4.7.0)
gitlab-styles (~> 2.0.0)
gollum-lib (~> 4.2)
gollum-rugged_adapter (~> 0.4.4)
BUNDLED WITH
- 1.15.4
+ 1.16.0
diff --git a/ruby/lib/gitaly_server/ref_service.rb b/ruby/lib/gitaly_server/ref_service.rb
index 9e01bbd56..799c55664 100644
--- a/ruby/lib/gitaly_server/ref_service.rb
+++ b/ruby/lib/gitaly_server/ref_service.rb
@@ -91,5 +91,15 @@ module GitalyServer
end
end
end
+
+ def delete_refs(request, call)
+ bridge_exceptions do
+ repo = Gitlab::Git::Repository.from_gitaly(request.repository, call)
+
+ repo.delete_all_refs_except(request.except_with_prefix)
+
+ Gitaly::DeleteRefsResponse.new
+ end
+ end
end
end
diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
index 7f422a161..524456c77 100644
--- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
+++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
@@ -1 +1 @@
-0.53.0
+0.54.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 ba439a8e0..cba71de27 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
@@ -113,6 +113,8 @@ It has these top-level messages:
DeleteBranchResponse
FindBranchRequest
FindBranchResponse
+ DeleteRefsRequest
+ DeleteRefsResponse
RepositoryExistsRequest
RepositoryExistsResponse
RepositoryIsEmptyRequest
diff --git a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go
index ab3b92a75..2aae739c2 100644
--- a/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go
+++ b/vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go
@@ -601,6 +601,38 @@ func (m *FindBranchResponse) GetBranch() *Branch {
return nil
}
+type DeleteRefsRequest struct {
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
+ ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"`
+}
+
+func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} }
+func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) }
+func (*DeleteRefsRequest) ProtoMessage() {}
+func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{24} }
+
+func (m *DeleteRefsRequest) GetRepository() *Repository {
+ if m != nil {
+ return m.Repository
+ }
+ return nil
+}
+
+func (m *DeleteRefsRequest) GetExceptWithPrefix() [][]byte {
+ if m != nil {
+ return m.ExceptWithPrefix
+ }
+ return nil
+}
+
+type DeleteRefsResponse struct {
+}
+
+func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} }
+func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) }
+func (*DeleteRefsResponse) ProtoMessage() {}
+func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{25} }
+
func init() {
proto.RegisterType((*FindDefaultBranchNameRequest)(nil), "gitaly.FindDefaultBranchNameRequest")
proto.RegisterType((*FindDefaultBranchNameResponse)(nil), "gitaly.FindDefaultBranchNameResponse")
@@ -627,6 +659,8 @@ func init() {
proto.RegisterType((*DeleteBranchResponse)(nil), "gitaly.DeleteBranchResponse")
proto.RegisterType((*FindBranchRequest)(nil), "gitaly.FindBranchRequest")
proto.RegisterType((*FindBranchResponse)(nil), "gitaly.FindBranchResponse")
+ proto.RegisterType((*DeleteRefsRequest)(nil), "gitaly.DeleteRefsRequest")
+ proto.RegisterType((*DeleteRefsResponse)(nil), "gitaly.DeleteRefsResponse")
proto.RegisterEnum("gitaly.FindLocalBranchesRequest_SortBy", FindLocalBranchesRequest_SortBy_name, FindLocalBranchesRequest_SortBy_value)
proto.RegisterEnum("gitaly.CreateBranchResponse_Status", CreateBranchResponse_Status_name, CreateBranchResponse_Status_value)
}
@@ -655,6 +689,7 @@ type RefServiceClient interface {
CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error)
DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error)
FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error)
+ DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error)
}
type refServiceClient struct {
@@ -879,6 +914,15 @@ func (c *refServiceClient) FindBranch(ctx context.Context, in *FindBranchRequest
return out, nil
}
+func (c *refServiceClient) DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) {
+ out := new(DeleteRefsResponse)
+ err := grpc.Invoke(ctx, "/gitaly.RefService/DeleteRefs", in, out, c.cc, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
// Server API for RefService service
type RefServiceServer interface {
@@ -895,6 +939,7 @@ type RefServiceServer interface {
CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error)
DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error)
FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error)
+ DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error)
}
func RegisterRefServiceServer(s *grpc.Server, srv RefServiceServer) {
@@ -1114,6 +1159,24 @@ func _RefService_FindBranch_Handler(srv interface{}, ctx context.Context, dec fu
return interceptor(ctx, in, info, handler)
}
+func _RefService_DeleteRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(DeleteRefsRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(RefServiceServer).DeleteRefs(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/gitaly.RefService/DeleteRefs",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(RefServiceServer).DeleteRefs(ctx, req.(*DeleteRefsRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
var _RefService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitaly.RefService",
HandlerType: (*RefServiceServer)(nil),
@@ -1142,6 +1205,10 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
MethodName: "FindBranch",
Handler: _RefService_FindBranch_Handler,
},
+ {
+ MethodName: "DeleteRefs",
+ Handler: _RefService_DeleteRefs_Handler,
+ },
},
Streams: []grpc.StreamDesc{
{
@@ -1176,68 +1243,72 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("ref.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
- // 1007 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x51, 0x73, 0x22, 0x45,
- 0x10, 0xce, 0x12, 0xb2, 0x97, 0x34, 0x48, 0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 0x6a, 0x75, 0x32, 0xff, 0x05, 0xf5, 0x15,
- 0x58, 0xe7, 0xb0, 0x13, 0xc9, 0x20, 0xca, 0xcf, 0x4b, 0x3f, 0xa9, 0xb9, 0xf6, 0x91, 0x66, 0x27,
- 0x62, 0xf1, 0x25, 0x64, 0xe3, 0x82, 0x83, 0x0a, 0x7a, 0x19, 0x92, 0x48, 0x8f, 0x56, 0x69, 0x94,
- 0x04, 0x8b, 0xf7, 0xef, 0x1c, 0x4c, 0x23, 0x1a, 0x73, 0x30, 0x6d, 0xcb, 0x6f, 0xa0, 0x1a, 0xc0,
- 0xbc, 0x2f, 0xd1, 0x51, 0x9c, 0x8c, 0x24, 0x90, 0xad, 0xdb, 0x0a, 0x61, 0x3a, 0xa6, 0x18, 0x0c,
- 0x9e, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x63, 0x76, 0x69, 0xeb, 0x2b, 0x0d, 0x00, 0x00,
+ // 1064 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x72, 0x22, 0x45,
+ 0x14, 0xce, 0x90, 0x64, 0x36, 0x39, 0x60, 0x32, 0xe9, 0x60, 0x96, 0x0c, 0xeb, 0x92, 0x6d, 0xdd,
+ 0x35, 0xa9, 0xb2, 0x26, 0x16, 0x5b, 0x7a, 0xa3, 0x17, 0x12, 0xc0, 0x0d, 0x6e, 0x24, 0xa9, 0x06,
+ 0xd7, 0x54, 0xa9, 0x35, 0x35, 0x40, 0x0f, 0x8c, 0x05, 0x0c, 0xce, 0x34, 0xbb, 0xc9, 0x85, 0xbe,
+ 0x80, 0xef, 0xe1, 0xab, 0x78, 0xe1, 0x73, 0xf8, 0x1e, 0x16, 0xdd, 0x3d, 0x7f, 0x30, 0xb0, 0x96,
+ 0xb8, 0x57, 0x33, 0x7d, 0xfa, 0x9c, 0xaf, 0xcf, 0x5f, 0x7f, 0x7d,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 0xd4, 0xec, 0xc9, 0x07, 0x40, 0x3f, 0x4e, 0xd9, 0x09, 0xb3, 0xf8, 0x12, 0x72,
+ 0x71, 0xf6, 0x43, 0xc5, 0x74, 0x4e, 0x14, 0x48, 0x8f, 0x56, 0x11, 0xa6, 0x00, 0x8b, 0x93, 0x49,
+ 0x04, 0x96, 0xc2, 0x60, 0x11, 0x58, 0x2a, 0xff, 0x6c, 0xa0, 0x3a, 0x40, 0x44, 0x12, 0xe8, 0x38,
+ 0x9e, 0x8c, 0x24, 0x90, 0x9e, 0xb6, 0x15, 0x87, 0x89, 0xae, 0x6d, 0x04, 0xb3, 0xc0, 0x20, 0x11,
+ 0xcc, 0xe2, 0x2d, 0xc7, 0x1b, 0x1d, 0x95, 0x0f, 0x3b, 0xcf, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff,
+ 0x6b, 0xa1, 0x49, 0x49, 0xff, 0x0d, 0x00, 0x00,
}
diff --git a/vendor/vendor.json b/vendor/vendor.json
index 48dc28181..986d17981 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -201,12 +201,12 @@
"revisionTime": "2017-01-30T11:31:45Z"
},
{
- "checksumSHA1": "vH/60+X951uTgGYZubI7NjCp1NM=",
+ "checksumSHA1": "Egwbmg0DMI1ZPizY/eX4+oGUFXY=",
"path": "gitlab.com/gitlab-org/gitaly-proto/go",
- "revision": "b126d75605c53549a6e3f91a28116effa13da888",
- "revisionTime": "2017-11-08T13:45:03Z",
- "version": "v0.53.0",
- "versionExact": "v0.53.0"
+ "revision": "7627289e5c137ffd7e65b7654eb50ba76e535b51",
+ "revisionTime": "2017-11-14T20:38:11Z",
+ "version": "v0.54.0",
+ "versionExact": "v0.54.0"
},
{
"checksumSHA1": "nqWNlnMmVpt628zzvyo6Yv2CX5Q=",