gitaly 13.9.0.pre.rc1 → 13.11.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2952d3b962c0f387fc9189671395f06bb81d1eded151be299f50f56aa643f646
4
- data.tar.gz: a2f7a018b419842794270c97499832724c4bf04eb157be74f5670d1612215b92
3
+ metadata.gz: 855bb9a5ebd1a91af21db1996570acb71b9b47e6b1706543b151188dff6a8f91
4
+ data.tar.gz: 4769196b75566f077d6348eefef39be4724fe133e109ea9dc893136c3afdd915
5
5
  SHA512:
6
- metadata.gz: 18c9de9d6460843a2c18c2ced652dee761b3e44149fa7a8bc3dc8c509c42bce0937c02569943678da7ca1c26423b7626542c9b7b9df160b0cefa3b0b3a9a5c00
7
- data.tar.gz: 9505babed4510da300774ba07e3af8109b70e4ac3ae9d516e739507b13dc31020fc2ba6719bf8b40f32aa132d081d36c96d6b3de23e0d2efee2df12df14cbe22
6
+ metadata.gz: f32a656a534d76b041d362a8ca3f5785e2eb31d081c36e4416d029bd1561aa691d716fbef1c30c859cb0f5ecd54cbe5b870f3f2a4070b31331d4a1b8abcbe203
7
+ data.tar.gz: b800e1735d25fecb6df67553468ebc821cc1f1d6a45d5e451dc4a4af14c761f7aed677ad8dd19b0aebea445d617818fcd60edf144acd4c6bad6f09a00a910142
@@ -69,6 +69,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
69
69
  add_message "gitaly.GetAllLFSPointersResponse" do
70
70
  repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
71
71
  end
72
+ add_message "gitaly.ListLFSPointersRequest" do
73
+ optional :repository, :message, 1, "gitaly.Repository"
74
+ repeated :revisions, :string, 2
75
+ optional :limit, :int32, 3
76
+ end
77
+ add_message "gitaly.ListLFSPointersResponse" do
78
+ repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
79
+ end
80
+ add_message "gitaly.ListAllLFSPointersRequest" do
81
+ optional :repository, :message, 1, "gitaly.Repository"
82
+ optional :limit, :int32, 3
83
+ end
84
+ add_message "gitaly.ListAllLFSPointersResponse" do
85
+ repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
86
+ end
72
87
  end
73
88
  end
74
89
 
@@ -86,4 +101,8 @@ module Gitaly
86
101
  GetNewLFSPointersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetNewLFSPointersResponse").msgclass
87
102
  GetAllLFSPointersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetAllLFSPointersRequest").msgclass
88
103
  GetAllLFSPointersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetAllLFSPointersResponse").msgclass
104
+ ListLFSPointersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLFSPointersRequest").msgclass
105
+ ListLFSPointersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLFSPointersResponse").msgclass
106
+ ListAllLFSPointersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllLFSPointersRequest").msgclass
107
+ ListAllLFSPointersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListAllLFSPointersResponse").msgclass
89
108
  end
@@ -19,9 +19,35 @@ module Gitaly
19
19
  # response
20
20
  rpc :GetBlob, Gitaly::GetBlobRequest, stream(Gitaly::GetBlobResponse)
21
21
  rpc :GetBlobs, Gitaly::GetBlobsRequest, stream(Gitaly::GetBlobsResponse)
22
+ # GetLFSPointers retrieves LFS pointers from a given set of object IDs.
23
+ # This RPC filters all requested objects and only returns those which refer
24
+ # to a valid LFS pointer.
25
+ #
26
+ # Deprecated in favor of `ListLFSPointers`, passing object IDs as revisions.
22
27
  rpc :GetLFSPointers, Gitaly::GetLFSPointersRequest, stream(Gitaly::GetLFSPointersResponse)
28
+ # GetNewLFSPointers retrieves LFS pointers for a limited subset of the
29
+ # commit graph. It will return all LFS pointers which are reachable by the
30
+ # provided revision, but not reachable by any of the limiting references.
31
+ #
32
+ # Deprecated in favor of `ListLFSPointers`. `NotInAll` can be replaced with
33
+ # `REVISION` `--not` `--all`, while `NotInRefs` can be replaced with
34
+ # `REVISION` `--not` `NotInRevs...`.
23
35
  rpc :GetNewLFSPointers, Gitaly::GetNewLFSPointersRequest, stream(Gitaly::GetNewLFSPointersResponse)
