gitaly 14.3.0.pre.rc1 → 14.3.0.pre.rc2
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_services_pb.rb +8 -8
- data/ruby/proto/gitaly/cleanup_services_pb.rb +2 -2
- data/ruby/proto/gitaly/commit_services_pb.rb +24 -24
- data/ruby/proto/gitaly/conflicts_services_pb.rb +3 -3
- data/ruby/proto/gitaly/diff_services_pb.rb +7 -7
- data/ruby/proto/gitaly/errors_pb.rb +19 -0
- data/ruby/proto/gitaly/hook_services_pb.rb +7 -7
- 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 +19 -9
- data/ruby/proto/gitaly/operations_pb.rb +7 -0
- data/ruby/proto/gitaly/operations_services_pb.rb +16 -16
- data/ruby/proto/gitaly/praefect_services_pb.rb +5 -5
- data/ruby/proto/gitaly/ref_services_pb.rb +22 -20
- data/ruby/proto/gitaly/remote_services_pb.rb +8 -5
- data/ruby/proto/gitaly/repository-service_services_pb.rb +45 -45
- data/ruby/proto/gitaly/server_services_pb.rb +3 -3
- 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 +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 442030049445be9044acb55c850420aa68d4e40d19f16024c2f68f2f13a6343e
|
4
|
+
data.tar.gz: 36d50ec61c4b7167e74f22f5b6b50c9d3426c31e351844df6b596757da8780c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d452ed6741dd1352fd6746c158d243be02e83c1a9279892fef75a89cffd393ef267196ecea2fb86cae6e679c8ec0de910209b06dd25f181980b05237fa3b282d
|
7
|
+
data.tar.gz: 021d073ff5db37e6e10e799f3bab8e9dd014fc96c9958db50eb77b1e8dc4280658c6adf141cf8a30b587655595041b69dfbbf5f253051f8384c4223fe3c06c53
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module BlobService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
11
|
+
include GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
@@ -17,29 +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,
|
21
|
-
rpc :GetBlobs,
|
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,
|
25
|
+
rpc :ListBlobs, Gitaly::ListBlobsRequest, stream(Gitaly::ListBlobsResponse)
|
26
26
|
# ListAllBlobs retrieves all blobs pointers in the repository, including
|
27
27
|
# those not reachable by any reference.
|
28
|
-
rpc :ListAllBlobs,
|
28
|
+
rpc :ListAllBlobs, Gitaly::ListAllBlobsRequest, stream(Gitaly::ListAllBlobsResponse)
|
29
29
|
# GetLFSPointers retrieves LFS pointers from a given set of object IDs.
|
30
30
|
# This RPC filters all requested objects and only returns those which refer
|
31
31
|
# to a valid LFS pointer.
|
32
|
-
rpc :GetLFSPointers,
|
32
|
+
rpc :GetLFSPointers, Gitaly::GetLFSPointersRequest, stream(Gitaly::GetLFSPointersResponse)
|
33
33
|
# ListLFSPointers retrieves LFS pointers reachable from a given set of
|
34
34
|
# revisions by doing a graph walk. This includes both normal revisions like
|
35
35
|
# an object ID or branch, but also the pseudo-revisions "--all" and "--not"
|
36
36
|
# as documented in git-rev-parse(1). Revisions which don't directly or
|
37
37
|
# transitively reference any LFS pointers are ignored. It is not valid to
|
38
38
|
# pass revisions which do not resolve to an existing object.
|
39
|
-
rpc :ListLFSPointers,
|
39
|
+
rpc :ListLFSPointers, Gitaly::ListLFSPointersRequest, stream(Gitaly::ListLFSPointersResponse)
|
40
40
|
# ListAllLFSPointers retrieves all LFS pointers in the repository, including
|
41
41
|
# those not reachable by any reference.
|
42
|
-
rpc :ListAllLFSPointers,
|
42
|
+
rpc :ListAllLFSPointers, Gitaly::ListAllLFSPointersRequest, stream(Gitaly::ListAllLFSPointersResponse)
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
@@ -8,13 +8,13 @@ module Gitaly
|
|
8
8
|
module CleanupService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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(
|
17
|
+
rpc :ApplyBfgObjectMapStream, stream(Gitaly::ApplyBfgObjectMapStreamRequest), stream(Gitaly::ApplyBfgObjectMapStreamResponse)
|
18
18
|
end
|
19
19
|
|
20
20
|
Stub = Service.rpc_stub_class
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module CommitService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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,
|
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,
|
25
|
-
rpc :CommitIsAncestor,
|
26
|
-
rpc :TreeEntry,
|
27
|
-
rpc :CommitsBetween,
|
28
|
-
rpc :CountCommits,
|
29
|
-
rpc :CountDivergingCommits,
|
30
|
-
rpc :GetTreeEntries,
|
31
|
-
rpc :ListFiles,
|
32
|
-
rpc :FindCommit,
|
33
|
-
rpc :CommitStats,
|
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,
|
36
|
-
rpc :FindCommits,
|
37
|
-
rpc :CommitLanguages,
|
38
|
-
rpc :RawBlame,
|
39
|
-
rpc :LastCommitForPath,
|
40
|
-
rpc :ListLastCommitsForTree,
|
41
|
-
rpc :CommitsByMessage,
|
42
|
-
rpc :ListCommitsByOid,
|
43
|
-
rpc :ListCommitsByRefName,
|
44
|
-
rpc :FilterShasWithSignatures, stream(
|
45
|
-
rpc :GetCommitSignatures,
|
46
|
-
rpc :GetCommitMessages,
|
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
|
@@ -8,17 +8,17 @@ module Gitaly
|
|
8
8
|
module ConflictsService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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,
|
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(
|
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
|
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,
|
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,
|
21
|
-
rpc :RawDiff,
|
22
|
-
rpc :RawPatch,
|
23
|
-
rpc :DiffStats,
|
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,
|
25
|
+
rpc :FindChangedPaths, Gitaly::FindChangedPathsRequest, stream(Gitaly::FindChangedPathsResponse)
|
26
26
|
end
|
27
27
|
|
28
28
|
Stub = Service.rpc_stub_class
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: errors.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("errors.proto", :syntax => :proto3) do
|
8
|
+
add_message "gitaly.AccessCheckError" do
|
9
|
+
optional :error_message, :string, 1
|
10
|
+
optional :protocol, :string, 2
|
11
|
+
optional :user_id, :string, 3
|
12
|
+
optional :changes, :bytes, 4
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Gitaly
|
18
|
+
AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
|
19
|
+
end
|
@@ -8,23 +8,23 @@ module Gitaly
|
|
8
8
|
module HookService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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(
|
18
|
-
rpc :PostReceiveHook, stream(
|
19
|
-
rpc :UpdateHook,
|
20
|
-
rpc :ReferenceTransactionHook, stream(
|
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(
|
24
|
+
rpc :PackObjectsHook, stream(Gitaly::PackObjectsHookRequest), stream(Gitaly::PackObjectsHookResponse)
|
25
25
|
# PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses
|
26
26
|
# a unix socket side channel.
|
27
|
-
rpc :PackObjectsHookWithSidechannel,
|
27
|
+
rpc :PackObjectsHookWithSidechannel, Gitaly::PackObjectsHookWithSidechannelRequest, Gitaly::PackObjectsHookWithSidechannelResponse
|
28
28
|
end
|
29
29
|
|
30
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
|
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,
|
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
|
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,
|
18
|
-
rpc :RemoveNamespace,
|
19
|
-
rpc :RenameNamespace,
|
20
|
-
rpc :NamespaceExists,
|
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,31 @@ module Gitaly
|
|
8
8
|
module ObjectPoolService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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,
|
18
|
-
rpc :DeleteObjectPool,
|
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,
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
20
|
+
rpc :LinkRepositoryToObjectPool, Gitaly::LinkRepositoryToObjectPoolRequest, Gitaly::LinkRepositoryToObjectPoolResponse
|
21
|
+
# UnlinkRepositoryFromObjectPool does not unlink the repository from the
|
22
|
+
# object pool as you'd think, but all it really does is to remove the object
|
23
|
+
# pool's remote pointing to the repository. And even this is a no-op given
|
24
|
+
# that we'd try to remove the remote by the repository's `GlRepository()`
|
25
|
+
# name, which we never create in the first place. To unlink repositories
|
26
|
+
# from an object pool, you'd really want to execute DisconnectGitAlternates
|
27
|
+
# to remove the repository's link to the pool's object database.
|
28
|
+
#
|
29
|
+
# This function is never called by anyone and highly misleading. It's thus
|
30
|
+
# deprecated and will be removed in v14.4.
|
31
|
+
rpc :UnlinkRepositoryFromObjectPool, Gitaly::UnlinkRepositoryFromObjectPoolRequest, Gitaly::UnlinkRepositoryFromObjectPoolResponse
|
32
|
+
rpc :ReduplicateRepository, Gitaly::ReduplicateRepositoryRequest, Gitaly::ReduplicateRepositoryResponse
|
33
|
+
rpc :DisconnectGitAlternates, Gitaly::DisconnectGitAlternatesRequest, Gitaly::DisconnectGitAlternatesResponse
|
34
|
+
rpc :FetchIntoObjectPool, Gitaly::FetchIntoObjectPoolRequest, Gitaly::FetchIntoObjectPoolResponse
|
35
|
+
rpc :GetObjectPool, Gitaly::GetObjectPoolRequest, Gitaly::GetObjectPoolResponse
|
26
36
|
end
|
27
37
|
|
28
38
|
Stub = Service.rpc_stub_class
|
@@ -5,6 +5,7 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
|
+
require 'errors_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
9
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
11
|
add_file("operations.proto", :syntax => :proto3) do
|
@@ -71,6 +72,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
71
72
|
optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
|
72
73
|
optional :pre_receive_error, :string, 4
|
73
74
|
end
|
75
|
+
add_message "gitaly.UserMergeBranchError" do
|
76
|
+
oneof :error do
|
77
|
+
optional :access_check, :message, 1, "gitaly.AccessCheckError"
|
78
|
+
end
|
79
|
+
end
|
74
80
|
add_message "gitaly.UserMergeToRefRequest" do
|
75
81
|
optional :repository, :message, 1, "gitaly.Repository"
|
76
82
|
optional :user, :message, 2, "gitaly.User"
|
@@ -277,6 +283,7 @@ module Gitaly
|
|
277
283
|
UserCreateTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
|
278
284
|
UserMergeBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
|
279
285
|
UserMergeBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
|
286
|
+
UserMergeBranchError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchError").msgclass
|
280
287
|
UserMergeToRefRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass
|
281
288
|
UserMergeToRefResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass
|
282
289
|
OperationBranchUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
|
@@ -12,23 +12,23 @@ module Gitaly
|
|
12
12
|
# '/allowed' endpoint.
|
13
13
|
class Service
|
14
14
|
|
15
|
-
include
|
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,
|
22
|
-
rpc :UserUpdateBranch,
|
23
|
-
rpc :UserDeleteBranch,
|
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,
|
26
|
-
rpc :UserDeleteTag,
|
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,
|
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(
|
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,
|
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,
|
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(
|
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(
|
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,
|
65
|
+
rpc :UserRevert, Gitaly::UserRevertRequest, Gitaly::UserRevertResponse
|
66
66
|
# UserSquash squashes a range of commits into a single commit.
|
67
|
-
rpc :UserSquash,
|
67
|
+
rpc :UserSquash, Gitaly::UserSquashRequest, Gitaly::UserSquashResponse
|
68
68
|
# UserApplyPatch applies patches to a given branch.
|
69
|
-
rpc :UserApplyPatch, stream(
|
69
|
+
rpc :UserApplyPatch, stream(Gitaly::UserApplyPatchRequest), Gitaly::UserApplyPatchResponse
|
70
70
|
# UserUpdateSubmodule updates a submodule to point to a new commit.
|
71
|
-
rpc :UserUpdateSubmodule,
|
71
|
+
rpc :UserUpdateSubmodule, Gitaly::UserUpdateSubmoduleRequest, Gitaly::UserUpdateSubmoduleResponse
|
72
72
|
end
|
73
73
|
|
74
74
|
Stub = Service.rpc_stub_class
|
@@ -8,19 +8,19 @@ module Gitaly
|
|
8
8
|
module PraefectInfoService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.PraefectInfoService'
|
16
16
|
|
17
|
-
rpc :RepositoryReplicas,
|
17
|
+
rpc :RepositoryReplicas, Gitaly::RepositoryReplicasRequest, Gitaly::RepositoryReplicasResponse
|
18
18
|
# DatalossCheck checks for unavailable repositories.
|
19
|
-
rpc :DatalossCheck,
|
19
|
+
rpc :DatalossCheck, Gitaly::DatalossCheckRequest, Gitaly::DatalossCheckResponse
|
20
20
|
# SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage.
|
21
21
|
# This causes the current version of the repository on the authoritative storage to be considered the
|
22
22
|
# latest and overwrite any other version on the virtual storage.
|
23
|
-
rpc :SetAuthoritativeStorage,
|
23
|
+
rpc :SetAuthoritativeStorage, Gitaly::SetAuthoritativeStorageRequest, Gitaly::SetAuthoritativeStorageResponse
|
24
24
|
# SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor.
|
25
25
|
# SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count
|
26
26
|
# in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node
|
@@ -29,7 +29,7 @@ module Gitaly
|
|
29
29
|
# This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade
|
30
30
|
# from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication
|
31
31
|
# factor of repositories assigned to a storage node removed from the cluster is effectively decreased.
|
32
|
-
rpc :SetReplicationFactor,
|
32
|
+
rpc :SetReplicationFactor, Gitaly::SetReplicationFactorRequest, Gitaly::SetReplicationFactorResponse
|
33
33
|
end
|
34
34
|
|
35
35
|
Stub = Service.rpc_stub_class
|
@@ -8,43 +8,45 @@ module Gitaly
|
|
8
8
|
module RefService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.RefService'
|
16
16
|
|
17
|
-
rpc :FindDefaultBranchName,
|
18
|
-
rpc :FindAllBranchNames,
|
19
|
-
rpc :FindAllTagNames,
|
17
|
+
rpc :FindDefaultBranchName, Gitaly::FindDefaultBranchNameRequest, Gitaly::FindDefaultBranchNameResponse
|
18
|
+
rpc :FindAllBranchNames, Gitaly::FindAllBranchNamesRequest, stream(Gitaly::FindAllBranchNamesResponse)
|
19
|
+
rpc :FindAllTagNames, Gitaly::FindAllTagNamesRequest, stream(Gitaly::FindAllTagNamesResponse)
|
20
20
|
# Return a stream so we can divide the response in chunks of branches
|
21
|
-
rpc :FindLocalBranches,
|
22
|
-
rpc :FindAllBranches,
|
21
|
+
rpc :FindLocalBranches, Gitaly::FindLocalBranchesRequest, stream(Gitaly::FindLocalBranchesResponse)
|
22
|
+
rpc :FindAllBranches, Gitaly::FindAllBranchesRequest, stream(Gitaly::FindAllBranchesResponse)
|
23
23
|
# Returns a stream of tags repository has.
|
24
|
-
rpc :FindAllTags,
|
25
|
-
rpc :FindTag,
|
26
|
-
rpc :FindAllRemoteBranches,
|
27
|
-
rpc :RefExists,
|
24
|
+
rpc :FindAllTags, Gitaly::FindAllTagsRequest, stream(Gitaly::FindAllTagsResponse)
|
25
|
+
rpc :FindTag, Gitaly::FindTagRequest, Gitaly::FindTagResponse
|
26
|
+
rpc :FindAllRemoteBranches, Gitaly::FindAllRemoteBranchesRequest, stream(Gitaly::FindAllRemoteBranchesResponse)
|
27
|
+
rpc :RefExists, Gitaly::RefExistsRequest, Gitaly::RefExistsResponse
|
28
28
|
# FindBranch finds a branch by its unqualified name (like "master") and
|
29
29
|
# returns the commit it currently points to.
|
30
|
-
rpc :FindBranch,
|
31
|
-
rpc :DeleteRefs,
|
32
|
-
rpc :ListBranchNamesContainingCommit,
|
33
|
-
rpc :ListTagNamesContainingCommit,
|
30
|
+
rpc :FindBranch, Gitaly::FindBranchRequest, Gitaly::FindBranchResponse
|
31
|
+
rpc :DeleteRefs, Gitaly::DeleteRefsRequest, Gitaly::DeleteRefsResponse
|
32
|
+
rpc :ListBranchNamesContainingCommit, Gitaly::ListBranchNamesContainingCommitRequest, stream(Gitaly::ListBranchNamesContainingCommitResponse)
|
33
|
+
rpc :ListTagNamesContainingCommit, Gitaly::ListTagNamesContainingCommitRequest, stream(Gitaly::ListTagNamesContainingCommitResponse)
|
34
34
|
# GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions
|
35
35
|
# which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved
|
36
36
|
# result in an error. Tags which are annotated but not signed will return a TagSignature response
|
37
37
|
# which has no signature, but its unsigned contents will still be returned.
|
38
|
-
rpc :GetTagSignatures,
|
39
|
-
rpc :GetTagMessages,
|
38
|
+
rpc :GetTagSignatures, Gitaly::GetTagSignaturesRequest, stream(Gitaly::GetTagSignaturesResponse)
|
39
|
+
rpc :GetTagMessages, Gitaly::GetTagMessagesRequest, stream(Gitaly::GetTagMessagesResponse)
|
40
40
|
# Returns commits that are only reachable from the ref passed
|
41
|
-
rpc :ListNewCommits,
|
42
|
-
|
43
|
-
|
41
|
+
rpc :ListNewCommits, Gitaly::ListNewCommitsRequest, stream(Gitaly::ListNewCommitsResponse)
|
42
|
+
# ListNewBlobs is equivalent to ListBlobs with `["--not", "--all", "--not",
|
43
|
+
# commit_id]`. This RPC call will be removed in v14.4.
|
44
|
+
rpc :ListNewBlobs, Gitaly::ListNewBlobsRequest, stream(Gitaly::ListNewBlobsResponse)
|
45
|
+
rpc :PackRefs, Gitaly::PackRefsRequest, Gitaly::PackRefsResponse
|
44
46
|
# ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD
|
45
47
|
# will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is
|
46
48
|
# pointing at.
|
47
|
-
rpc :ListRefs,
|
49
|
+
rpc :ListRefs, Gitaly::ListRefsRequest, stream(Gitaly::ListRefsResponse)
|
48
50
|
end
|
49
51
|
|
50
52
|
Stub = Service.rpc_stub_class
|
@@ -8,26 +8,29 @@ module Gitaly
|
|
8
8
|
module RemoteService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.RemoteService'
|
16
16
|
|
17
|
-
|
17
|
+
# FetchInternalRemote used to fetch changes from a remote repository into
|
18
|
+
# the target repository. This RPC call is deprecated and shouldn't be used
|
19
|
+
# at all anymore. It will be removed in release v14.4.
|
20
|
+
rpc :FetchInternalRemote, Gitaly::FetchInternalRemoteRequest, Gitaly::FetchInternalRemoteResponse
|
18
21
|
# UpdateRemoteMirror compares the references in the target repository and its remote mirror
|
19
22
|
# repository. Any differences in the references are then addressed by pushing the differing
|
20
23
|
# references to the mirror. Created and modified references are updated, removed references are
|
21
24
|
# deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match
|
22
25
|
# the patterns specified in the requests.
|
23
|
-
rpc :UpdateRemoteMirror, stream(
|
24
|
-
rpc :FindRemoteRepository,
|
26
|
+
rpc :UpdateRemoteMirror, stream(Gitaly::UpdateRemoteMirrorRequest), Gitaly::UpdateRemoteMirrorResponse
|
27
|
+
rpc :FindRemoteRepository, Gitaly::FindRemoteRepositoryRequest, Gitaly::FindRemoteRepositoryResponse
|
25
28
|
# FindRemoteRootRef tries to find the root reference of a remote
|
26
29
|
# repository. The root reference is the default branch as pointed to by
|
27
30
|
# the remotes HEAD reference. Returns an InvalidArgument error if the
|
28
31
|
# specified remote does not exist and a NotFound error in case no HEAD
|
29
32
|
# branch was found.
|
30
|
-
rpc :FindRemoteRootRef,
|
33
|
+
rpc :FindRemoteRootRef, Gitaly::FindRemoteRootRefRequest, Gitaly::FindRemoteRootRefResponse
|
31
34
|
end
|
32
35
|
|
33
36
|
Stub = Service.rpc_stub_class
|
@@ -8,80 +8,80 @@ module Gitaly
|
|
8
8
|
module RepositoryService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.RepositoryService'
|
16
16
|
|
17
|
-
rpc :RepositoryExists,
|
18
|
-
rpc :RepackIncremental,
|
19
|
-
rpc :RepackFull,
|
20
|
-
rpc :MidxRepack,
|
21
|
-
rpc :GarbageCollect,
|
22
|
-
rpc :WriteCommitGraph,
|
23
|
-
rpc :RepositorySize,
|
24
|
-
rpc :ApplyGitattributes,
|
17
|
+
rpc :RepositoryExists, Gitaly::RepositoryExistsRequest, Gitaly::RepositoryExistsResponse
|
18
|
+
rpc :RepackIncremental, Gitaly::RepackIncrementalRequest, Gitaly::RepackIncrementalResponse
|
19
|
+
rpc :RepackFull, Gitaly::RepackFullRequest, Gitaly::RepackFullResponse
|
20
|
+
rpc :MidxRepack, Gitaly::MidxRepackRequest, Gitaly::MidxRepackResponse
|
21
|
+
rpc :GarbageCollect, Gitaly::GarbageCollectRequest, Gitaly::GarbageCollectResponse
|
22
|
+
rpc :WriteCommitGraph, Gitaly::WriteCommitGraphRequest, Gitaly::WriteCommitGraphResponse
|
23
|
+
rpc :RepositorySize, Gitaly::RepositorySizeRequest, Gitaly::RepositorySizeResponse
|
24
|
+
rpc :ApplyGitattributes, Gitaly::ApplyGitattributesRequest, Gitaly::ApplyGitattributesResponse
|
25
25
|
# FetchRemote fetches references from a remote repository into the local
|
26
26
|
# repository.
|
27
|
-
rpc :FetchRemote,
|
28
|
-
rpc :CreateRepository,
|
29
|
-
rpc :GetArchive,
|
30
|
-
rpc :HasLocalBranches,
|
27
|
+
rpc :FetchRemote, Gitaly::FetchRemoteRequest, Gitaly::FetchRemoteResponse
|
28
|
+
rpc :CreateRepository, Gitaly::CreateRepositoryRequest, Gitaly::CreateRepositoryResponse
|
29
|
+
rpc :GetArchive, Gitaly::GetArchiveRequest, stream(Gitaly::GetArchiveResponse)
|
30
|
+
rpc :HasLocalBranches, Gitaly::HasLocalBranchesRequest, Gitaly::HasLocalBranchesResponse
|
31
31
|
# FetchSourceBranch fetches a branch from a second (potentially remote)
|
32
32
|
# repository into the given repository.
|
33
|
-
rpc :FetchSourceBranch,
|
34
|
-
rpc :Fsck,
|
35
|
-
rpc :WriteRef,
|
36
|
-
rpc :FindMergeBase,
|
37
|
-
rpc :CreateFork,
|
33
|
+
rpc :FetchSourceBranch, Gitaly::FetchSourceBranchRequest, Gitaly::FetchSourceBranchResponse
|
34
|
+
rpc :Fsck, Gitaly::FsckRequest, Gitaly::FsckResponse
|
35
|
+
rpc :WriteRef, Gitaly::WriteRefRequest, Gitaly::WriteRefResponse
|
36
|
+
rpc :FindMergeBase, Gitaly::FindMergeBaseRequest, Gitaly::FindMergeBaseResponse
|
37
|
+
rpc :CreateFork, Gitaly::CreateForkRequest, Gitaly::CreateForkResponse
|
38
38
|
# IsSquashInProgress is deprecated and will always return false.
|
39
|
-
rpc :IsSquashInProgress,
|
40
|
-
rpc :CreateRepositoryFromURL,
|
39
|
+
rpc :IsSquashInProgress, Gitaly::IsSquashInProgressRequest, Gitaly::IsSquashInProgressResponse
|
40
|
+
rpc :CreateRepositoryFromURL, Gitaly::CreateRepositoryFromURLRequest, Gitaly::CreateRepositoryFromURLResponse
|
41
41
|
# CreateBundle creates a bundle from all refs
|
42
|
-
rpc :CreateBundle,
|
42
|
+
rpc :CreateBundle, Gitaly::CreateBundleRequest, stream(Gitaly::CreateBundleResponse)
|
43
43
|
# CreateBundleFromRefList creates a bundle from a stream of ref patterns
|
44
|
-
rpc :CreateBundleFromRefList, stream(
|
45
|
-
rpc :CreateRepositoryFromBundle, stream(
|
44
|
+
rpc :CreateBundleFromRefList, stream(Gitaly::CreateBundleFromRefListRequest), stream(Gitaly::CreateBundleFromRefListResponse)
|
45
|
+
rpc :CreateRepositoryFromBundle, stream(Gitaly::CreateRepositoryFromBundleRequest), Gitaly::CreateRepositoryFromBundleResponse
|
46
46
|
# GetConfig reads the target repository's gitconfig and streams its contents
|
47
47
|
# back. Returns a NotFound error in case no gitconfig was found.
|
48
|
-
rpc :GetConfig,
|
48
|
+
rpc :GetConfig, Gitaly::GetConfigRequest, stream(Gitaly::GetConfigResponse)
|
49
49
|
# SetConfig writes a set of config entries into the target repository's
|
50
50
|
# gitconfig. This RPC is deprecated with no general replacement: modifying
|
51
51
|
# the on-disk gitconfig is not supported anymore. The only usecase that is
|
52
52
|
# still supported is writing "gitlab.fullpath" via the new `SetFullPath()`
|
53
53
|
# RPC.
|
54
|
-
rpc :SetConfig,
|
54
|
+
rpc :SetConfig, Gitaly::SetConfigRequest, Gitaly::SetConfigResponse
|
55
55
|
# DeleteConfig deletes a set of config entries from the target repository's
|
56
56
|
# gitconfig. This RPC is deprecated with no replacement: modifying the
|
57
57
|
# on-disk gitconfig is not supported anymore.
|
58
|
-
rpc :DeleteConfig,
|
59
|
-
rpc :FindLicense,
|
60
|
-
rpc :GetInfoAttributes,
|
61
|
-
rpc :CalculateChecksum,
|
62
|
-
rpc :Cleanup,
|
63
|
-
rpc :GetSnapshot,
|
64
|
-
rpc :CreateRepositoryFromSnapshot,
|
65
|
-
rpc :GetRawChanges,
|
66
|
-
rpc :SearchFilesByContent,
|
67
|
-
rpc :SearchFilesByName,
|
68
|
-
rpc :RestoreCustomHooks, stream(
|
69
|
-
rpc :BackupCustomHooks,
|
70
|
-
rpc :GetObjectDirectorySize,
|
71
|
-
rpc :CloneFromPool,
|
72
|
-
rpc :CloneFromPoolInternal,
|
58
|
+
rpc :DeleteConfig, Gitaly::DeleteConfigRequest, Gitaly::DeleteConfigResponse
|
59
|
+
rpc :FindLicense, Gitaly::FindLicenseRequest, Gitaly::FindLicenseResponse
|
60
|
+
rpc :GetInfoAttributes, Gitaly::GetInfoAttributesRequest, stream(Gitaly::GetInfoAttributesResponse)
|
61
|
+
rpc :CalculateChecksum, Gitaly::CalculateChecksumRequest, Gitaly::CalculateChecksumResponse
|
62
|
+
rpc :Cleanup, Gitaly::CleanupRequest, Gitaly::CleanupResponse
|
63
|
+
rpc :GetSnapshot, Gitaly::GetSnapshotRequest, stream(Gitaly::GetSnapshotResponse)
|
64
|
+
rpc :CreateRepositoryFromSnapshot, Gitaly::CreateRepositoryFromSnapshotRequest, Gitaly::CreateRepositoryFromSnapshotResponse
|
65
|
+
rpc :GetRawChanges, Gitaly::GetRawChangesRequest, stream(Gitaly::GetRawChangesResponse)
|
66
|
+
rpc :SearchFilesByContent, Gitaly::SearchFilesByContentRequest, stream(Gitaly::SearchFilesByContentResponse)
|
67
|
+
rpc :SearchFilesByName, Gitaly::SearchFilesByNameRequest, stream(Gitaly::SearchFilesByNameResponse)
|
68
|
+
rpc :RestoreCustomHooks, stream(Gitaly::RestoreCustomHooksRequest), Gitaly::RestoreCustomHooksResponse
|
69
|
+
rpc :BackupCustomHooks, Gitaly::BackupCustomHooksRequest, stream(Gitaly::BackupCustomHooksResponse)
|
70
|
+
rpc :GetObjectDirectorySize, Gitaly::GetObjectDirectorySizeRequest, Gitaly::GetObjectDirectorySizeResponse
|
71
|
+
rpc :CloneFromPool, Gitaly::CloneFromPoolRequest, Gitaly::CloneFromPoolResponse
|
72
|
+
rpc :CloneFromPoolInternal, Gitaly::CloneFromPoolInternalRequest, Gitaly::CloneFromPoolInternalResponse
|
73
73
|
# RemoveRepository will move the repository to `+gitaly/tmp/<relative_path>_removed` and
|
74
74
|
# eventually remove it. This ensures that even on networked filesystems the
|
75
75
|
# data is actually removed even if there's someone still handling the data.
|
76
|
-
rpc :RemoveRepository,
|
77
|
-
rpc :RenameRepository,
|
78
|
-
rpc :ReplicateRepository,
|
79
|
-
rpc :OptimizeRepository,
|
76
|
+
rpc :RemoveRepository, Gitaly::RemoveRepositoryRequest, Gitaly::RemoveRepositoryResponse
|
77
|
+
rpc :RenameRepository, Gitaly::RenameRepositoryRequest, Gitaly::RenameRepositoryResponse
|
78
|
+
rpc :ReplicateRepository, Gitaly::ReplicateRepositoryRequest, Gitaly::ReplicateRepositoryResponse
|
79
|
+
rpc :OptimizeRepository, Gitaly::OptimizeRepositoryRequest, Gitaly::OptimizeRepositoryResponse
|
80
80
|
# SetFullPath writes the "gitlab.fullpath" configuration into the
|
81
81
|
# repository's gitconfig. This is mainly to help debugging purposes in case
|
82
82
|
# an admin inspects the repository's gitconfig such that he can easily see
|
83
83
|
# what the repository name is.
|
84
|
-
rpc :SetFullPath,
|
84
|
+
rpc :SetFullPath, Gitaly::SetFullPathRequest, Gitaly::SetFullPathResponse
|
85
85
|
end
|
86
86
|
|
87
87
|
Stub = Service.rpc_stub_class
|
@@ -8,14 +8,14 @@ module Gitaly
|
|
8
8
|
module ServerService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.ServerService'
|
16
16
|
|
17
|
-
rpc :ServerInfo,
|
18
|
-
rpc :DiskStatistics,
|
17
|
+
rpc :ServerInfo, Gitaly::ServerInfoRequest, Gitaly::ServerInfoResponse
|
18
|
+
rpc :DiskStatistics, Gitaly::DiskStatisticsRequest, Gitaly::DiskStatisticsResponse
|
19
19
|
end
|
20
20
|
|
21
21
|
Stub = Service.rpc_stub_class
|
@@ -8,7 +8,7 @@ module Gitaly
|
|
8
8
|
module SmartHTTPService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
11
|
+
include GRPC::GenericService
|
12
12
|
|
13
13
|
self.marshal_class_method = :encode
|
14
14
|
self.unmarshal_class_method = :decode
|
@@ -17,15 +17,15 @@ module Gitaly
|
|
17
17
|
# The response body for GET /info/refs?service=git-upload-pack
|
18
18
|
# Will be invoked when the user executes a `git fetch`, meaning the server
|
19
19
|
# will upload the packs to that user. The user doesn't upload new objects.
|
20
|
-
rpc :InfoRefsUploadPack,
|
20
|
+
rpc :InfoRefsUploadPack, Gitaly::InfoRefsRequest, stream(Gitaly::InfoRefsResponse)
|
21
21
|
# The response body for GET /info/refs?service=git-receive-pack
|
22
22
|
# Will be invoked when the user executes a `git push`, but only advertises
|
23
23
|
# references to the user.
|
24
|
-
rpc :InfoRefsReceivePack,
|
24
|
+
rpc :InfoRefsReceivePack, Gitaly::InfoRefsRequest, stream(Gitaly::InfoRefsResponse)
|
25
25
|
# Request and response body for POST /upload-pack
|
26
|
-
rpc :PostUploadPack, stream(
|
26
|
+
rpc :PostUploadPack, stream(Gitaly::PostUploadPackRequest), stream(Gitaly::PostUploadPackResponse)
|
27
27
|
# Request and response body for POST /receive-pack
|
28
|
-
rpc :PostReceivePack, stream(
|
28
|
+
rpc :PostReceivePack, stream(Gitaly::PostReceivePackRequest), stream(Gitaly::PostReceivePackResponse)
|
29
29
|
end
|
30
30
|
|
31
31
|
Stub = Service.rpc_stub_class
|
@@ -8,18 +8,18 @@ module Gitaly
|
|
8
8
|
module SSHService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.SSHService'
|
16
16
|
|
17
17
|
# To forward 'git upload-pack' to Gitaly for SSH sessions
|
18
|
-
rpc :SSHUploadPack, stream(
|
18
|
+
rpc :SSHUploadPack, stream(Gitaly::SSHUploadPackRequest), stream(Gitaly::SSHUploadPackResponse)
|
19
19
|
# To forward 'git receive-pack' to Gitaly for SSH sessions
|
20
|
-
rpc :SSHReceivePack, stream(
|
20
|
+
rpc :SSHReceivePack, stream(Gitaly::SSHReceivePackRequest), stream(Gitaly::SSHReceivePackResponse)
|
21
21
|
# To forward 'git upload-archive' to Gitaly for SSH sessions
|
22
|
-
rpc :SSHUploadArchive, stream(
|
22
|
+
rpc :SSHUploadArchive, stream(Gitaly::SSHUploadArchiveRequest), stream(Gitaly::SSHUploadArchiveResponse)
|
23
23
|
end
|
24
24
|
|
25
25
|
Stub = Service.rpc_stub_class
|
@@ -8,14 +8,14 @@ module Gitaly
|
|
8
8
|
module RefTransaction
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.RefTransaction'
|
16
16
|
|
17
|
-
rpc :VoteTransaction,
|
18
|
-
rpc :StopTransaction,
|
17
|
+
rpc :VoteTransaction, Gitaly::VoteTransactionRequest, Gitaly::VoteTransactionResponse
|
18
|
+
rpc :StopTransaction, Gitaly::StopTransactionRequest, Gitaly::StopTransactionResponse
|
19
19
|
end
|
20
20
|
|
21
21
|
Stub = Service.rpc_stub_class
|
@@ -8,18 +8,18 @@ module Gitaly
|
|
8
8
|
module WikiService
|
9
9
|
class Service
|
10
10
|
|
11
|
-
include
|
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.WikiService'
|
16
16
|
|
17
|
-
rpc :WikiWritePage, stream(
|
18
|
-
rpc :WikiUpdatePage, stream(
|
17
|
+
rpc :WikiWritePage, stream(Gitaly::WikiWritePageRequest), Gitaly::WikiWritePageResponse
|
18
|
+
rpc :WikiUpdatePage, stream(Gitaly::WikiUpdatePageRequest), Gitaly::WikiUpdatePageResponse
|
19
19
|
# WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large.
|
20
|
-
rpc :WikiFindPage,
|
21
|
-
rpc :WikiGetAllPages,
|
22
|
-
rpc :WikiListPages,
|
20
|
+
rpc :WikiFindPage, Gitaly::WikiFindPageRequest, stream(Gitaly::WikiFindPageResponse)
|
21
|
+
rpc :WikiGetAllPages, Gitaly::WikiGetAllPagesRequest, stream(Gitaly::WikiGetAllPagesResponse)
|
22
|
+
rpc :WikiListPages, Gitaly::WikiListPagesRequest, stream(Gitaly::WikiListPagesResponse)
|
23
23
|
end
|
24
24
|
|
25
25
|
Stub = Service.rpc_stub_class
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitaly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.3.0.pre.
|
4
|
+
version: 14.3.0.pre.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Vosmaer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- ruby/proto/gitaly/conflicts_services_pb.rb
|
44
44
|
- ruby/proto/gitaly/diff_pb.rb
|
45
45
|
- ruby/proto/gitaly/diff_services_pb.rb
|
46
|
+
- ruby/proto/gitaly/errors_pb.rb
|
46
47
|
- ruby/proto/gitaly/hook_pb.rb
|
47
48
|
- ruby/proto/gitaly/hook_services_pb.rb
|
48
49
|
- ruby/proto/gitaly/internal_pb.rb
|