gitaly 14.1.0.pre.rc3 → 14.3.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly/blob_pb.rb +18 -0
- data/ruby/proto/gitaly/blob_services_pb.rb +10 -7
- data/ruby/proto/gitaly/cleanup_services_pb.rb +2 -2
- data/ruby/proto/gitaly/commit_pb.rb +9 -0
- data/ruby/proto/gitaly/commit_services_pb.rb +24 -24
- data/ruby/proto/gitaly/conflicts_pb.rb +1 -0
- data/ruby/proto/gitaly/conflicts_services_pb.rb +3 -3
- data/ruby/proto/gitaly/diff_services_pb.rb +7 -7
- data/ruby/proto/gitaly/hook_pb.rb +8 -0
- data/ruby/proto/gitaly/hook_services_pb.rb +9 -6
- data/ruby/proto/gitaly/internal_services_pb.rb +2 -2
- data/ruby/proto/gitaly/namespace_services_pb.rb +5 -5
- data/ruby/proto/gitaly/objectpool_services_pb.rb +9 -9
- data/ruby/proto/gitaly/operations_services_pb.rb +16 -16
- data/ruby/proto/gitaly/praefect_pb.rb +3 -17
- data/ruby/proto/gitaly/praefect_services_pb.rb +6 -11
- data/ruby/proto/gitaly/ref_pb.rb +41 -10
- data/ruby/proto/gitaly/ref_services_pb.rb +28 -20
- data/ruby/proto/gitaly/remote_pb.rb +0 -35
- data/ruby/proto/gitaly/remote_services_pb.rb +5 -7
- data/ruby/proto/gitaly/repository-service_pb.rb +17 -10
- data/ruby/proto/gitaly/repository-service_services_pb.rb +60 -44
- data/ruby/proto/gitaly/server_services_pb.rb +3 -3
- data/ruby/proto/gitaly/shared_pb.rb +9 -0
- data/ruby/proto/gitaly/smarthttp_services_pb.rb +5 -5
- data/ruby/proto/gitaly/ssh_services_pb.rb +4 -4
- data/ruby/proto/gitaly/transaction_services_pb.rb +3 -3
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_services_pb.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34a4de9c5004bab6828ee75326807ecb5d3b08e1b6f77640afeb1a92128f637d
|
4
|
+
data.tar.gz: 3a9bbb3fa87a2a09e3fd717281f046848802b233d905a7caecc6f2dd14a4f858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 407613bf5ee4e0516de250e527a9f90dab538ed731f417d6e6c3492eb9a6a19c734af3fa434200f60c0e8827e325a6cdfbd32a3f917e20ca0238332639d82eae
|
7
|
+
data.tar.gz: 3cc9f6bb65c395c24552b4bc6485ac7a8945bea73894916dfd056d81f63f8de70f32ef598de3f9db1be943b5cc32a8f13b8edf50f9d9390e9c35a7c85241cca6
|
@@ -41,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
41
|
repeated :revisions, :string, 2
|
42
42
|
optional :limit, :uint32, 3
|
43
43
|
optional :bytes_limit, :int64, 4
|
44
|
+
optional :with_paths, :bool, 5
|
44
45
|
end
|
45
46
|
add_message "gitaly.ListBlobsResponse" do
|
46
47
|
repeated :blobs, :message, 1, "gitaly.ListBlobsResponse.Blob"
|
@@ -49,6 +50,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
49
50
|
optional :oid, :string, 1
|
50
51
|
optional :size, :int64, 2
|
51
52
|
optional :data, :bytes, 3
|
53
|
+
optional :path, :bytes, 4
|
54
|
+
end
|
55
|
+
add_message "gitaly.ListAllBlobsRequest" do
|
56
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
57
|
+
optional :limit, :uint32, 2
|
58
|
+
optional :bytes_limit, :int64, 3
|
59
|
+
end
|
60
|
+
add_message "gitaly.ListAllBlobsResponse" do
|
61
|
+
repeated :blobs, :message, 1, "gitaly.ListAllBlobsResponse.Blob"
|
62
|
+
end
|
63
|
+
add_message "gitaly.ListAllBlobsResponse.Blob" do
|
64
|
+
optional :oid, :string, 1
|
65
|
+
optional :size, :int64, 2
|
66
|
+
optional :data, :bytes, 3
|
52
67
|
end
|
53
68
|
add_message "gitaly.LFSPointer" do
|
54
69
|
optional :size, :int64, 1
|
@@ -94,6 +109,9 @@ module Gitaly
|
|
94
109
|
ListBlobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBlobsRequest").msgclass
|
95
110
|
ListBlobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBlobsResponse").msgclass
|
96
111
|
ListBlobsResponse::Blob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBlobsResponse.Blob").msgclass
|
112
|
+
ListAllBlobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllBlobsRequest").msgclass
|
113
|
+
ListAllBlobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllBlobsResponse").msgclass
|
114
|
+
ListAllBlobsResponse::Blob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllBlobsResponse.Blob").msgclass
|
97
115
|
LFSPointer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LFSPointer").msgclass
|
98
116
|
NewBlobObject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NewBlobObject").msgclass
|
99
117
|
GetLFSPointersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetLFSPointersRequest").msgclass
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module BlobService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
@@ -17,26 +17,29 @@ module Gitaly
|
|
17
17
|
# GetBlob returns the contents of a blob object referenced by its object
|
18
18
|
# ID. We use a stream to return a chunked arbitrarily large binary
|
19
19
|
# response
|
20
|
-
rpc :GetBlob, Gitaly::GetBlobRequest, stream(Gitaly::GetBlobResponse)
|
21
|
-
rpc :GetBlobs, Gitaly::GetBlobsRequest, stream(Gitaly::GetBlobsResponse)
|
20
|
+
rpc :GetBlob, ::Gitaly::GetBlobRequest, stream(::Gitaly::GetBlobResponse)
|
21
|
+
rpc :GetBlobs, ::Gitaly::GetBlobsRequest, stream(::Gitaly::GetBlobsResponse)
|
22
22
|
# ListBlobs will list all blobs reachable from a given set of revisions by
|
23
23
|
# doing a graph walk. It is not valid to pass revisions which do not resolve
|
24
24
|
# to an existing object.
|
25
|
-
rpc :ListBlobs, Gitaly::ListBlobsRequest, stream(Gitaly::ListBlobsResponse)
|
25
|
+
rpc :ListBlobs, ::Gitaly::ListBlobsRequest, stream(::Gitaly::ListBlobsResponse)
|
26
|
+
# ListAllBlobs retrieves all blobs pointers in the repository, including
|
27
|
+
# those not reachable by any reference.
|
28
|
+
rpc :ListAllBlobs, ::Gitaly::ListAllBlobsRequest, stream(::Gitaly::ListAllBlobsResponse)
|
26
29
|
# GetLFSPointers retrieves LFS pointers from a given set of object IDs.
|
27
30
|
# This RPC filters all requested objects and only returns those which refer
|
28
31
|
# to a valid LFS pointer.
|
29
|
-
rpc :GetLFSPointers, Gitaly::GetLFSPointersRequest, stream(Gitaly::GetLFSPointersResponse)
|
32
|
+
rpc :GetLFSPointers, ::Gitaly::GetLFSPointersRequest, stream(::Gitaly::GetLFSPointersResponse)
|
30
33
|
# ListLFSPointers retrieves LFS pointers reachable from a given set of
|
31
34
|
# revisions by doing a graph walk. This includes both normal revisions like
|
32
35
|
# an object ID or branch, but also the pseudo-revisions "--all" and "--not"
|
33
36
|
# as documented in git-rev-parse(1). Revisions which don't directly or
|
34
37
|
# transitively reference any LFS pointers are ignored. It is not valid to
|
35
38
|
# pass revisions which do not resolve to an existing object.
|
36
|
-
rpc :ListLFSPointers, Gitaly::ListLFSPointersRequest, stream(Gitaly::ListLFSPointersResponse)
|
39
|
+
rpc :ListLFSPointers, ::Gitaly::ListLFSPointersRequest, stream(::Gitaly::ListLFSPointersResponse)
|
37
40
|
# ListAllLFSPointers retrieves all LFS pointers in the repository, including
|
38
41
|
# those not reachable by any reference.
|
39
|
-
rpc :ListAllLFSPointers, Gitaly::ListAllLFSPointersRequest, stream(Gitaly::ListAllLFSPointersResponse)
|
42
|
+
rpc :ListAllLFSPointers, ::Gitaly::ListAllLFSPointersRequest, stream(::Gitaly::ListAllLFSPointersResponse)
|
40
43
|
end
|
41
44
|
|
42
45
|
Stub = Service.rpc_stub_class
|
@@ -8,13 +8,13 @@ module Gitaly
|
|
8
8
|
module CleanupService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.CleanupService'
|
16
16
|
|
17
|
-
rpc :ApplyBfgObjectMapStream, stream(Gitaly::ApplyBfgObjectMapStreamRequest), stream(Gitaly::ApplyBfgObjectMapStreamResponse)
|
17
|
+
rpc :ApplyBfgObjectMapStream, stream(::Gitaly::ApplyBfgObjectMapStreamRequest), stream(::Gitaly::ApplyBfgObjectMapStreamResponse)
|
18
18
|
end
|
19
19
|
|
20
20
|
Stub = Service.rpc_stub_class
|
@@ -13,6 +13,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
13
13
|
repeated :revisions, :string, 2
|
14
14
|
optional :pagination_params, :message, 3, "gitaly.PaginationParameter"
|
15
15
|
optional :order, :enum, 4, "gitaly.ListCommitsRequest.Order"
|
16
|
+
optional :reverse, :bool, 11
|
16
17
|
optional :max_parents, :uint32, 5
|
17
18
|
optional :disable_walk, :bool, 6
|
18
19
|
optional :first_parent, :bool, 7
|
@@ -124,9 +125,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
124
125
|
optional :revision, :bytes, 2
|
125
126
|
optional :path, :bytes, 3
|
126
127
|
optional :recursive, :bool, 4
|
128
|
+
optional :sort, :enum, 5, "gitaly.GetTreeEntriesRequest.SortBy"
|
129
|
+
optional :pagination_params, :message, 6, "gitaly.PaginationParameter"
|
130
|
+
end
|
131
|
+
add_enum "gitaly.GetTreeEntriesRequest.SortBy" do
|
132
|
+
value :DEFAULT, 0
|
133
|
+
value :TREES_FIRST, 1
|
127
134
|
end
|
128
135
|
add_message "gitaly.GetTreeEntriesResponse" do
|
129
136
|
repeated :entries, :message, 1, "gitaly.TreeEntry"
|
137
|
+
optional :pagination_cursor, :message, 2, "gitaly.PaginationCursor"
|
130
138
|
end
|
131
139
|
add_message "gitaly.ListFilesRequest" do
|
132
140
|
optional :repository, :message, 1, "gitaly.Repository"
|
@@ -318,6 +326,7 @@ module Gitaly
|
|
318
326
|
TreeEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry").msgclass
|
319
327
|
TreeEntry::EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry.EntryType").enummodule
|
320
328
|
GetTreeEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest").msgclass
|
329
|
+
GetTreeEntriesRequest::SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest.SortBy").enummodule
|
321
330
|
GetTreeEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesResponse").msgclass
|
322
331
|
ListFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesRequest").msgclass
|
323
332
|
ListFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesResponse").msgclass
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module CommitService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
@@ -18,32 +18,32 @@ module Gitaly
|
|
18
18
|
# graph walk. This deprecates ListNewCommits, FindAllCommits, FindCommits
|
19
19
|
# (except Follow is not yet supported) and CommitsBetweenRequest. Any
|
20
20
|
# unknown revisions will cause the RPC to fail.
|
21
|
-
rpc :ListCommits, Gitaly::ListCommitsRequest, stream(Gitaly::ListCommitsResponse)
|
21
|
+
rpc :ListCommits, ::Gitaly::ListCommitsRequest, stream(::Gitaly::ListCommitsResponse)
|
22
22
|
# ListAllCommits lists all commits present in the repository, including
|
23
23
|
# those not reachable by any reference.
|
24
|
-
rpc :ListAllCommits, Gitaly::ListAllCommitsRequest, stream(Gitaly::ListAllCommitsResponse)
|
25
|
-
rpc :CommitIsAncestor, Gitaly::CommitIsAncestorRequest, Gitaly::CommitIsAncestorResponse
|
26
|
-
rpc :TreeEntry, Gitaly::TreeEntryRequest, stream(Gitaly::TreeEntryResponse)
|
27
|
-
rpc :CommitsBetween, Gitaly::CommitsBetweenRequest, stream(Gitaly::CommitsBetweenResponse)
|
28
|
-
rpc :CountCommits, Gitaly::CountCommitsRequest, Gitaly::CountCommitsResponse
|
29
|
-
rpc :CountDivergingCommits, Gitaly::CountDivergingCommitsRequest, Gitaly::CountDivergingCommitsResponse
|
30
|
-
rpc :GetTreeEntries, Gitaly::GetTreeEntriesRequest, stream(Gitaly::GetTreeEntriesResponse)
|
31
|
-
rpc :ListFiles, Gitaly::ListFilesRequest, stream(Gitaly::ListFilesResponse)
|
32
|
-
rpc :FindCommit, Gitaly::FindCommitRequest, Gitaly::FindCommitResponse
|
33
|
-
rpc :CommitStats, Gitaly::CommitStatsRequest, Gitaly::CommitStatsResponse
|
24
|
+
rpc :ListAllCommits, ::Gitaly::ListAllCommitsRequest, stream(::Gitaly::ListAllCommitsResponse)
|
25
|
+
rpc :CommitIsAncestor, ::Gitaly::CommitIsAncestorRequest, ::Gitaly::CommitIsAncestorResponse
|
26
|
+
rpc :TreeEntry, ::Gitaly::TreeEntryRequest, stream(::Gitaly::TreeEntryResponse)
|
27
|
+
rpc :CommitsBetween, ::Gitaly::CommitsBetweenRequest, stream(::Gitaly::CommitsBetweenResponse)
|
28
|
+
rpc :CountCommits, ::Gitaly::CountCommitsRequest, ::Gitaly::CountCommitsResponse
|
29
|
+
rpc :CountDivergingCommits, ::Gitaly::CountDivergingCommitsRequest, ::Gitaly::CountDivergingCommitsResponse
|
30
|
+
rpc :GetTreeEntries, ::Gitaly::GetTreeEntriesRequest, stream(::Gitaly::GetTreeEntriesResponse)
|
31
|
+
rpc :ListFiles, ::Gitaly::ListFilesRequest, stream(::Gitaly::ListFilesResponse)
|
32
|
+
rpc :FindCommit, ::Gitaly::FindCommitRequest, ::Gitaly::FindCommitResponse
|
33
|
+
rpc :CommitStats, ::Gitaly::CommitStatsRequest, ::Gitaly::CommitStatsResponse
|
34
34
|
# Use a stream to paginate the result set
|
35
|
-
rpc :FindAllCommits, Gitaly::FindAllCommitsRequest, stream(Gitaly::FindAllCommitsResponse)
|
36
|
-
rpc :FindCommits, Gitaly::FindCommitsRequest, stream(Gitaly::FindCommitsResponse)
|
37
|
-
rpc :CommitLanguages, Gitaly::CommitLanguagesRequest, Gitaly::CommitLanguagesResponse
|
38
|
-
rpc :RawBlame, Gitaly::RawBlameRequest, stream(Gitaly::RawBlameResponse)
|
39
|
-
rpc :LastCommitForPath, Gitaly::LastCommitForPathRequest, Gitaly::LastCommitForPathResponse
|
40
|
-
rpc :ListLastCommitsForTree, Gitaly::ListLastCommitsForTreeRequest, stream(Gitaly::ListLastCommitsForTreeResponse)
|
41
|
-
rpc :CommitsByMessage, Gitaly::CommitsByMessageRequest, stream(Gitaly::CommitsByMessageResponse)
|
42
|
-
rpc :ListCommitsByOid, Gitaly::ListCommitsByOidRequest, stream(Gitaly::ListCommitsByOidResponse)
|
43
|
-
rpc :ListCommitsByRefName, Gitaly::ListCommitsByRefNameRequest, stream(Gitaly::ListCommitsByRefNameResponse)
|
44
|
-
rpc :FilterShasWithSignatures, stream(Gitaly::FilterShasWithSignaturesRequest), stream(Gitaly::FilterShasWithSignaturesResponse)
|
45
|
-
rpc :GetCommitSignatures, Gitaly::GetCommitSignaturesRequest, stream(Gitaly::GetCommitSignaturesResponse)
|
46
|
-
rpc :GetCommitMessages, Gitaly::GetCommitMessagesRequest, stream(Gitaly::GetCommitMessagesResponse)
|
35
|
+
rpc :FindAllCommits, ::Gitaly::FindAllCommitsRequest, stream(::Gitaly::FindAllCommitsResponse)
|
36
|
+
rpc :FindCommits, ::Gitaly::FindCommitsRequest, stream(::Gitaly::FindCommitsResponse)
|
37
|
+
rpc :CommitLanguages, ::Gitaly::CommitLanguagesRequest, ::Gitaly::CommitLanguagesResponse
|
38
|
+
rpc :RawBlame, ::Gitaly::RawBlameRequest, stream(::Gitaly::RawBlameResponse)
|
39
|
+
rpc :LastCommitForPath, ::Gitaly::LastCommitForPathRequest, ::Gitaly::LastCommitForPathResponse
|
40
|
+
rpc :ListLastCommitsForTree, ::Gitaly::ListLastCommitsForTreeRequest, stream(::Gitaly::ListLastCommitsForTreeResponse)
|
41
|
+
rpc :CommitsByMessage, ::Gitaly::CommitsByMessageRequest, stream(::Gitaly::CommitsByMessageResponse)
|
42
|
+
rpc :ListCommitsByOid, ::Gitaly::ListCommitsByOidRequest, stream(::Gitaly::ListCommitsByOidResponse)
|
43
|
+
rpc :ListCommitsByRefName, ::Gitaly::ListCommitsByRefNameRequest, stream(::Gitaly::ListCommitsByRefNameResponse)
|
44
|
+
rpc :FilterShasWithSignatures, stream(::Gitaly::FilterShasWithSignaturesRequest), stream(::Gitaly::FilterShasWithSignaturesResponse)
|
45
|
+
rpc :GetCommitSignatures, ::Gitaly::GetCommitSignaturesRequest, stream(::Gitaly::GetCommitSignaturesResponse)
|
46
|
+
rpc :GetCommitMessages, ::Gitaly::GetCommitMessagesRequest, stream(::Gitaly::GetCommitMessagesResponse)
|
47
47
|
end
|
48
48
|
|
49
49
|
Stub = Service.rpc_stub_class
|
@@ -12,6 +12,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
12
|
optional :repository, :message, 1, "gitaly.Repository"
|
13
13
|
optional :our_commit_oid, :string, 2
|
14
14
|
optional :their_commit_oid, :string, 3
|
15
|
+
optional :allow_tree_conflicts, :bool, 4
|
15
16
|
end
|
16
17
|
add_message "gitaly.ConflictFileHeader" do
|
17
18
|
optional :commit_oid, :string, 2
|
@@ -8,17 +8,17 @@ module Gitaly
|
|
8
8
|
module ConflictsService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.ConflictsService'
|
16
16
|
|
17
|
-
rpc :ListConflictFiles, Gitaly::ListConflictFilesRequest, stream(Gitaly::ListConflictFilesResponse)
|
17
|
+
rpc :ListConflictFiles, ::Gitaly::ListConflictFilesRequest, stream(::Gitaly::ListConflictFilesResponse)
|
18
18
|
# ResolveConflicts tries to resolve a conflicting merge with a set of
|
19
19
|
# user-provided merge resolutions. If resolving the conflict succeeds, the
|
20
20
|
# result will be a new merge commit.
|
21
|
-
rpc :ResolveConflicts, stream(Gitaly::ResolveConflictsRequest), Gitaly::ResolveConflictsResponse
|
21
|
+
rpc :ResolveConflicts, stream(::Gitaly::ResolveConflictsRequest), ::Gitaly::ResolveConflictsResponse
|
22
22
|
end
|
23
23
|
|
24
24
|
Stub = Service.rpc_stub_class
|
@@ -8,21 +8,21 @@ module Gitaly
|
|
8
8
|
module DiffService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.DiffService'
|
16
16
|
|
17
17
|
# Returns stream of CommitDiffResponse with patches chunked over messages
|
18
|
-
rpc :CommitDiff, Gitaly::CommitDiffRequest, stream(Gitaly::CommitDiffResponse)
|
18
|
+
rpc :CommitDiff, ::Gitaly::CommitDiffRequest, stream(::Gitaly::CommitDiffResponse)
|
19
19
|
# Return a stream so we can divide the response in chunks of deltas
|
20
|
-
rpc :CommitDelta, Gitaly::CommitDeltaRequest, stream(Gitaly::CommitDeltaResponse)
|
21
|
-
rpc :RawDiff, Gitaly::RawDiffRequest, stream(Gitaly::RawDiffResponse)
|
22
|
-
rpc :RawPatch, Gitaly::RawPatchRequest, stream(Gitaly::RawPatchResponse)
|
23
|
-
rpc :DiffStats, Gitaly::DiffStatsRequest, stream(Gitaly::DiffStatsResponse)
|
20
|
+
rpc :CommitDelta, ::Gitaly::CommitDeltaRequest, stream(::Gitaly::CommitDeltaResponse)
|
21
|
+
rpc :RawDiff, ::Gitaly::RawDiffRequest, stream(::Gitaly::RawDiffResponse)
|
22
|
+
rpc :RawPatch, ::Gitaly::RawPatchRequest, stream(::Gitaly::RawPatchResponse)
|
23
|
+
rpc :DiffStats, ::Gitaly::DiffStatsRequest, stream(::Gitaly::DiffStatsResponse)
|
24
24
|
# Return a list of files changed along with the status of each file
|
25
|
-
rpc :FindChangedPaths, Gitaly::FindChangedPathsRequest, stream(Gitaly::FindChangedPathsResponse)
|
25
|
+
rpc :FindChangedPaths, ::Gitaly::FindChangedPathsRequest, stream(::Gitaly::FindChangedPathsResponse)
|
26
26
|
end
|
27
27
|
|
28
28
|
Stub = Service.rpc_stub_class
|
@@ -66,6 +66,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
66
66
|
optional :stdout, :bytes, 1
|
67
67
|
optional :stderr, :bytes, 2
|
68
68
|
end
|
69
|
+
add_message "gitaly.PackObjectsHookWithSidechannelRequest" do
|
70
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
71
|
+
repeated :args, :string, 2
|
72
|
+
end
|
73
|
+
add_message "gitaly.PackObjectsHookWithSidechannelResponse" do
|
74
|
+
end
|
69
75
|
end
|
70
76
|
end
|
71
77
|
|
@@ -81,4 +87,6 @@ module Gitaly
|
|
81
87
|
ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
|
82
88
|
PackObjectsHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookRequest").msgclass
|
83
89
|
PackObjectsHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookResponse").msgclass
|
90
|
+
PackObjectsHookWithSidechannelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelRequest").msgclass
|
91
|
+
PackObjectsHookWithSidechannelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookWithSidechannelResponse").msgclass
|
84
92
|
end
|
@@ -8,20 +8,23 @@ module Gitaly
|
|
8
8
|
module HookService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.HookService'
|
16
16
|
|
17
|
-
rpc :PreReceiveHook, stream(Gitaly::PreReceiveHookRequest), stream(Gitaly::PreReceiveHookResponse)
|
18
|
-
rpc :PostReceiveHook, stream(Gitaly::PostReceiveHookRequest), stream(Gitaly::PostReceiveHookResponse)
|
19
|
-
rpc :UpdateHook, Gitaly::UpdateHookRequest, stream(Gitaly::UpdateHookResponse)
|
20
|
-
rpc :ReferenceTransactionHook, stream(Gitaly::ReferenceTransactionHookRequest), stream(Gitaly::ReferenceTransactionHookResponse)
|
17
|
+
rpc :PreReceiveHook, stream(::Gitaly::PreReceiveHookRequest), stream(::Gitaly::PreReceiveHookResponse)
|
18
|
+
rpc :PostReceiveHook, stream(::Gitaly::PostReceiveHookRequest), stream(::Gitaly::PostReceiveHookResponse)
|
19
|
+
rpc :UpdateHook, ::Gitaly::UpdateHookRequest, stream(::Gitaly::UpdateHookResponse)
|
20
|
+
rpc :ReferenceTransactionHook, stream(::Gitaly::ReferenceTransactionHookRequest), stream(::Gitaly::ReferenceTransactionHookResponse)
|
21
21
|
# PackObjectsHook is meant to be called by git-upload-pack via the
|
22
22
|
# uploadpack.packObjectsHook mechanism. It generates a stream of packed
|
23
23
|
# Git objects.
|
24
|
-
rpc :PackObjectsHook, stream(Gitaly::PackObjectsHookRequest), stream(Gitaly::PackObjectsHookResponse)
|
24
|
+
rpc :PackObjectsHook, stream(::Gitaly::PackObjectsHookRequest), stream(::Gitaly::PackObjectsHookResponse)
|
25
|
+
# PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
|
26
|
+
# a unix socket side channel.
|
27
|
+
rpc :PackObjectsHookWithSidechannel, ::Gitaly::PackObjectsHookWithSidechannelRequest, ::Gitaly::PackObjectsHookWithSidechannelResponse
|
25
28
|
end
|
26
29
|
|
27
30
|
Stub = Service.rpc_stub_class
|
@@ -10,7 +10,7 @@ module Gitaly
|
|
10
10
|
# only reachable by Praefect or other Gitalies
|
11
11
|
class Service
|
12
12
|
|
13
|
-
include GRPC::GenericService
|
13
|
+
include ::GRPC::GenericService
|
14
14
|
|
15
15
|
self.marshal_class_method = :encode
|
16
16
|
self.unmarshal_class_method = :decode
|
@@ -18,7 +18,7 @@ module Gitaly
|
|
18
18
|
|
19
19
|
# WalkRepos walks the storage and streams back all known git repos on the
|
20
20
|
# requested storage
|
21
|
-
rpc :WalkRepos, Gitaly::WalkReposRequest, stream(Gitaly::WalkReposResponse)
|
21
|
+
rpc :WalkRepos, ::Gitaly::WalkReposRequest, stream(::Gitaly::WalkReposResponse)
|
22
22
|
end
|
23
23
|
|
24
24
|
Stub = Service.rpc_stub_class
|
@@ -8,16 +8,16 @@ module Gitaly
|
|
8
8
|
module NamespaceService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.NamespaceService'
|
16
16
|
|
17
|
-
rpc :AddNamespace, Gitaly::AddNamespaceRequest, Gitaly::AddNamespaceResponse
|
18
|
-
rpc :RemoveNamespace, Gitaly::RemoveNamespaceRequest, Gitaly::RemoveNamespaceResponse
|
19
|
-
rpc :RenameNamespace, Gitaly::RenameNamespaceRequest, Gitaly::RenameNamespaceResponse
|
20
|
-
rpc :NamespaceExists, Gitaly::NamespaceExistsRequest, Gitaly::NamespaceExistsResponse
|
17
|
+
rpc :AddNamespace, ::Gitaly::AddNamespaceRequest, ::Gitaly::AddNamespaceResponse
|
18
|
+
rpc :RemoveNamespace, ::Gitaly::RemoveNamespaceRequest, ::Gitaly::RemoveNamespaceResponse
|
19
|
+
rpc :RenameNamespace, ::Gitaly::RenameNamespaceRequest, ::Gitaly::RenameNamespaceResponse
|
20
|
+
rpc :NamespaceExists, ::Gitaly::NamespaceExistsRequest, ::Gitaly::NamespaceExistsResponse
|
21
21
|
end
|
22
22
|
|
23
23
|
Stub = Service.rpc_stub_class
|
@@ -8,21 +8,21 @@ module Gitaly
|
|
8
8
|
module ObjectPoolService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include GRPC::GenericService
|
11
|
+
include ::GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'gitaly.ObjectPoolService'
|
16
16
|
|
17
|
-
rpc :CreateObjectPool, Gitaly::CreateObjectPoolRequest, Gitaly::CreateObjectPoolResponse
|
18
|
-
rpc :DeleteObjectPool, Gitaly::DeleteObjectPoolRequest, Gitaly::DeleteObjectPoolResponse
|
17
|
+
rpc :CreateObjectPool, ::Gitaly::CreateObjectPoolRequest, ::Gitaly::CreateObjectPoolResponse
|
18
|
+
rpc :DeleteObjectPool, ::Gitaly::DeleteObjectPoolRequest, ::Gitaly::DeleteObjectPoolResponse
|
19
19
|
# Repositories are assumed to be stored on the same disk
|
20
|
-
rpc :LinkRepositoryToObjectPool, Gitaly::LinkRepositoryToObjectPoolRequest, Gitaly::LinkRepositoryToObjectPoolResponse
|
21
|
-
rpc :UnlinkRepositoryFromObjectPool, Gitaly::UnlinkRepositoryFromObjectPoolRequest, Gitaly::UnlinkRepositoryFromObjectPoolResponse
|
22
|
-
rpc :ReduplicateRepository, Gitaly::ReduplicateRepositoryRequest, Gitaly::ReduplicateRepositoryResponse
|
23
|
-
rpc :DisconnectGitAlternates, Gitaly::DisconnectGitAlternatesRequest, Gitaly::DisconnectGitAlternatesResponse
|
24
|
-
rpc :FetchIntoObjectPool, Gitaly::FetchIntoObjectPoolRequest, Gitaly::FetchIntoObjectPoolResponse
|
25
|
-
rpc :GetObjectPool, Gitaly::GetObjectPoolRequest, Gitaly::GetObjectPoolResponse
|
20
|
+
rpc :LinkRepositoryToObjectPool, ::Gitaly::LinkRepositoryToObjectPoolRequest, ::Gitaly::LinkRepositoryToObjectPoolResponse
|
21
|
+
rpc :UnlinkRepositoryFromObjectPool, ::Gitaly::UnlinkRepositoryFromObjectPoolRequest, ::Gitaly::UnlinkRepositoryFromObjectPoolResponse
|
22
|
+
rpc :ReduplicateRepository, ::Gitaly::ReduplicateRepositoryRequest, ::Gitaly::ReduplicateRepositoryResponse
|
23
|
+
rpc :DisconnectGitAlternates, ::Gitaly::DisconnectGitAlternatesRequest, ::Gitaly::DisconnectGitAlternatesResponse
|
24
|
+
rpc :FetchIntoObjectPool, ::Gitaly::FetchIntoObjectPoolRequest, ::Gitaly::FetchIntoObjectPoolResponse
|
25
|
+
rpc :GetObjectPool, ::Gitaly::GetObjectPoolRequest, ::Gitaly::GetObjectPoolResponse
|
26
26
|
end
|
27
27
|
|
28
28
|
Stub = Service.rpc_stub_class
|
@@ -12,23 +12,23 @@ module Gitaly
|
|
12
12
|
# '/allowed' endpoint.
|
13
13
|
class Service
|
14
14
|
|
15
|
-
include GRPC::GenericService
|
15
|
+
include ::GRPC::GenericService
|
16
16
|
|
17
17
|
self.marshal_class_method = :encode
|
18
18
|
self.unmarshal_class_method = :decode
|
19
19
|
self.service_name = 'gitaly.OperationService'
|
20
20
|
|
21
|
-
rpc :UserCreateBranch, Gitaly::UserCreateBranchRequest, Gitaly::UserCreateBranchResponse
|
22
|
-
rpc :UserUpdateBranch, Gitaly::UserUpdateBranchRequest, Gitaly::UserUpdateBranchResponse
|
23
|
-
rpc :UserDeleteBranch, Gitaly::UserDeleteBranchRequest, Gitaly::UserDeleteBranchResponse
|
21
|
+
rpc :UserCreateBranch, ::Gitaly::UserCreateBranchRequest, ::Gitaly::UserCreateBranchResponse
|
22
|
+
rpc :UserUpdateBranch, ::Gitaly::UserUpdateBranchRequest, ::Gitaly::UserUpdateBranchResponse
|
23
|
+
rpc :UserDeleteBranch, ::Gitaly::UserDeleteBranchRequest, ::Gitaly::UserDeleteBranchResponse
|
24
24
|
# UserCreateTag creates a new tag.
|
25
|
-
rpc :UserCreateTag, Gitaly::UserCreateTagRequest, Gitaly::UserCreateTagResponse
|
26
|
-
rpc :UserDeleteTag, Gitaly::UserDeleteTagRequest, Gitaly::UserDeleteTagResponse
|
25
|
+
rpc :UserCreateTag, ::Gitaly::UserCreateTagRequest, ::Gitaly::UserCreateTagResponse
|
26
|
+
rpc :UserDeleteTag, ::Gitaly::UserDeleteTagRequest, ::Gitaly::UserDeleteTagResponse
|
27
27
|
# UserMergeRef creates a merge commit and updates target_ref to point to that
|
28
28
|
# new commit. The first parent of the merge commit (the main line) is taken
|
29
29
|
# from first_parent_ref. The second parent is specified by its commit ID in source_sha.
|
30
30
|
# If target_ref already exists it will be overwritten.
|
31
|
-
rpc :UserMergeToRef, Gitaly::UserMergeToRefRequest, Gitaly::UserMergeToRefResponse
|
31
|
+
rpc :UserMergeToRef, ::Gitaly::UserMergeToRefRequest, ::Gitaly::UserMergeToRefResponse
|
32
32
|
# UserMergeBranch tries to merge the given commit into the target branch.
|
33
33
|
# The merge commit is created with the given user as author/committer and
|
34
34
|
# the given message.
|
@@ -38,20 +38,20 @@ module Gitaly
|
|
38
38
|
# requested merge, which will result in a response with the created merge
|
39
39
|
# commit ID. Only if a second message with `apply = true` is sent will the
|
40
40
|
# merge be applied.
|
41
|
-
rpc :UserMergeBranch, stream(Gitaly::UserMergeBranchRequest), stream(Gitaly::UserMergeBranchResponse)
|
41
|
+
rpc :UserMergeBranch, stream(::Gitaly::UserMergeBranchRequest), stream(::Gitaly::UserMergeBranchResponse)
|
42
42
|
# UserFFBranch tries to perform a fast-forward merge of the given branch to
|
43
43
|
# the given commit. If the merge is not a fast-forward merge, the request
|
44
44
|
# will fail. The RPC will return an empty response in case updating the
|
45
45
|
# reference fails e.g. because of a race.
|
46
|
-
rpc :UserFFBranch, Gitaly::UserFFBranchRequest, Gitaly::UserFFBranchResponse
|
46
|
+
rpc :UserFFBranch, ::Gitaly::UserFFBranchRequest, ::Gitaly::UserFFBranchResponse
|
47
47
|
# UserCherryPick tries to perform a cherry-pick of a given commit onto a
|
48
48
|
# branch.
|
49
|
-
rpc :UserCherryPick, Gitaly::UserCherryPickRequest, Gitaly::UserCherryPickResponse
|
49
|
+
rpc :UserCherryPick, ::Gitaly::UserCherryPickRequest, ::Gitaly::UserCherryPickResponse
|
50
50
|
# UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it.
|
51
51
|
# UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream.
|
52
52
|
# Following that, a variable number of actions can be sent to build a new commit. Each action consists of
|
53
53
|
# a header followed by content if used by the action.
|
54
|
-
rpc :UserCommitFiles, stream(Gitaly::UserCommitFilesRequest), Gitaly::UserCommitFilesResponse
|
54
|
+
rpc :UserCommitFiles, stream(::Gitaly::UserCommitFilesRequest), ::Gitaly::UserCommitFilesResponse
|
55
55
|
# UserRebaseConfirmable rebases the given remote branch onto a target
|
56
56
|
# branch. The remote branch may be part of another repository.
|
57
57
|
#
|
@@ -60,15 +60,15 @@ module Gitaly
|
|
60
60
|
# requested rebase, which will result in a response with the created rebase
|
61
61
|
# commit ID. Only if a second message with `apply = true` is sent will the
|
62
62
|
# rebase be applied.
|
63
|
-
rpc :UserRebaseConfirmable, stream(Gitaly::UserRebaseConfirmableRequest), stream(Gitaly::UserRebaseConfirmableResponse)
|
63
|
+
rpc :UserRebaseConfirmable, stream(::Gitaly::UserRebaseConfirmableRequest), stream(::Gitaly::UserRebaseConfirmableResponse)
|
64
64
|
# UserRevert tries to perform a revert of a given commit onto a branch.
|
65
|
-
rpc :UserRevert, Gitaly::UserRevertRequest, Gitaly::UserRevertResponse
|
65
|
+
rpc :UserRevert, ::Gitaly::UserRevertRequest, ::Gitaly::UserRevertResponse
|
66
66
|
# UserSquash squashes a range of commits into a single commit.
|
67
|
-
rpc :UserSquash, Gitaly::UserSquashRequest, Gitaly::UserSquashResponse
|
67
|
+
rpc :UserSquash, ::Gitaly::UserSquashRequest, ::Gitaly::UserSquashResponse
|
68
68
|
# UserApplyPatch applies patches to a given branch.
|
69
|
-
rpc :UserApplyPatch, stream(Gitaly::UserApplyPatchRequest), Gitaly::UserApplyPatchResponse
|
69
|
+
rpc :UserApplyPatch, stream(::Gitaly::UserApplyPatchRequest), ::Gitaly::UserApplyPatchResponse
|
70
70
|
# UserUpdateSubmodule updates a submodule to point to a new commit.
|
71
|
-
rpc :UserUpdateSubmodule, Gitaly::UserUpdateSubmoduleRequest, Gitaly::UserUpdateSubmoduleResponse
|
71
|
+
rpc :UserUpdateSubmodule, ::Gitaly::UserUpdateSubmoduleRequest, ::Gitaly::UserUpdateSubmoduleResponse
|
72
72
|
end
|
73
73
|
|
74
74
|
Stub = Service.rpc_stub_class
|