36
+ # GetAllLFSPointers retrieves all LFS pointers of the given repository.
37
+ #
38
+ # Deprecated in favor of `ListLFSPointers`, passing `--all` as revision.
24
39
  rpc :GetAllLFSPointers, Gitaly::GetAllLFSPointersRequest, stream(Gitaly::GetAllLFSPointersResponse)
40
+ # ListLFSPointers retrieves LFS pointers reachable from a given set of
41
+ # revisions by doing a graph walk. This includes both normal revisions like
42
+ # an object ID or branch, but also the pseudo-revisions "--all" and "--not"
43
+ # as documented in git-rev-parse(1). Revisions which don't directly or
44
+ # transitively reference any LFS pointers are ignored. It is not valid to
45
+ # pass revisions which do not resolve to an existing object.
46
+ rpc :ListLFSPointers, Gitaly::ListLFSPointersRequest, stream(Gitaly::ListLFSPointersResponse)
47
+ # ListAllLFSPointers retrieves all LFS pointers in the repository. In
48
+ # contrast to `GetAllLFSPointers`, this RPC also includes LFS pointers which
49
+ # are not reachable by any reference.
50
+ rpc :ListAllLFSPointers, Gitaly::ListAllLFSPointersRequest, stream(Gitaly::ListAllLFSPointersResponse)
25
51
  end
26
52
 
27
53
  Stub = Service.rpc_stub_class
@@ -22,6 +22,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  optional :safe_max_files, :int32, 11
23
23
  optional :safe_max_lines, :int32, 12
24
24
  optional :safe_max_bytes, :int32, 13
25
+ optional :diff_mode, :enum, 15, "gitaly.CommitDiffRequest.DiffMode"
26
+ end
27
+ add_enum "gitaly.CommitDiffRequest.DiffMode" do
28
+ value :DEFAULT, 0
29
+ value :WORDDIFF, 1
25
30
  end
26
31
  add_message "gitaly.CommitDiffResponse" do
27
32
  optional :from_path, :bytes, 1
@@ -107,6 +112,7 @@ end
107
112
 
108
113
  module Gitaly
109
114
  CommitDiffRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass
115
+ CommitDiffRequest::DiffMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest.DiffMode").enummodule
110
116
  CommitDiffResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass
111
117
  CommitDeltaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass
112
118
  CommitDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass
@@ -57,6 +57,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
57
57
  optional :stderr, :bytes, 2
58
58
  optional :exit_status, :message, 3, "gitaly.ExitStatus"
59
59
  end
60
+ add_message "gitaly.PackObjectsHookRequest" do
61
+ optional :repository, :message, 1, "gitaly.Repository"
62
+ repeated :args, :string, 2
63
+ optional :stdin, :bytes, 3
64
+ end
65
+ add_message "gitaly.PackObjectsHookResponse" do
66
+ optional :stdout, :bytes, 1
67
+ optional :stderr, :bytes, 2
68
+ end
60
69
  end
61
70
  end
62
71
 
@@ -70,4 +79,6 @@ module Gitaly
70
79
  ReferenceTransactionHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest").msgclass
71
80
  ReferenceTransactionHookRequest::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookRequest.State").enummodule
72
81
  ReferenceTransactionHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceTransactionHookResponse").msgclass
82
+ PackObjectsHookRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookRequest").msgclass
83
+ PackObjectsHookResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackObjectsHookResponse").msgclass
73
84
  end
@@ -18,6 +18,10 @@ module Gitaly
18
18
  rpc :PostReceiveHook, stream(Gitaly::PostReceiveHookRequest), stream(Gitaly::PostReceiveHookResponse)
19
19
  rpc :UpdateHook, Gitaly::UpdateHookRequest, stream(Gitaly::UpdateHookResponse)
20
20
  rpc :ReferenceTransactionHook, stream(Gitaly::ReferenceTransactionHookRequest), stream(Gitaly::ReferenceTransactionHookResponse)
21
+ # PackObjectsHook is meant to be called by git-upload-pack via the
22
+ # uploadpack.packObjectsHook mechanism. It generates a stream of packed
23
+ # Git objects.
24
+ rpc :PackObjectsHook, stream(Gitaly::PackObjectsHookRequest), stream(Gitaly::PackObjectsHookResponse)
21
25
  end
22
26
 
23
27
  Stub = Service.rpc_stub_class
@@ -63,6 +63,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
63
63
  optional :reference_checksum, :string, 3
64
64
  optional :repl_job_id, :uint64, 4
65
65
  optional :reference_storage, :string, 5
66
+ repeated :errors, :string, 6
66
67
  end
67
68
  end
68
69
  end
@@ -26,6 +26,8 @@ module Gitaly
26
26
  rpc :FindTag, Gitaly::FindTagRequest, Gitaly::FindTagResponse
27
27
  rpc :FindAllRemoteBranches, Gitaly::FindAllRemoteBranchesRequest, stream(Gitaly::FindAllRemoteBranchesResponse)
28
28
  rpc :RefExists, Gitaly::RefExistsRequest, Gitaly::RefExistsResponse
29
+ # FindBranch finds a branch by its unqualified name (like "master") and
30
+ # returns the commit it currently points to.
29
31
  rpc :FindBranch, Gitaly::FindBranchRequest, Gitaly::FindBranchResponse
30
32
  rpc :DeleteRefs, Gitaly::DeleteRefsRequest, Gitaly::DeleteRefsResponse
31
33
  rpc :ListBranchNamesContainingCommit, Gitaly::ListBranchNamesContainingCommitRequest, stream(Gitaly::ListBranchNamesContainingCommitResponse)
@@ -17,10 +17,14 @@ module Gitaly
17
17
  rpc :AddRemote, Gitaly::AddRemoteRequest, Gitaly::AddRemoteResponse
18
18
  rpc :FetchInternalRemote, Gitaly::FetchInternalRemoteRequest, Gitaly::FetchInternalRemoteResponse
19
19
  rpc :RemoveRemote, Gitaly::RemoveRemoteRequest, Gitaly::RemoveRemoteResponse
20
+ # UpdateRemoteMirror compares the references in the target repository and its remote mirror
21
+ # repository. Any differences in the references are then addressed by pushing the differing
22
+ # references to the mirror. Created and modified references are updated, removed references are
23
+ # deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match
24
+ # the patterns specified in the requests.
20
25
  rpc :UpdateRemoteMirror, stream(Gitaly::UpdateRemoteMirrorRequest), Gitaly::UpdateRemoteMirrorResponse
21
26
  rpc :FindRemoteRepository, Gitaly::FindRemoteRepositoryRequest, Gitaly::FindRemoteRepositoryResponse
22
27
  rpc :FindRemoteRootRef, Gitaly::FindRemoteRootRefRequest, Gitaly::FindRemoteRootRefResponse
23
- rpc :ListRemotes, Gitaly::ListRemotesRequest, stream(Gitaly::ListRemotesResponse)
24
28
  end
25
29
 
26
30
  Stub = Service.rpc_stub_class
@@ -286,7 +286,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
286
286
  end
287
287
  add_message "gitaly.Remote" do
288
288
  optional :url, :string, 1
289
- optional :name, :string, 2
290
289
  optional :http_authorization_header, :string, 3
291
290
  repeated :mirror_refmaps, :string, 4
292
291
  end
@@ -56,6 +56,9 @@ module Gitaly
56
56
  rpc :GetObjectDirectorySize, Gitaly::GetObjectDirectorySizeRequest, Gitaly::GetObjectDirectorySizeResponse
57
57
  rpc :CloneFromPool, Gitaly::CloneFromPoolRequest, Gitaly::CloneFromPoolResponse
58
58
  rpc :CloneFromPoolInternal, Gitaly::CloneFromPoolInternalRequest, Gitaly::CloneFromPoolInternalResponse
59
+ # RemoveRepository will move the repository to `+gitaly/tmp/<relative_path>_removed` and
60
+ # eventually remove it. This ensures that even on networked filesystems the
61
+ # data is actually removed even if there's someone still handling the data.
59
62
  rpc :RemoveRepository, Gitaly::RemoveRepositoryRequest, Gitaly::RemoveRepositoryResponse
60
63
  rpc :RenameRepository, Gitaly::RenameRepositoryRequest, Gitaly::RenameRepositoryResponse
61
64
  rpc :ReplicateRepository, Gitaly::ReplicateRepositoryRequest, Gitaly::ReplicateRepositoryResponse
@@ -2,5 +2,5 @@
2
2
  # (https://gitlab.com/gitlab-org/release-tools/), and should not be
3
3
  # modified.
4
4
  module Gitaly
5
- VERSION = '13.9.0-rc1'
5
+ VERSION = '13.11.0-rc1'
6
6
  end
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: 13.9.0.pre.rc1
4
+ version: 13.11.0.pre.rc1
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-01-27 00:00:00.000000000 Z
11
+ date: 2021-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: 1.3.1
95
95
  requirements: []
96
- rubygems_version: 3.1.4
96
+ rubygems_version: 3.1.6
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Auto-generated gRPC client for gitaly