Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e231f245
Commit
e231f245
authored
7 years ago
by
Alejandro Rodríguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement Gitaly call for archive requests
parent
a531ccd5
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
821 additions
and
254 deletions
+821
-254
CHANGELOG
CHANGELOG
+4
-0
gitaly_test.go
gitaly_test.go
+57
-0
internal/git/archive.go
internal/git/archive.go
+43
-14
internal/git/archive_test.go
internal/git/archive_test.go
+16
-14
internal/git/archivereader.go
internal/git/archivereader.go
+7
-16
internal/gitaly/gitaly.go
internal/gitaly/gitaly.go
+9
-0
internal/gitaly/repository.go
internal/gitaly/repository.go
+30
-0
internal/testhelper/gitaly.go
internal/testhelper/gitaly.go
+58
-0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
+1
-1
vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go
vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go
+7
-0
vendor/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go
...or/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go
+249
-23
vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go
vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go
+65
-109
vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go
...b.com/gitlab-org/gitaly-proto/go/repository-service.pb.go
+195
-40
vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go
vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go
+75
-32
vendor/vendor.json
vendor/vendor.json
+5
-5
No files found.
CHANGELOG
View file @
e231f245
...
...
@@ -2,6 +2,10 @@
Formerly known as 'gitlab-git-http-server'.
UNRELEASED
- Implement Gitaly call for archive requests !199
v3.1.0
- Add histograms to routes !184
...
...
This diff is collapsed.
Click to expand it.
gitaly_test.go
View file @
e231f245
...
...
@@ -371,6 +371,62 @@ func TestGetBlobProxiedToGitalyInterruptedStream(t *testing.T) {
}
}
func
TestGetArchiveProxiedToGitalySuccessfully
(
t
*
testing
.
T
)
{
gitalyServer
,
socketPath
:=
startGitalyServer
(
t
,
codes
.
OK
)
defer
gitalyServer
.
Stop
()
gitalyAddress
:=
"unix://"
+
socketPath
repoStorage
:=
"default"
oid
:=
"54fcc214b94e78d7a41a9a8fe6d87a5e59500e51"
repoRelativePath
:=
"foo/bar.git"
archivePath
:=
"my/path"
archivePrefix
:=
"repo-1"
jsonParams
:=
fmt
.
Sprintf
(
`{"GitalyServer":{"Address":"%s","Token":""},"GitalyRepository":{"storage_name":"%s","relative_path":"%s"},"ArchivePath":"%s","ArchivePrefix":"%s","CommitId":"%s"}`
,
gitalyAddress
,
repoStorage
,
repoRelativePath
,
archivePath
,
archivePrefix
,
oid
)
expectedBody
:=
testhelper
.
GitalyGetArchiveResponseMock
archiveLength
:=
len
(
expectedBody
)
resp
,
body
,
err
:=
doSendDataRequest
(
"/archive.tar.gz"
,
"git-archive"
,
jsonParams
)
require
.
NoError
(
t
,
err
)
assert
.
Equal
(
t
,
200
,
resp
.
StatusCode
,
"GET %q: status code"
,
resp
.
Request
.
URL
)
assert
.
Equal
(
t
,
expectedBody
,
string
(
body
),
"GET %q: response body"
,
resp
.
Request
.
URL
)
assert
.
Equal
(
t
,
archiveLength
,
len
(
body
),
"GET %q: body size"
,
resp
.
Request
.
URL
)
}
func
TestGetArchiveProxiedToGitalyInterruptedStream
(
t
*
testing
.
T
)
{
gitalyServer
,
socketPath
:=
startGitalyServer
(
t
,
codes
.
OK
)
defer
gitalyServer
.
Stop
()
gitalyAddress
:=
"unix://"
+
socketPath
repoStorage
:=
"default"
oid
:=
"54fcc214b94e78d7a41a9a8fe6d87a5e59500e51"
repoRelativePath
:=
"foo/bar.git"
archivePath
:=
"my/path"
archivePrefix
:=
"repo-1"
jsonParams
:=
fmt
.
Sprintf
(
`{"GitalyServer":{"Address":"%s","Token":""},"GitalyRepository":{"storage_name":"%s","relative_path":"%s"},"ArchivePath":"%s","ArchivePrefix":"%s","CommitId":"%s"}`
,
gitalyAddress
,
repoStorage
,
repoRelativePath
,
archivePath
,
archivePrefix
,
oid
)
resp
,
_
,
err
:=
doSendDataRequest
(
"/archive.tar.gz"
,
"git-archive"
,
jsonParams
)
require
.
NoError
(
t
,
err
)
// This causes the server stream to be interrupted instead of consumed entirely.
resp
.
Body
.
Close
()
done
:=
make
(
chan
struct
{})
go
func
()
{
gitalyServer
.
WaitGroup
.
Wait
()
close
(
done
)
}()
select
{
case
<-
done
:
return
case
<-
time
.
After
(
10
*
time
.
Second
)
:
t
.
Fatal
(
"time out waiting for gitaly handler to return"
)
}
}
type
combinedServer
struct
{
*
grpc
.
Server
*
testhelper
.
GitalyTestServer
...
...
@@ -388,6 +444,7 @@ func startGitalyServer(t *testing.T, finalMessageCode codes.Code) (*combinedServ
gitalyServer
:=
testhelper
.
NewGitalyServer
(
finalMessageCode
)
pb
.
RegisterSmartHTTPServiceServer
(
server
,
gitalyServer
)
pb
.
RegisterBlobServiceServer
(
server
,
gitalyServer
)
pb
.
RegisterRepositoryServiceServer
(
server
,
gitalyServer
)
go
server
.
Serve
(
listener
)
...
...
This diff is collapsed.
Click to expand it.
internal/git/archive.go
View file @
e231f245
...
...
@@ -14,6 +14,8 @@ import (
"path/filepath"
"time"
pb
"gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/gitaly"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/helper"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/senddata"
...
...
@@ -26,6 +28,8 @@ type archiveParams struct {
ArchivePath
string
ArchivePrefix
string
CommitId
string
GitalyServer
gitaly
.
Server
GitalyRepository
pb
.
Repository
}
var
(
...
...
@@ -84,7 +88,16 @@ func (a *archive) Inject(w http.ResponseWriter, r *http.Request, sendData string
defer
tempFile
.
Close
()
defer
os
.
Remove
(
tempFile
.
Name
())
archiveReader
,
err
:=
newArchiveReader
(
r
.
Context
(),
params
.
RepoPath
,
format
,
params
.
ArchivePrefix
,
params
.
CommitId
)
var
archiveReader
io
.
Reader
if
params
.
GitalyServer
.
Address
!=
""
{
archiveReader
,
err
=
handleArchiveWithGitaly
(
r
,
params
,
format
)
if
err
!=
nil
{
err
=
fmt
.
Errorf
(
"operations.GetArchive: %v"
,
err
)
}
}
else
{
archiveReader
,
err
=
newArchiveReader
(
r
.
Context
(),
params
.
RepoPath
,
format
,
params
.
ArchivePrefix
,
params
.
CommitId
)
}
if
err
!=
nil
{
helper
.
Fail500
(
w
,
r
,
err
)
return
...
...
@@ -106,10 +119,26 @@ func (a *archive) Inject(w http.ResponseWriter, r *http.Request, sendData string
}
}
func
setArchiveHeaders
(
w
http
.
ResponseWriter
,
format
ArchiveFormat
,
archiveFilename
string
)
{
func
handleArchiveWithGitaly
(
r
*
http
.
Request
,
params
archiveParams
,
format
pb
.
GetArchiveRequest_Format
)
(
io
.
Reader
,
error
)
{
c
,
err
:=
gitaly
.
NewRepositoryClient
(
params
.
GitalyServer
)
if
err
!=
nil
{
return
nil
,
err
}
request
:=
&
pb
.
GetArchiveRequest
{
Repository
:
&
params
.
GitalyRepository
,
CommitId
:
params
.
CommitId
,
Prefix
:
params
.
ArchivePrefix
,
Format
:
format
,
}
return
c
.
ArchiveReader
(
r
.
Context
(),
request
)
}
func
setArchiveHeaders
(
w
http
.
ResponseWriter
,
format
pb
.
GetArchiveRequest_Format
,
archiveFilename
string
)
{
w
.
Header
()
.
Del
(
"Content-Length"
)
w
.
Header
()
.
Set
(
"Content-Disposition"
,
fmt
.
Sprintf
(
`attachment; filename="%s"`
,
archiveFilename
))
if
format
==
ZipFormat
{
if
format
==
pb
.
GetArchiveRequest_ZIP
{
w
.
Header
()
.
Set
(
"Content-Type"
,
"application/zip"
)
}
else
{
w
.
Header
()
.
Set
(
"Content-Type"
,
"application/octet-stream"
)
...
...
@@ -136,20 +165,20 @@ func finalizeCachedArchive(tempFile *os.File, archivePath string) error {
return
nil
}
func
parseBasename
(
basename
string
)
(
Archive
Format
,
bool
)
{
var
format
Archive
Format
func
parseBasename
(
basename
string
)
(
pb
.
GetArchiveRequest_
Format
,
bool
)
{
var
format
pb
.
GetArchiveRequest_
Format
switch
basename
{
case
"archive.zip"
:
format
=
ZipFormat
format
=
pb
.
GetArchiveRequest_ZIP
case
"archive.tar"
:
format
=
TarFormat
format
=
pb
.
GetArchiveRequest_TAR
case
"archive"
,
"archive.tar.gz"
,
"archive.tgz"
,
"archive.gz"
:
format
=
TarGzFormat
format
=
pb
.
GetArchiveRequest_TAR_GZ
case
"archive.tar.bz2"
,
"archive.tbz"
,
"archive.tbz2"
,
"archive.tb2"
,
"archive.bz2"
:
format
=
TarBz2Format
format
=
pb
.
GetArchiveRequest_TAR_BZ2
default
:
return
InvalidF
ormat
,
false
return
f
ormat
,
false
}
return
format
,
true
...
...
This diff is collapsed.
Click to expand it.
internal/git/archive_test.go
View file @
e231f245
...
...
@@ -5,23 +5,24 @@ import (
"net/http/httptest"
"testing"
pb
"gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/testhelper"
)
func
TestParseBasename
(
t
*
testing
.
T
)
{
for
_
,
testCase
:=
range
[]
struct
{
in
string
out
Archive
Format
out
pb
.
GetArchiveRequest_
Format
}{
{
""
,
TarGzFormat
},
{
".tar.gz"
,
TarGzFormat
},
{
".tgz"
,
TarGzFormat
},
{
".gz"
,
TarGzFormat
},
{
".tar.bz2"
,
TarBz2Format
},
{
".tbz"
,
TarBz2Format
},
{
".tbz2"
,
TarBz2Format
},
{
".tb2"
,
TarBz2Format
},
{
".bz2"
,
TarBz2Format
},
{
""
,
pb
.
GetArchiveRequest_TAR_GZ
},
{
".tar.gz"
,
pb
.
GetArchiveRequest_TAR_GZ
},
{
".tgz"
,
pb
.
GetArchiveRequest_TAR_GZ
},
{
".gz"
,
pb
.
GetArchiveRequest_TAR_GZ
},
{
".tar.bz2"
,
pb
.
GetArchiveRequest_TAR_BZ2
},
{
".tbz"
,
pb
.
GetArchiveRequest_TAR_BZ2
},
{
".tbz2"
,
pb
.
GetArchiveRequest_TAR_BZ2
},
{
".tb2"
,
pb
.
GetArchiveRequest_TAR_BZ2
},
{
".bz2"
,
pb
.
GetArchiveRequest_TAR_BZ2
},
}
{
basename
:=
"archive"
+
testCase
.
in
out
,
ok
:=
parseBasename
(
basename
)
...
...
@@ -51,12 +52,13 @@ func TestFinalizeArchive(t *testing.T) {
func
TestSetArchiveHeaders
(
t
*
testing
.
T
)
{
for
_
,
testCase
:=
range
[]
struct
{
in
Archive
Format
in
pb
.
GetArchiveRequest_
Format
out
string
}{
{
ZipFormat
,
"application/zip"
},
{
TarFormat
,
"application/octet-stream"
},
{
InvalidFormat
,
"application/octet-stream"
},
{
pb
.
GetArchiveRequest_ZIP
,
"application/zip"
},
{
pb
.
GetArchiveRequest_TAR
,
"application/octet-stream"
},
{
pb
.
GetArchiveRequest_TAR_GZ
,
"application/octet-stream"
},
{
pb
.
GetArchiveRequest_TAR_BZ2
,
"application/octet-stream"
},
}
{
w
:=
httptest
.
NewRecorder
()
...
...
This diff is collapsed.
Click to expand it.
internal/git/archivereader.go
View file @
e231f245
...
...
@@ -7,28 +7,19 @@ import (
"os/exec"
"syscall"
pb
"gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/helper"
)
type
ArchiveFormat
int
const
(
InvalidFormat
ArchiveFormat
=
iota
ZipFormat
TarFormat
TarGzFormat
TarBz2Format
)
func
parseArchiveFormat
(
format
ArchiveFormat
)
(
*
exec
.
Cmd
,
string
)
{
func
parseArchiveFormat
(
format
pb
.
GetArchiveRequest_Format
)
(
*
exec
.
Cmd
,
string
)
{
switch
format
{
case
TarFormat
:
case
pb
.
GetArchiveRequest_TAR
:
return
nil
,
"tar"
case
TarGzFormat
:
case
pb
.
GetArchiveRequest_TAR_GZ
:
return
exec
.
Command
(
"gzip"
,
"-c"
,
"-n"
),
"tar"
case
TarBz2Format
:
case
pb
.
GetArchiveRequest_TAR_BZ2
:
return
exec
.
Command
(
"bzip2"
,
"-c"
),
"tar"
case
ZipFormat
:
case
pb
.
GetArchiveRequest_ZIP
:
return
nil
,
"zip"
default
:
return
nil
,
"invalid format"
...
...
@@ -70,7 +61,7 @@ func (a *archiveReader) wait() error {
return
nil
}
func
newArchiveReader
(
ctx
context
.
Context
,
repoPath
string
,
format
Archive
Format
,
archivePrefix
string
,
commitId
string
)
(
a
*
archiveReader
,
err
error
)
{
func
newArchiveReader
(
ctx
context
.
Context
,
repoPath
string
,
format
pb
.
GetArchiveRequest_
Format
,
archivePrefix
string
,
commitId
string
)
(
a
*
archiveReader
,
err
error
)
{
a
=
&
archiveReader
{}
compressCmd
,
formatArg
:=
parseArchiveFormat
(
format
)
...
...
This diff is collapsed.
Click to expand it.
internal/gitaly/gitaly.go
View file @
e231f245
...
...
@@ -41,6 +41,15 @@ func NewBlobClient(server Server) (*BlobClient, error) {
return
&
BlobClient
{
grpcClient
},
nil
}
func
NewRepositoryClient
(
server
Server
)
(
*
RepositoryClient
,
error
)
{
conn
,
err
:=
getOrCreateConnection
(
server
)
if
err
!=
nil
{
return
nil
,
err
}
grpcClient
:=
pb
.
NewRepositoryServiceClient
(
conn
)
return
&
RepositoryClient
{
grpcClient
},
nil
}
func
getOrCreateConnection
(
server
Server
)
(
*
grpc
.
ClientConn
,
error
)
{
cache
.
RLock
()
conn
:=
cache
.
connections
[
server
]
...
...
This diff is collapsed.
Click to expand it.
internal/gitaly/repository.go
0 → 100644
View file @
e231f245
package
gitaly
import
(
"context"
"fmt"
"io"
pb
"gitlab.com/gitlab-org/gitaly-proto/go"
"gitlab.com/gitlab-org/gitaly/streamio"
)
// RepositoryClient encapsulates RepositoryService calls
type
RepositoryClient
struct
{
pb
.
RepositoryServiceClient
}
// ArchiveReader performs a GetArchive Gitaly request and returns an io.Reader
// for the response
func
(
client
*
RepositoryClient
)
ArchiveReader
(
ctx
context
.
Context
,
request
*
pb
.
GetArchiveRequest
)
(
io
.
Reader
,
error
)
{
c
,
err
:=
client
.
GetArchive
(
ctx
,
request
)
if
err
!=
nil
{
return
nil
,
fmt
.
Errorf
(
"RepositoryService::GetArchive: %v"
,
err
)
}
return
streamio
.
NewReader
(
func
()
([]
byte
,
error
)
{
resp
,
err
:=
c
.
Recv
()
return
resp
.
GetData
(),
err
}),
nil
}
This diff is collapsed.
Click to expand it.
internal/testhelper/gitaly.go
View file @
e231f245
...
...
@@ -24,6 +24,7 @@ type GitalyTestServer struct {
var
(
GitalyInfoRefsResponseMock
=
strings
.
Repeat
(
"Mock Gitaly InfoRefsResponse data"
,
100000
)
GitalyGetBlobResponseMock
=
strings
.
Repeat
(
"Mock Gitaly GetBlobResponse data"
,
100000
)
GitalyGetArchiveResponseMock
=
strings
.
Repeat
(
"Mock Gitaly GetArchiveResponse data"
,
100000
)
GitalyReceivePackResponseMock
[]
byte
GitalyUploadPackResponseMock
[]
byte
)
...
...
@@ -208,6 +209,63 @@ func (s *GitalyTestServer) GetBlob(in *pb.GetBlobRequest, stream pb.BlobService_
return
s
.
finalError
()
}
func
(
s
*
GitalyTestServer
)
GetArchive
(
in
*
pb
.
GetArchiveRequest
,
stream
pb
.
RepositoryService_GetArchiveServer
)
error
{
s
.
WaitGroup
.
Add
(
1
)
defer
s
.
WaitGroup
.
Done
()
if
err
:=
validateRepository
(
in
.
GetRepository
());
err
!=
nil
{
return
err
}
nSends
,
err
:=
sendBytes
([]
byte
(
GitalyGetArchiveResponseMock
),
100
,
func
(
p
[]
byte
)
error
{
return
stream
.
Send
(
&
pb
.
GetArchiveResponse
{
Data
:
p
})
})
if
err
!=
nil
{
return
err
}
if
nSends
<=
1
{
panic
(
"should have sent more than one message"
)
}
return
s
.
finalError
()
}
func
(
s
*
GitalyTestServer
)
RepositoryExists
(
context
.
Context
,
*
pb
.
RepositoryExistsRequest
)
(
*
pb
.
RepositoryExistsResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
RepackIncremental
(
context
.
Context
,
*
pb
.
RepackIncrementalRequest
)
(
*
pb
.
RepackIncrementalResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
RepackFull
(
context
.
Context
,
*
pb
.
RepackFullRequest
)
(
*
pb
.
RepackFullResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
GarbageCollect
(
context
.
Context
,
*
pb
.
GarbageCollectRequest
)
(
*
pb
.
GarbageCollectResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
RepositorySize
(
context
.
Context
,
*
pb
.
RepositorySizeRequest
)
(
*
pb
.
RepositorySizeResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
ApplyGitattributes
(
context
.
Context
,
*
pb
.
ApplyGitattributesRequest
)
(
*
pb
.
ApplyGitattributesResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
FetchRemote
(
context
.
Context
,
*
pb
.
FetchRemoteRequest
)
(
*
pb
.
FetchRemoteResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
CreateRepository
(
context
.
Context
,
*
pb
.
CreateRepositoryRequest
)
(
*
pb
.
CreateRepositoryResponse
,
error
)
{
return
nil
,
nil
}
func
(
s
*
GitalyTestServer
)
Exists
(
context
.
Context
,
*
pb
.
RepositoryExistsRequest
)
(
*
pb
.
RepositoryExistsResponse
,
error
)
{
return
nil
,
nil
}
// sendBytes returns the number of times the 'sender' function was called and an error.
func
sendBytes
(
data
[]
byte
,
chunkSize
int
,
sender
func
([]
byte
)
error
)
(
int
,
error
)
{
i
:=
0
...
...
This diff is collapsed.
Click to expand it.
vendor/gitlab.com/gitlab-org/gitaly-proto/go/VERSION
View file @
e231f245
0.3
5
.0
0.3
8
.0
This diff is collapsed.
Click to expand it.
vendor/gitlab.com/gitlab-org/gitaly-proto/go/blob.pb.go
View file @
e231f245
...
...
@@ -69,8 +69,12 @@ It has these top-level messages:
PostReceiveResponse
UserCreateBranchRequest
UserCreateBranchResponse
UserDeleteBranchRequest
UserDeleteBranchResponse
UserDeleteTagRequest
UserDeleteTagResponse
UserCreateTagRequest
UserCreateTagResponse
FindDefaultBranchNameRequest
FindDefaultBranchNameResponse
FindAllBranchNamesRequest
...
...
@@ -111,11 +115,14 @@ It has these top-level messages:
FetchRemoteResponse
CreateRepositoryRequest
CreateRepositoryResponse
GetArchiveRequest
GetArchiveResponse
Repository
GitCommit
CommitAuthor
ExitStatus
Branch
Tag
User
InfoRefsRequest
InfoRefsResponse
...
...
This diff is collapsed.
Click to expand it.
vendor/gitlab.com/gitlab-org/gitaly-proto/go/operations.pb.go
View file @
e231f245
...
...
@@ -59,6 +59,9 @@ func (m *UserCreateBranchRequest) GetStartPoint() []byte {
type
UserCreateBranchResponse
struct
{
Branch
*
Branch
`protobuf:"bytes,1,opt,name=branch" json:"branch,omitempty"`
// Error returned by the pre-receive hook. If no error was thrown,
// it's the empty string ("")
PreReceiveError
string
`protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func
(
m
*
UserCreateBranchResponse
)
Reset
()
{
*
m
=
UserCreateBranchResponse
{}
}
...
...
@@ -73,6 +76,61 @@ func (m *UserCreateBranchResponse) GetBranch() *Branch {
return
nil
}
func
(
m
*
UserCreateBranchResponse
)
GetPreReceiveError
()
string
{
if
m
!=
nil
{
return
m
.
PreReceiveError
}
return
""
}
type
UserDeleteBranchRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
BranchName
[]
byte
`protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
User
*
User
`protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
}
func
(
m
*
UserDeleteBranchRequest
)
Reset
()
{
*
m
=
UserDeleteBranchRequest
{}
}
func
(
m
*
UserDeleteBranchRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UserDeleteBranchRequest
)
ProtoMessage
()
{}
func
(
*
UserDeleteBranchRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
2
}
}
func
(
m
*
UserDeleteBranchRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
UserDeleteBranchRequest
)
GetBranchName
()
[]
byte
{
if
m
!=
nil
{
return
m
.
BranchName
}
return
nil
}
func
(
m
*
UserDeleteBranchRequest
)
GetUser
()
*
User
{
if
m
!=
nil
{
return
m
.
User
}
return
nil
}
type
UserDeleteBranchResponse
struct
{
PreReceiveError
string
`protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func
(
m
*
UserDeleteBranchResponse
)
Reset
()
{
*
m
=
UserDeleteBranchResponse
{}
}
func
(
m
*
UserDeleteBranchResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UserDeleteBranchResponse
)
ProtoMessage
()
{}
func
(
*
UserDeleteBranchResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
3
}
}
func
(
m
*
UserDeleteBranchResponse
)
GetPreReceiveError
()
string
{
if
m
!=
nil
{
return
m
.
PreReceiveError
}
return
""
}
type
UserDeleteTagRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
TagName
[]
byte
`protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
...
...
@@ -82,7 +140,7 @@ type UserDeleteTagRequest struct {
func
(
m
*
UserDeleteTagRequest
)
Reset
()
{
*
m
=
UserDeleteTagRequest
{}
}
func
(
m
*
UserDeleteTagRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UserDeleteTagRequest
)
ProtoMessage
()
{}
func
(
*
UserDeleteTagRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
2
}
}
func
(
*
UserDeleteTagRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
4
}
}
func
(
m
*
UserDeleteTagRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
...
...
@@ -106,18 +164,110 @@ func (m *UserDeleteTagRequest) GetUser() *User {
}
type
UserDeleteTagResponse
struct
{
PreReceiveError
string
`protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func
(
m
*
UserDeleteTagResponse
)
Reset
()
{
*
m
=
UserDeleteTagResponse
{}
}
func
(
m
*
UserDeleteTagResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UserDeleteTagResponse
)
ProtoMessage
()
{}
func
(
*
UserDeleteTagResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
3
}
}
func
(
*
UserDeleteTagResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
5
}
}
func
(
m
*
UserDeleteTagResponse
)
GetPreReceiveError
()
string
{
if
m
!=
nil
{
return
m
.
PreReceiveError
}
return
""
}
type
UserCreateTagRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
TagName
[]
byte
`protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
User
*
User
`protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
TargetRevision
[]
byte
`protobuf:"bytes,4,opt,name=target_revision,json=targetRevision,proto3" json:"target_revision,omitempty"`
Message
[]
byte
`protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
}
func
(
m
*
UserCreateTagRequest
)
Reset
()
{
*
m
=
UserCreateTagRequest
{}
}
func
(
m
*
UserCreateTagRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UserCreateTagRequest
)
ProtoMessage
()
{}
func
(
*
UserCreateTagRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
6
}
}
func
(
m
*
UserCreateTagRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
UserCreateTagRequest
)
GetTagName
()
[]
byte
{
if
m
!=
nil
{
return
m
.
TagName
}
return
nil
}
func
(
m
*
UserCreateTagRequest
)
GetUser
()
*
User
{
if
m
!=
nil
{
return
m
.
User
}
return
nil
}
func
(
m
*
UserCreateTagRequest
)
GetTargetRevision
()
[]
byte
{
if
m
!=
nil
{
return
m
.
TargetRevision
}
return
nil
}
func
(
m
*
UserCreateTagRequest
)
GetMessage
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Message
}
return
nil
}
type
UserCreateTagResponse
struct
{
Tag
*
Tag
`protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
Exists
bool
`protobuf:"varint,2,opt,name=exists" json:"exists,omitempty"`
PreReceiveError
string
`protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError" json:"pre_receive_error,omitempty"`
}
func
(
m
*
UserCreateTagResponse
)
Reset
()
{
*
m
=
UserCreateTagResponse
{}
}
func
(
m
*
UserCreateTagResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
UserCreateTagResponse
)
ProtoMessage
()
{}
func
(
*
UserCreateTagResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor6
,
[]
int
{
7
}
}
func
(
m
*
UserCreateTagResponse
)
GetTag
()
*
Tag
{
if
m
!=
nil
{
return
m
.
Tag
}
return
nil
}
func
(
m
*
UserCreateTagResponse
)
GetExists
()
bool
{
if
m
!=
nil
{
return
m
.
Exists
}
return
false
}
func
(
m
*
UserCreateTagResponse
)
GetPreReceiveError
()
string
{
if
m
!=
nil
{
return
m
.
PreReceiveError
}
return
""
}
func
init
()
{
proto
.
RegisterType
((
*
UserCreateBranchRequest
)(
nil
),
"gitaly.UserCreateBranchRequest"
)
proto
.
RegisterType
((
*
UserCreateBranchResponse
)(
nil
),
"gitaly.UserCreateBranchResponse"
)
proto
.
RegisterType
((
*
UserDeleteBranchRequest
)(
nil
),
"gitaly.UserDeleteBranchRequest"
)
proto
.
RegisterType
((
*
UserDeleteBranchResponse
)(
nil
),
"gitaly.UserDeleteBranchResponse"
)
proto
.
RegisterType
((
*
UserDeleteTagRequest
)(
nil
),
"gitaly.UserDeleteTagRequest"
)
proto
.
RegisterType
((
*
UserDeleteTagResponse
)(
nil
),
"gitaly.UserDeleteTagResponse"
)
proto
.
RegisterType
((
*
UserCreateTagRequest
)(
nil
),
"gitaly.UserCreateTagRequest"
)
proto
.
RegisterType
((
*
UserCreateTagResponse
)(
nil
),
"gitaly.UserCreateTagResponse"
)
}
// Reference imports to suppress errors if they are not otherwise used.
...
...
@@ -132,6 +282,8 @@ const _ = grpc.SupportPackageIsVersion4
type
OperationServiceClient
interface
{
UserCreateBranch
(
ctx
context
.
Context
,
in
*
UserCreateBranchRequest
,
opts
...
grpc
.
CallOption
)
(
*
UserCreateBranchResponse
,
error
)
UserDeleteBranch
(
ctx
context
.
Context
,
in
*
UserDeleteBranchRequest
,
opts
...
grpc
.
CallOption
)
(
*
UserDeleteBranchResponse
,
error
)
UserCreateTag
(
ctx
context
.
Context
,
in
*
UserCreateTagRequest
,
opts
...
grpc
.
CallOption
)
(
*
UserCreateTagResponse
,
error
)
UserDeleteTag
(
ctx
context
.
Context
,
in
*
UserDeleteTagRequest
,
opts
...
grpc
.
CallOption
)
(
*
UserDeleteTagResponse
,
error
)
}
...
...
@@ -152,6 +304,24 @@ func (c *operationServiceClient) UserCreateBranch(ctx context.Context, in *UserC
return
out
,
nil
}
func
(
c
*
operationServiceClient
)
UserDeleteBranch
(
ctx
context
.
Context
,
in
*
UserDeleteBranchRequest
,
opts
...
grpc
.
CallOption
)
(
*
UserDeleteBranchResponse
,
error
)
{
out
:=
new
(
UserDeleteBranchResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/gitaly.OperationService/UserDeleteBranch"
,
in
,
out
,
c
.
cc
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
operationServiceClient
)
UserCreateTag
(
ctx
context
.
Context
,
in
*
UserCreateTagRequest
,
opts
...
grpc
.
CallOption
)
(
*
UserCreateTagResponse
,
error
)
{
out
:=
new
(
UserCreateTagResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/gitaly.OperationService/UserCreateTag"
,
in
,
out
,
c
.
cc
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
return
out
,
nil
}
func
(
c
*
operationServiceClient
)
UserDeleteTag
(
ctx
context
.
Context
,
in
*
UserDeleteTagRequest
,
opts
...
grpc
.
CallOption
)
(
*
UserDeleteTagResponse
,
error
)
{
out
:=
new
(
UserDeleteTagResponse
)
err
:=
grpc
.
Invoke
(
ctx
,
"/gitaly.OperationService/UserDeleteTag"
,
in
,
out
,
c
.
cc
,
opts
...
)
...
...
@@ -165,6 +335,8 @@ func (c *operationServiceClient) UserDeleteTag(ctx context.Context, in *UserDele
type
OperationServiceServer
interface
{
UserCreateBranch
(
context
.
Context
,
*
UserCreateBranchRequest
)
(
*
UserCreateBranchResponse
,
error
)
UserDeleteBranch
(
context
.
Context
,
*
UserDeleteBranchRequest
)
(
*
UserDeleteBranchResponse
,
error
)
UserCreateTag
(
context
.
Context
,
*
UserCreateTagRequest
)
(
*
UserCreateTagResponse
,
error
)
UserDeleteTag
(
context
.
Context
,
*
UserDeleteTagRequest
)
(
*
UserDeleteTagResponse
,
error
)
}
...
...
@@ -190,6 +362,42 @@ func _OperationService_UserCreateBranch_Handler(srv interface{}, ctx context.Con
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_OperationService_UserDeleteBranch_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
UserDeleteBranchRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
OperationServiceServer
)
.
UserDeleteBranch
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/gitaly.OperationService/UserDeleteBranch"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
OperationServiceServer
)
.
UserDeleteBranch
(
ctx
,
req
.
(
*
UserDeleteBranchRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_OperationService_UserCreateTag_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
UserCreateTagRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
return
nil
,
err
}
if
interceptor
==
nil
{
return
srv
.
(
OperationServiceServer
)
.
UserCreateTag
(
ctx
,
in
)
}
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
FullMethod
:
"/gitaly.OperationService/UserCreateTag"
,
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
OperationServiceServer
)
.
UserCreateTag
(
ctx
,
req
.
(
*
UserCreateTagRequest
))
}
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_OperationService_UserDeleteTag_Handler
(
srv
interface
{},
ctx
context
.
Context
,
dec
func
(
interface
{})
error
,
interceptor
grpc
.
UnaryServerInterceptor
)
(
interface
{},
error
)
{
in
:=
new
(
UserDeleteTagRequest
)
if
err
:=
dec
(
in
);
err
!=
nil
{
...
...
@@ -216,6 +424,14 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{
MethodName
:
"UserCreateBranch"
,
Handler
:
_OperationService_UserCreateBranch_Handler
,
},
{
MethodName
:
"UserDeleteBranch"
,
Handler
:
_OperationService_UserDeleteBranch_Handler
,
},
{
MethodName
:
"UserCreateTag"
,
Handler
:
_OperationService_UserCreateTag_Handler
,
},
{
MethodName
:
"UserDeleteTag"
,
Handler
:
_OperationService_UserDeleteTag_Handler
,
...
...
@@ -228,25 +444,35 @@ var _OperationService_serviceDesc = grpc.ServiceDesc{
func
init
()
{
proto
.
RegisterFile
(
"operations.proto"
,
fileDescriptor6
)
}
var
fileDescriptor6
=
[]
byte
{
// 308 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xa4
,
0x92
,
0xc1
,
0x4a
,
0xfb
,
0x40
,
0x10
,
0xc6
,
0xff
,
0xfb
,
0xb7
,
0x54
,
0x99
,
0x46
,
0x09
,
0x8b
,
0xd2
,
0x18
,
0x94
,
0x86
,
0x1c
,
0xa4
,
0xa7
,
0x1c
,
0xe2
,
0x1b
,
0x54
,
0xcf
,
0x55
,
0xa2
,
0xe2
,
0xb1
,
0x6c
,
0xeb
,
0x90
,
0x06
,
0xda
,
0x6c
,
0x9c
,
0x9d
,
0x0a
,
0x7d
,
0x02
,
0x9f
,
0xc7
,
0xb3
,
0x2f
,
0x27
,
0xc9
,
0x26
,
0x12
,
0xa3
,
0x05
,
0xc1
,
0xeb
,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d
,
0xf5
,
0x83
,
0xbc
,
0x43
,
0x5a
,
0xaa
,
0x19
,
0xb2
,
0x8f
,
0x30
,
0x6a
,
0xdf
,
0x1d
,
0x3b
,
0xad
,
0x7b
,
0xef
,
0xf8
,
0x44
,
0xc6
,
0xf1
,
0xee
,
0x06
,
0x67
,
0x87
,
0xf7
,
0x2a
,
0xe2
,
0xfa
,
0x36
,
0x37
,
0x89
,
0x3b
,
0x2e
,
0xaf
,
0x49
,
0xdc
,
0x75
,
0x08
,
0xbc
,
0xc7
,
0x2e
,
0xe0
,
0x4e
,
0x23
,
0x42
,
0xf6
,
0x78
,
0x5b
,
0xcd
,
0x66
,
0x4b
,
0xc6
,
0x27
,
0x3b
,
0xaa
,
0x6d
,
0xbe
,
0xf5
,
0x92
,
0x36
,
0xf9
,
0xda
,
0x47
,
0xd4
,
0xe4
,
0xdb
,
0xda
,
0x6c
,
0xde
,
0xbb
,
0x0c
,
0xcb
,
0x4f
,
0xf8
,
0xf9
,
0xef
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x4d
,
0x0d
,
0x02
,
0xa3
,
0xae
,
0x05
,
0x00
,
0x00
,
}
This diff is collapsed.
Click to expand it.
vendor/gitlab.com/gitlab-org/gitaly-proto/go/ref.pb.go
View file @
e231f245
...
...
@@ -415,7 +415,7 @@ func (m *FindAllTagsRequest) GetRepository() *Repository {
}
type
FindAllTagsResponse
struct
{
Tags
[]
*
FindAllTagsResponse_
Tag
`protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
Tags
[]
*
Tag
`protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
}
func
(
m
*
FindAllTagsResponse
)
Reset
()
{
*
m
=
FindAllTagsResponse
{}
}
...
...
@@ -423,53 +423,13 @@ func (m *FindAllTagsResponse) String() string { return proto.CompactT
func
(
*
FindAllTagsResponse
)
ProtoMessage
()
{}
func
(
*
FindAllTagsResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor7
,
[]
int
{
15
}
}
func
(
m
*
FindAllTagsResponse
)
GetTags
()
[]
*
FindAllTagsResponse_
Tag
{
func
(
m
*
FindAllTagsResponse
)
GetTags
()
[]
*
Tag
{
if
m
!=
nil
{
return
m
.
Tags
}
return
nil
}
type
FindAllTagsResponse_Tag
struct
{
Name
[]
byte
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id
string
`protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
TargetCommit
*
GitCommit
`protobuf:"bytes,3,opt,name=target_commit,json=targetCommit" json:"target_commit,omitempty"`
Message
[]
byte
`protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
}
func
(
m
*
FindAllTagsResponse_Tag
)
Reset
()
{
*
m
=
FindAllTagsResponse_Tag
{}
}
func
(
m
*
FindAllTagsResponse_Tag
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FindAllTagsResponse_Tag
)
ProtoMessage
()
{}
func
(
*
FindAllTagsResponse_Tag
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor7
,
[]
int
{
15
,
0
}
}
func
(
m
*
FindAllTagsResponse_Tag
)
GetName
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Name
}
return
nil
}
func
(
m
*
FindAllTagsResponse_Tag
)
GetId
()
string
{
if
m
!=
nil
{
return
m
.
Id
}
return
""
}
func
(
m
*
FindAllTagsResponse_Tag
)
GetTargetCommit
()
*
GitCommit
{
if
m
!=
nil
{
return
m
.
TargetCommit
}
return
nil
}
func
(
m
*
FindAllTagsResponse_Tag
)
GetMessage
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Message
}
return
nil
}
type
RefExistsRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
// Any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. Must start with 'refs/'.
...
...
@@ -659,7 +619,6 @@ func init() {
proto
.
RegisterType
((
*
FindAllBranchesResponse_Branch
)(
nil
),
"gitaly.FindAllBranchesResponse.Branch"
)
proto
.
RegisterType
((
*
FindAllTagsRequest
)(
nil
),
"gitaly.FindAllTagsRequest"
)
proto
.
RegisterType
((
*
FindAllTagsResponse
)(
nil
),
"gitaly.FindAllTagsResponse"
)
proto
.
RegisterType
((
*
FindAllTagsResponse_Tag
)(
nil
),
"gitaly.FindAllTagsResponse.Tag"
)
proto
.
RegisterType
((
*
RefExistsRequest
)(
nil
),
"gitaly.RefExistsRequest"
)
proto
.
RegisterType
((
*
RefExistsResponse
)(
nil
),
"gitaly.RefExistsResponse"
)
proto
.
RegisterType
((
*
CreateBranchRequest
)(
nil
),
"gitaly.CreateBranchRequest"
)
...
...
@@ -1217,71 +1176,68 @@ var _RefService_serviceDesc = grpc.ServiceDesc{
func
init
()
{
proto
.
RegisterFile
(
"ref.proto"
,
fileDescriptor7
)
}
var
fileDescriptor7
=
[]
byte
{
// 10
53
bytes of a gzipped FileDescriptorProto
// 10
07
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xb4
,
0x56
,
0x51
,
0x73
,
0x22
,
0x45
,
0x10
,
0xce
,
0x12
,
0x6e
,
0x93
,
0x34
,
0x1c
,
0xd9
,
0x4c
,
0x62
,
0x8e
,
0x2c
,
0xe7
,
0x25
,
0x37
,
0x7a
,
0x67
,
0xf2
,
0xb2
,
0xb1
,
0x48
,
0xe9
,
0x8b
,
0x3e
,
0x48
,
0x00
,
0x2f
,
0x78
,
0x91
,
0xa4
,
0x06
,
0xbc
,
0x4a
,
0x95
,
0x5a
,
0xd4
,
0x00
,
0x03
,
0x59
,
0x0b
,
0x58
,
0xdc
,
0x1d
,
0xce
,
0x4b
,
0x59
,
0xfa
,
0x07
,
0xfc
,
0x0f
,
0x3e
,
0xfa
,
0x57
,
0xee
,
0xc1
,
0x3f
,
0x65
,
0x31
,
0x33
,
0xbb
,
0xec
,
0x92
,
0x81
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0xca
,
0xfc
,
0x95
,
0x98
,
0x26
,
0xf3
,
0x4f
,
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
,
}
This diff is collapsed.
Click to expand it.
vendor/gitlab.com/gitlab-org/gitaly-proto/go/repository-service.pb.go
View file @
e231f245
...
...
@@ -17,6 +17,33 @@ var _ = proto.Marshal
var
_
=
fmt
.
Errorf
var
_
=
math
.
Inf
type
GetArchiveRequest_Format
int32
const
(
GetArchiveRequest_ZIP
GetArchiveRequest_Format
=
0
GetArchiveRequest_TAR
GetArchiveRequest_Format
=
1
GetArchiveRequest_TAR_GZ
GetArchiveRequest_Format
=
2
GetArchiveRequest_TAR_BZ2
GetArchiveRequest_Format
=
3
)
var
GetArchiveRequest_Format_name
=
map
[
int32
]
string
{
0
:
"ZIP"
,
1
:
"TAR"
,
2
:
"TAR_GZ"
,
3
:
"TAR_BZ2"
,
}
var
GetArchiveRequest_Format_value
=
map
[
string
]
int32
{
"ZIP"
:
0
,
"TAR"
:
1
,
"TAR_GZ"
:
2
,
"TAR_BZ2"
:
3
,
}
func
(
x
GetArchiveRequest_Format
)
String
()
string
{
return
proto
.
EnumName
(
GetArchiveRequest_Format_name
,
int32
(
x
))
}
func
(
GetArchiveRequest_Format
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor8
,
[]
int
{
16
,
0
}
}
type
RepositoryExistsRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
}
...
...
@@ -298,6 +325,62 @@ func (m *CreateRepositoryResponse) String() string { return proto.Com
func
(
*
CreateRepositoryResponse
)
ProtoMessage
()
{}
func
(
*
CreateRepositoryResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor8
,
[]
int
{
15
}
}
type
GetArchiveRequest
struct
{
Repository
*
Repository
`protobuf:"bytes,1,opt,name=repository" json:"repository,omitempty"`
CommitId
string
`protobuf:"bytes,2,opt,name=commit_id,json=commitId" json:"commit_id,omitempty"`
Prefix
string
`protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"`
Format
GetArchiveRequest_Format
`protobuf:"varint,4,opt,name=format,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"`
}
func
(
m
*
GetArchiveRequest
)
Reset
()
{
*
m
=
GetArchiveRequest
{}
}
func
(
m
*
GetArchiveRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetArchiveRequest
)
ProtoMessage
()
{}
func
(
*
GetArchiveRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor8
,
[]
int
{
16
}
}
func
(
m
*
GetArchiveRequest
)
GetRepository
()
*
Repository
{
if
m
!=
nil
{
return
m
.
Repository
}
return
nil
}
func
(
m
*
GetArchiveRequest
)
GetCommitId
()
string
{
if
m
!=
nil
{
return
m
.
CommitId
}
return
""
}
func
(
m
*
GetArchiveRequest
)
GetPrefix
()
string
{
if
m
!=
nil
{
return
m
.
Prefix
}
return
""
}
func
(
m
*
GetArchiveRequest
)
GetFormat
()
GetArchiveRequest_Format
{
if
m
!=
nil
{
return
m
.
Format
}
return
GetArchiveRequest_ZIP
}
type
GetArchiveResponse
struct
{
Data
[]
byte
`protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func
(
m
*
GetArchiveResponse
)
Reset
()
{
*
m
=
GetArchiveResponse
{}
}
func
(
m
*
GetArchiveResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
GetArchiveResponse
)
ProtoMessage
()
{}
func
(
*
GetArchiveResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor8
,
[]
int
{
17
}
}
func
(
m
*
GetArchiveResponse
)
GetData
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Data
}
return
nil
}
func
init
()
{
proto
.
RegisterType
((
*
RepositoryExistsRequest
)(
nil
),
"gitaly.RepositoryExistsRequest"
)
proto
.
RegisterType
((
*
RepositoryExistsResponse
)(
nil
),
"gitaly.RepositoryExistsResponse"
)
...
...
@@ -315,6 +398,9 @@ func init() {
proto
.
RegisterType
((
*
FetchRemoteResponse
)(
nil
),
"gitaly.FetchRemoteResponse"
)
proto
.
RegisterType
((
*
CreateRepositoryRequest
)(
nil
),
"gitaly.CreateRepositoryRequest"
)
proto
.
RegisterType
((
*
CreateRepositoryResponse
)(
nil
),
"gitaly.CreateRepositoryResponse"
)
proto
.
RegisterType
((
*
GetArchiveRequest
)(
nil
),
"gitaly.GetArchiveRequest"
)
proto
.
RegisterType
((
*
GetArchiveResponse
)(
nil
),
"gitaly.GetArchiveResponse"
)
proto
.
RegisterEnum
(
"gitaly.GetArchiveRequest_Format"
,
GetArchiveRequest_Format_name
,
GetArchiveRequest_Format_value
)
}
// Reference imports to suppress errors if they are not otherwise used.
...
...
@@ -336,6 +422,7 @@ type RepositoryServiceClient interface {
ApplyGitattributes
(
ctx
context
.
Context
,
in
*
ApplyGitattributesRequest
,
opts
...
grpc
.
CallOption
)
(
*
ApplyGitattributesResponse
,
error
)
FetchRemote
(
ctx
context
.
Context
,
in
*
FetchRemoteRequest
,
opts
...
grpc
.
CallOption
)
(
*
FetchRemoteResponse
,
error
)
CreateRepository
(
ctx
context
.
Context
,
in
*
CreateRepositoryRequest
,
opts
...
grpc
.
CallOption
)
(
*
CreateRepositoryResponse
,
error
)
GetArchive
(
ctx
context
.
Context
,
in
*
GetArchiveRequest
,
opts
...
grpc
.
CallOption
)
(
RepositoryService_GetArchiveClient
,
error
)
// Deprecated, use the RepositoryExists RPC instead.
Exists
(
ctx
context
.
Context
,
in
*
RepositoryExistsRequest
,
opts
...
grpc
.
CallOption
)
(
*
RepositoryExistsResponse
,
error
)
}
...
...
@@ -420,6 +507,38 @@ func (c *repositoryServiceClient) CreateRepository(ctx context.Context, in *Crea
return
out
,
nil
}
func
(
c
*
repositoryServiceClient
)
GetArchive
(
ctx
context
.
Context
,
in
*
GetArchiveRequest
,
opts
...
grpc
.
CallOption
)
(
RepositoryService_GetArchiveClient
,
error
)
{
stream
,
err
:=
grpc
.
NewClientStream
(
ctx
,
&
_RepositoryService_serviceDesc
.
Streams
[
0
],
c
.
cc
,
"/gitaly.RepositoryService/GetArchive"
,
opts
...
)
if
err
!=
nil
{
return
nil
,
err
}
x
:=
&
repositoryServiceGetArchiveClient
{
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
RepositoryService_GetArchiveClient
interface
{
Recv
()
(
*
GetArchiveResponse
,
error
)
grpc
.
ClientStream
}
type
repositoryServiceGetArchiveClient
struct
{
grpc
.
ClientStream
}
func
(
x
*
repositoryServiceGetArchiveClient
)
Recv
()
(
*
GetArchiveResponse
,
error
)
{
m
:=
new
(
GetArchiveResponse
)
if
err
:=
x
.
ClientStream
.
RecvMsg
(
m
);
err
!=
nil
{
return
nil
,
err
}
return
m
,
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
...
)
...
...
@@ -440,6 +559,7 @@ type RepositoryServiceServer interface {
ApplyGitattributes
(
context
.
Context
,
*
ApplyGitattributesRequest
)
(
*
ApplyGitattributesResponse
,
error
)
FetchRemote
(
context
.
Context
,
*
FetchRemoteRequest
)
(
*
FetchRemoteResponse
,
error
)
CreateRepository
(
context
.
Context
,
*
CreateRepositoryRequest
)
(
*
CreateRepositoryResponse
,
error
)
GetArchive
(
*
GetArchiveRequest
,
RepositoryService_GetArchiveServer
)
error
// Deprecated, use the RepositoryExists RPC instead.
Exists
(
context
.
Context
,
*
RepositoryExistsRequest
)
(
*
RepositoryExistsResponse
,
error
)
}
...
...
@@ -592,6 +712,27 @@ func _RepositoryService_CreateRepository_Handler(srv interface{}, ctx context.Co
return
interceptor
(
ctx
,
in
,
info
,
handler
)
}
func
_RepositoryService_GetArchive_Handler
(
srv
interface
{},
stream
grpc
.
ServerStream
)
error
{
m
:=
new
(
GetArchiveRequest
)
if
err
:=
stream
.
RecvMsg
(
m
);
err
!=
nil
{
return
err
}
return
srv
.
(
RepositoryServiceServer
)
.
GetArchive
(
m
,
&
repositoryServiceGetArchiveServer
{
stream
})
}
type
RepositoryService_GetArchiveServer
interface
{
Send
(
*
GetArchiveResponse
)
error
grpc
.
ServerStream
}
type
repositoryServiceGetArchiveServer
struct
{
grpc
.
ServerStream
}
func
(
x
*
repositoryServiceGetArchiveServer
)
Send
(
m
*
GetArchiveResponse
)
error
{
return
x
.
ServerStream
.
SendMsg
(
m
)
}
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
{
...
...
@@ -651,50 +792,64 @@ var _RepositoryService_serviceDesc = grpc.ServiceDesc{
Handler
:
_RepositoryService_Exists_Handler
,
},
},
Streams
:
[]
grpc
.
StreamDesc
{},
Streams
:
[]
grpc
.
StreamDesc
{
{
StreamName
:
"GetArchive"
,
Handler
:
_RepositoryService_GetArchive_Handler
,
ServerStreams
:
true
,
},
},
Metadata
:
"repository-service.proto"
,
}
func
init
()
{
proto
.
RegisterFile
(
"repository-service.proto"
,
fileDescriptor8
)
}
var
fileDescriptor8
=
[]
byte
{
// 593 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xb4
,
0x55
,
0xdb
,
0x6e
,
0xd3
,
0x4c
,
0x10
,
0x6e
,
0xfe
,
0xb6
,
0x4e
,
0xff
,
0x49
,
0x40
,
0x65
,
0x68
,
0x12
,
0xc7
,
0x05
,
0x1a
,
0xcc
,
0x4d
,
0x2f
,
0x20
,
0x17
,
0xe1
,
0x09
,
0xa0
,
0xea
,
0x01
,
0x55
,
0x41
,
0xc2
,
0x20
,
0x55
,
0x42
,
0x42
,
0xd1
,
0xc6
,
0x0c
,
0xc9
,
0x2a
,
0x8e
,
0xd7
,
0xec
,
0x6e
,
0x0a
,
0xe9
,
0x03
,
0xf0
,
0xa2
,
0xbc
,
0x08
,
0xca
,
0xda
,
0xb1
,
0x9d
,
0xc4
,
0xe9
,
0x8d
,
0xe1
,
0x2e
,
0x3b
,
0x87
,
0x6f
,
0x0e
,
0xfe
,
0xbe
,
0x09
,
0xd8
,
0x92
,
0x22
,
0xa1
,
0xb8
,
0x16
,
0x72
,
0xfe
,
0x4a
,
0x91
,
0xbc
,
0xe5
,
0x3e
,
0x75
,
0x23
,
0x29
,
0xb4
,
0x40
,
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c
,
0x75
,
0x77
,
0xb0
,
0x0f
,
0xd6
,
0x5f
,
0x64
,
0xe6
,
0xd0
,
0x32
,
0xff
,
0xbe
,
0xaf
,
0xff
,
0x04
,
0x00
,
0x00
,
0xff
,
0xff
,
0xd3
,
0xae
,
0xf2
,
0xe4
,
0xaf
,
0x07
,
0x00
,
0x00
,
// 734 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xb4
,
0x56
,
0x4f
,
0x6f
,
0xda
,
0x4a
,
0x10
,
0x87
,
0x90
,
0x98
,
0x64
,
0xe0
,
0x45
,
0x64
,
0x5e
,
0xfe
,
0x38
,
0xce
,
0x7b
,
0x0d
,
0x75
,
0x2f
,
0x39
,
0xb4
,
0xa8
,
0x22
,
0x97
,
0x5e
,
0x49
,
0x94
,
0x90
,
0x28
,
0x4a
,
0xd5
,
0xba
,
0x91
,
0x22
,
0x21
,
0x55
,
0x68
,
0x31
,
0x1b
,
0x58
,
0x01
,
0x5e
,
0x77
,
0x77
,
0x49
,
0x43
,
0xbe
,
0x64
,
0x3f
,
0x44
,
0x8f
,
0xfd
,
0x12
,
0x15
,
0x6b
,
0x63
,
0x1b
,
0x6c
,
0x72
,
0xa1
,
0xbd
,
0x79
,
0x67
,
0x67
,
0x7e
,
0x33
,
0xfb
,
0x9b
,
0x99
,
0x9f
,
0x0c
,
0xa6
,
0xa0
,
0x3e
,
0x97
,
0x4c
,
0x71
,
0x31
,
0x79
,
0x27
,
0xa9
,
0x78
,
0x64
,
0x2e
,
0xad
,
0xf9
,
0x82
,
0x2b
,
0x8e
,
0x46
,
0x8f
,
0x29
,
0x32
,
0x9c
,
0x58
,
0x65
,
0xd9
,
0x27
,
0x82
,
0x76
,
0x03
,
0xab
,
0x7d
,
0x0b
,
0x07
,
0x4e
,
0x14
,
0x71
,
0xf1
,
0xc4
,
0xa4
,
0x92
,
0x0e
,
0xfd
,
0x36
,
0x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
,
0xbf
,
0xe0
,
0x11
,
0x61
,
0x5f
,
0x00
,
0xc4
,
0x92
,
0x87
,
0x87
,
0xf3
,
0x21
,
0x09
,
0xd1
,
0xb5
,
0xac
,
0xac
,
0xab
,
0x08
,
0xe6
,
0x33
,
0x6c
,
0xcf
,
0x2b
,
0x16
,
0xfe
,
0x1f
,
0x35
,
0x2b
,
0x4b
,
0x3b
,
0xad
,
0x57
,
0xcb
,
0xae
,
0x93
,
0x90
,
0xf3
,
0xea
,
0x14
,
0x43
,
0x66
,
0x4a
,
0x60
,
0x0c
,
0x99
,
0x2d
,
0x6a
,
0x76
,
0x0e
,
0xbf
,
0x02
,
0xa6
,
0x55
,
0x05
,
0x23
,
0x9e
,
0x96
,
0xca
,
0x9b
,
0x65
,
0xbf
,
0xe4
,
0x12
,
0xc1
,
0x5f
,
0x41
,
0x29
,
0xb1
,
0xb0
,
0x18
,
0x31
,
0x96
,
0x96
,
0x2a
,
0xeb
,
0x28
,
0xf3
,
0x2e
,
0x42
,
0xba
,
0x87
,
0xca
,
0xe2
,
0x52
,
0xc6
,
0xa3
,
0xb4
,
0x64
,
0xfb
,
0xe3
,
0x51
,
0x5a
,
0xba
,
0xcf
,
0x39
,
0x6c
,
0x02
,
0xc4
,
0x33
,
0x1e
,
0xb7
,
0x3b
,
0xb5
,
0x50
,
0x71
,
0xbb
,
0xd3
,
0x2b
,
0x61
,
0xe7
,
0xde
,
0xe7
,
0xf1
,
0x16
,
0x8c
,
0x3f
,
0x38
,
0xe2
,
0x1d
,
0x43
,
0xff
,
0xde
,
0x9c
,
0xfe
,
0x0e
,
0x00
,
0x00
,
0xff
,
0xff
,
0x20
,
0x17
,
0xa1
,
0x43
,
0x10
,
0x09
,
0x00
,
0x00
,
}
This diff is collapsed.
Click to expand it.
vendor/gitlab.com/gitlab-org/gitaly-proto/go/shared.pb.go
View file @
e231f245
...
...
@@ -197,6 +197,46 @@ func (m *Branch) GetTargetCommit() *GitCommit {
return
nil
}
type
Tag
struct
{
Name
[]
byte
`protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Id
string
`protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
TargetCommit
*
GitCommit
`protobuf:"bytes,3,opt,name=target_commit,json=targetCommit" json:"target_commit,omitempty"`
Message
[]
byte
`protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
}
func
(
m
*
Tag
)
Reset
()
{
*
m
=
Tag
{}
}
func
(
m
*
Tag
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Tag
)
ProtoMessage
()
{}
func
(
*
Tag
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor9
,
[]
int
{
5
}
}
func
(
m
*
Tag
)
GetName
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Name
}
return
nil
}
func
(
m
*
Tag
)
GetId
()
string
{
if
m
!=
nil
{
return
m
.
Id
}
return
""
}
func
(
m
*
Tag
)
GetTargetCommit
()
*
GitCommit
{
if
m
!=
nil
{
return
m
.
TargetCommit
}
return
nil
}
func
(
m
*
Tag
)
GetMessage
()
[]
byte
{
if
m
!=
nil
{
return
m
.
Message
}
return
nil
}
type
User
struct
{
GlId
string
`protobuf:"bytes,1,opt,name=gl_id,json=glId" json:"gl_id,omitempty"`
Name
[]
byte
`protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
...
...
@@ -206,7 +246,7 @@ type User struct {
func
(
m
*
User
)
Reset
()
{
*
m
=
User
{}
}
func
(
m
*
User
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
User
)
ProtoMessage
()
{}
func
(
*
User
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor9
,
[]
int
{
5
}
}
func
(
*
User
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor9
,
[]
int
{
6
}
}
func
(
m
*
User
)
GetGlId
()
string
{
if
m
!=
nil
{
...
...
@@ -235,41 +275,44 @@ func init() {
proto
.
RegisterType
((
*
CommitAuthor
)(
nil
),
"gitaly.CommitAuthor"
)
proto
.
RegisterType
((
*
ExitStatus
)(
nil
),
"gitaly.ExitStatus"
)
proto
.
RegisterType
((
*
Branch
)(
nil
),
"gitaly.Branch"
)
proto
.
RegisterType
((
*
Tag
)(
nil
),
"gitaly.Tag"
)
proto
.
RegisterType
((
*
User
)(
nil
),
"gitaly.User"
)
}
func
init
()
{
proto
.
RegisterFile
(
"shared.proto"
,
fileDescriptor9
)
}
var
fileDescriptor9
=
[]
byte
{
// 468 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x7c
,
0x52
,
0xc1
,
0x6e
,
0xd3
,
0x40
,
0x10
,
0x55
,
0x1c
,
0xc7
,
0xe0
,
0x89
,
0x8b
,
0x60
,
0xc9
,
0xc1
,
0xaa
,
0x54
,
0x11
,
0xcc
,
0xa5
,
0x07
,
0xe4
,
0xa2
,
0x20
,
0x71
,
0x2f
,
0x50
,
0x55
,
0xe5
,
0x00
,
0x68
,
0x29
,
0x67
,
0x6b
,
0x13
,
0x0f
,
0xeb
,
0x45
,
0xeb
,
0xac
,
0xb5
,
0x3b
,
0xae
,
0xc8
,
0x8d
,
0xef
,
0xe3
,
0xab
,
0x90
,
0x77
,
0xe3
,
0xb4
,
0xa0
,
0xaa
,
0xb7
,
0x9d
,
0xd9
,
0xf7
,
0x66
,
0xde
,
0x9b
,
0x19
,
0xc8
,
0x5c
,
0x23
,
0x2c
,
0xd6
,
0x65
,
0x67
,
0x0d
,
0x19
,
0x96
,
0x48
,
0x45
,
0x42
,
0xef
,
0x8e
,
0x5f
,
0x48
,
0x63
,
0xa4
,
0xc6
,
0x33
,
0x9f
,
0x5d
,
0xf7
,
0x3f
,
0xce
,
0x48
,
0xb5
,
0xe8
,
0x48
,
0xb4
,
0x5d
,
0x00
,
0x16
,
0xbf
,
0x23
,
0x00
,
0x8e
,
0x9d
,
0x71
,
0x8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
0x20
,
0xfe
,
0xee
,
0xd0
,
0xb2
,
0xe7
,
0x30
,
0x93
,
0xba
,
0x3a
,
0x6c
,
0x2b
,
0x96
,
0xfa
,
0xaa
,
0x3e
,
0x34
,
0x8a
,
0xee
,
0x33
,
0x3c
,
0xbd
,
0x63
,
0x78
,
0x9d
,
0x78
,
0x6b
,
0x6f
,
0xff
,
0x06
,
0x00
,
0x00
,
0xff
,
0xff
,
0x86
,
0x24
,
0x75
,
0x89
,
0x3a
,
0x03
,
0x00
,
0x00
,
// 500 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x8c
,
0x52
,
0xc1
,
0x6e
,
0xd3
,
0x40
,
0x10
,
0x55
,
0x1c
,
0xc7
,
0x90
,
0x89
,
0x8b
,
0x60
,
0xe9
,
0xc1
,
0xaa
,
0x54
,
0x11
,
0xcc
,
0xa5
,
0x07
,
0xe4
,
0xa2
,
0x20
,
0x71
,
0x2f
,
0x50
,
0x55
,
0xe5
,
0x00
,
0x68
,
0x09
,
0x67
,
0x6b
,
0x12
,
0x0f
,
0xeb
,
0x45
,
0x76
,
0x36
,
0xda
,
0x9d
,
0x54
,
0x44
,
0x5c
,
0xf8
,
0x3e
,
0xbe
,
0x0a
,
0x79
,
0x37
,
0x4e
,
0x0b
,
0x44
,
0x88
,
0xdb
,
0xce
,
0xec
,
0x9b
,
0x99
,
0xf7
,
0xe6
,
0x0d
,
0xa4
,
0xae
,
0x46
,
0x4b
,
0x55
,
0xb1
,
0xb6
,
0x86
,
0x8d
,
0x48
,
0x94
,
0x66
,
0x6c
,
0xb6
,
0x27
,
0x4f
,
0x94
,
0x31
,
0xaa
,
0xa1
,
0x73
,
0x9f
,
0x5d
,
0x6c
,
0xbe
,
0x9c
,
0xb3
,
0x6e
,
0xc9
,
0x31
,
0xb6
,
0xeb
,
0x00
,
0xcc
,
0x7f
,
0x44
,
0x00
,
0x92
,
0xd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5c
,
0x88
,
0xf2
,
0xef
,
0x30
,
0x9c
,
0xa3
,
0x3a
,
0xd8
,
0x32
,
0xb8
,
0x17
,
0xed
,
0xdd
,
0xfb
,
0x6b
,
0xc4
,
0xf0
,
0xbf
,
0x46
,
0x74
,
0xae
,
0xb7
,
0xe4
,
0x1c
,
0x2a
,
0xf2
,
0x46
,
0xa6
,
0xb2
,
0x0f
,
0xf3
,
0x4b
,
0x88
,
0x3f
,
0x3b
,
0xb2
,
0xe2
,
0x31
,
0x8c
,
0x54
,
0x53
,
0xee
,
0x4f
,
0x25
,
0x56
,
0xcd
,
0x75
,
0xb5
,
0xa7
,
0x14
,
0x1d
,
0xda
,
0xf6
,
0xf0
,
0xce
,
0xb6
,
0x17
,
0x89
,
0xdf
,
0xeb
,
0xcb
,
0x5f
,
0x01
,
0x00
,
0x00
,
0xff
,
0xff
,
0xaa
,
0x7f
,
0xf5
,
0xea
,
0xb7
,
0x03
,
0x00
,
0x00
,
}
This diff is collapsed.
Click to expand it.
vendor/vendor.json
View file @
e231f245
...
...
@@ -152,12 +152,12 @@
"revisionTime"
:
"2016-11-17T07:43:51Z"
},
{
"checksumSHA1"
:
"
A2jWY7L3EazZt0xdKFKMDOGXCd
k="
,
"checksumSHA1"
:
"
tisAil16tojFqhqWYbs2kXwBYy
k="
,
"path"
:
"gitlab.com/gitlab-org/gitaly-proto/go"
,
"revision"
:
"
b61fee8cd76e282d15a3c719f7f71a4f71ef0d6c
"
,
"revisionTime"
:
"2017-09-2
0T19:16:33
Z"
,
"version"
:
"v0.3
5
.0"
,
"versionExact"
:
"v0.3
5
.0"
"revision"
:
"
12872bd8dad9dc72328b2c590386e67a17c65612
"
,
"revisionTime"
:
"2017-09-2
7T21:53:01
Z"
,
"version"
:
"v0.3
8
.0"
,
"versionExact"
:
"v0.3
8
.0"
},
{
"checksumSHA1"
:
"dUHJbKas746n5fLzlwxHb6FOCxs="
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment