gitaly 12.10.0 → 13.0.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of gitaly might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ruby/proto/gitaly.rb +2 -0
- data/ruby/proto/gitaly/blob_pb.rb +74 -76
- data/ruby/proto/gitaly/cleanup_pb.rb +14 -16
- data/ruby/proto/gitaly/commit_pb.rb +293 -295
- data/ruby/proto/gitaly/conflicts_pb.rb +43 -45
- data/ruby/proto/gitaly/diff_pb.rb +87 -89
- data/ruby/proto/gitaly/hook_pb.rb +38 -40
- data/ruby/proto/gitaly/internal_pb.rb +7 -9
- data/ruby/proto/gitaly/lint_pb.rb +16 -18
- data/ruby/proto/gitaly/namespace_pb.rb +33 -35
- data/ruby/proto/gitaly/objectpool_pb.rb +61 -63
- data/ruby/proto/gitaly/operations_pb.rb +273 -275
- data/ruby/proto/gitaly/praefect_pb.rb +35 -37
- data/ruby/proto/gitaly/ref_pb.rb +216 -218
- data/ruby/proto/gitaly/remote_pb.rb +71 -72
- data/ruby/proto/gitaly/repository-service_pb.rb +393 -395
- data/ruby/proto/gitaly/server_pb.rb +29 -31
- data/ruby/proto/gitaly/shared_pb.rb +70 -72
- data/ruby/proto/gitaly/smarthttp_pb.rb +34 -36
- data/ruby/proto/gitaly/ssh_pb.rb +39 -41
- data/ruby/proto/gitaly/transaction_pb.rb +45 -0
- data/ruby/proto/gitaly/transaction_services_pb.rb +24 -0
- data/ruby/proto/gitaly/version.rb +1 -1
- data/ruby/proto/gitaly/wiki_pb.rb +126 -128
- metadata +7 -5
@@ -6,39 +6,37 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
optional :used, :int64, 3
|
33
|
-
end
|
9
|
+
add_message "gitaly.ServerInfoRequest" do
|
10
|
+
end
|
11
|
+
add_message "gitaly.ServerInfoResponse" do
|
12
|
+
optional :server_version, :string, 1
|
13
|
+
optional :git_version, :string, 2
|
14
|
+
repeated :storage_statuses, :message, 3, "gitaly.ServerInfoResponse.StorageStatus"
|
15
|
+
end
|
16
|
+
add_message "gitaly.ServerInfoResponse.StorageStatus" do
|
17
|
+
optional :storage_name, :string, 1
|
18
|
+
optional :readable, :bool, 2
|
19
|
+
optional :writeable, :bool, 3
|
20
|
+
optional :fs_type, :string, 4
|
21
|
+
optional :filesystem_id, :string, 5
|
22
|
+
end
|
23
|
+
add_message "gitaly.DiskStatisticsRequest" do
|
24
|
+
end
|
25
|
+
add_message "gitaly.DiskStatisticsResponse" do
|
26
|
+
repeated :storage_statuses, :message, 1, "gitaly.DiskStatisticsResponse.StorageStatus"
|
27
|
+
end
|
28
|
+
add_message "gitaly.DiskStatisticsResponse.StorageStatus" do
|
29
|
+
optional :storage_name, :string, 1
|
30
|
+
optional :available, :int64, 2
|
31
|
+
optional :used, :int64, 3
|
34
32
|
end
|
35
33
|
end
|
36
34
|
|
37
35
|
module Gitaly
|
38
|
-
ServerInfoRequest =
|
39
|
-
ServerInfoResponse =
|
40
|
-
ServerInfoResponse::StorageStatus =
|
41
|
-
DiskStatisticsRequest =
|
42
|
-
DiskStatisticsResponse =
|
43
|
-
DiskStatisticsResponse::StorageStatus =
|
36
|
+
ServerInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoRequest").msgclass
|
37
|
+
ServerInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse").msgclass
|
38
|
+
ServerInfoResponse::StorageStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse.StorageStatus").msgclass
|
39
|
+
DiskStatisticsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsRequest").msgclass
|
40
|
+
DiskStatisticsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse").msgclass
|
41
|
+
DiskStatisticsResponse::StorageStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse.StorageStatus").msgclass
|
44
42
|
end
|
@@ -6,80 +6,78 @@ require 'google/protobuf'
|
|
6
6
|
require 'google/protobuf/timestamp_pb'
|
7
7
|
require 'lint_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
value :X509, 2
|
70
|
-
end
|
9
|
+
add_message "gitaly.Repository" do
|
10
|
+
optional :storage_name, :string, 2
|
11
|
+
optional :relative_path, :string, 3
|
12
|
+
optional :git_object_directory, :string, 4
|
13
|
+
repeated :git_alternate_object_directories, :string, 5
|
14
|
+
optional :gl_repository, :string, 6
|
15
|
+
optional :gl_project_path, :string, 8
|
16
|
+
end
|
17
|
+
add_message "gitaly.GitCommit" do
|
18
|
+
optional :id, :string, 1
|
19
|
+
optional :subject, :bytes, 2
|
20
|
+
optional :body, :bytes, 3
|
21
|
+
optional :author, :message, 4, "gitaly.CommitAuthor"
|
22
|
+
optional :committer, :message, 5, "gitaly.CommitAuthor"
|
23
|
+
repeated :parent_ids, :string, 6
|
24
|
+
optional :body_size, :int64, 7
|
25
|
+
optional :signature_type, :enum, 8, "gitaly.SignatureType"
|
26
|
+
end
|
27
|
+
add_message "gitaly.CommitAuthor" do
|
28
|
+
optional :name, :bytes, 1
|
29
|
+
optional :email, :bytes, 2
|
30
|
+
optional :date, :message, 3, "google.protobuf.Timestamp"
|
31
|
+
optional :timezone, :bytes, 4
|
32
|
+
end
|
33
|
+
add_message "gitaly.ExitStatus" do
|
34
|
+
optional :value, :int32, 1
|
35
|
+
end
|
36
|
+
add_message "gitaly.Branch" do
|
37
|
+
optional :name, :bytes, 1
|
38
|
+
optional :target_commit, :message, 2, "gitaly.GitCommit"
|
39
|
+
end
|
40
|
+
add_message "gitaly.Tag" do
|
41
|
+
optional :name, :bytes, 1
|
42
|
+
optional :id, :string, 2
|
43
|
+
optional :target_commit, :message, 3, "gitaly.GitCommit"
|
44
|
+
optional :message, :bytes, 4
|
45
|
+
optional :message_size, :int64, 5
|
46
|
+
optional :tagger, :message, 6, "gitaly.CommitAuthor"
|
47
|
+
optional :signature_type, :enum, 7, "gitaly.SignatureType"
|
48
|
+
end
|
49
|
+
add_message "gitaly.User" do
|
50
|
+
optional :gl_id, :string, 1
|
51
|
+
optional :name, :bytes, 2
|
52
|
+
optional :email, :bytes, 3
|
53
|
+
optional :gl_username, :string, 4
|
54
|
+
end
|
55
|
+
add_message "gitaly.ObjectPool" do
|
56
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
57
|
+
end
|
58
|
+
add_enum "gitaly.ObjectType" do
|
59
|
+
value :UNKNOWN, 0
|
60
|
+
value :COMMIT, 1
|
61
|
+
value :BLOB, 2
|
62
|
+
value :TREE, 3
|
63
|
+
value :TAG, 4
|
64
|
+
end
|
65
|
+
add_enum "gitaly.SignatureType" do
|
66
|
+
value :NONE, 0
|
67
|
+
value :PGP, 1
|
68
|
+
value :X509, 2
|
71
69
|
end
|
72
70
|
end
|
73
71
|
|
74
72
|
module Gitaly
|
75
|
-
Repository =
|
76
|
-
GitCommit =
|
77
|
-
CommitAuthor =
|
78
|
-
ExitStatus =
|
79
|
-
Branch =
|
80
|
-
Tag =
|
81
|
-
User =
|
82
|
-
ObjectPool =
|
83
|
-
ObjectType =
|
84
|
-
SignatureType =
|
73
|
+
Repository = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
|
74
|
+
GitCommit = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
|
75
|
+
CommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
|
76
|
+
ExitStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass
|
77
|
+
Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass
|
78
|
+
Tag = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Tag").msgclass
|
79
|
+
User = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass
|
80
|
+
ObjectPool = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass
|
81
|
+
ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
|
82
|
+
SignatureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
|
85
83
|
end
|
@@ -6,44 +6,42 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
optional :data, :bytes, 1
|
38
|
-
end
|
9
|
+
add_message "gitaly.InfoRefsRequest" do
|
10
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
11
|
+
repeated :git_config_options, :string, 2
|
12
|
+
optional :git_protocol, :string, 3
|
13
|
+
end
|
14
|
+
add_message "gitaly.InfoRefsResponse" do
|
15
|
+
optional :data, :bytes, 1
|
16
|
+
end
|
17
|
+
add_message "gitaly.PostUploadPackRequest" do
|
18
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
19
|
+
optional :data, :bytes, 2
|
20
|
+
repeated :git_config_options, :string, 3
|
21
|
+
optional :git_protocol, :string, 4
|
22
|
+
end
|
23
|
+
add_message "gitaly.PostUploadPackResponse" do
|
24
|
+
optional :data, :bytes, 1
|
25
|
+
end
|
26
|
+
add_message "gitaly.PostReceivePackRequest" do
|
27
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
28
|
+
optional :data, :bytes, 2
|
29
|
+
optional :gl_id, :string, 3
|
30
|
+
optional :gl_repository, :string, 4
|
31
|
+
optional :gl_username, :string, 5
|
32
|
+
optional :git_protocol, :string, 6
|
33
|
+
repeated :git_config_options, :string, 7
|
34
|
+
end
|
35
|
+
add_message "gitaly.PostReceivePackResponse" do
|
36
|
+
optional :data, :bytes, 1
|
39
37
|
end
|
40
38
|
end
|
41
39
|
|
42
40
|
module Gitaly
|
43
|
-
InfoRefsRequest =
|
44
|
-
InfoRefsResponse =
|
45
|
-
PostUploadPackRequest =
|
46
|
-
PostUploadPackResponse =
|
47
|
-
PostReceivePackRequest =
|
48
|
-
PostReceivePackResponse =
|
41
|
+
InfoRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsRequest").msgclass
|
42
|
+
InfoRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
|
43
|
+
PostUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
|
44
|
+
PostUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
|
45
|
+
PostReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
|
46
|
+
PostReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
|
49
47
|
end
|
data/ruby/proto/gitaly/ssh_pb.rb
CHANGED
@@ -6,49 +6,47 @@ require 'google/protobuf'
|
|
6
6
|
require 'lint_pb'
|
7
7
|
require 'shared_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
43
|
-
end
|
9
|
+
add_message "gitaly.SSHUploadPackRequest" do
|
10
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
11
|
+
optional :stdin, :bytes, 2
|
12
|
+
repeated :git_config_options, :string, 4
|
13
|
+
optional :git_protocol, :string, 5
|
14
|
+
end
|
15
|
+
add_message "gitaly.SSHUploadPackResponse" do
|
16
|
+
optional :stdout, :bytes, 1
|
17
|
+
optional :stderr, :bytes, 2
|
18
|
+
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
19
|
+
end
|
20
|
+
add_message "gitaly.SSHReceivePackRequest" do
|
21
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
22
|
+
optional :stdin, :bytes, 2
|
23
|
+
optional :gl_id, :string, 3
|
24
|
+
optional :gl_repository, :string, 4
|
25
|
+
optional :gl_username, :string, 5
|
26
|
+
optional :git_protocol, :string, 6
|
27
|
+
repeated :git_config_options, :string, 7
|
28
|
+
end
|
29
|
+
add_message "gitaly.SSHReceivePackResponse" do
|
30
|
+
optional :stdout, :bytes, 1
|
31
|
+
optional :stderr, :bytes, 2
|
32
|
+
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
33
|
+
end
|
34
|
+
add_message "gitaly.SSHUploadArchiveRequest" do
|
35
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
36
|
+
optional :stdin, :bytes, 2
|
37
|
+
end
|
38
|
+
add_message "gitaly.SSHUploadArchiveResponse" do
|
39
|
+
optional :stdout, :bytes, 1
|
40
|
+
optional :stderr, :bytes, 2
|
41
|
+
optional :exit_status, :message, 3, "gitaly.ExitStatus"
|
44
42
|
end
|
45
43
|
end
|
46
44
|
|
47
45
|
module Gitaly
|
48
|
-
SSHUploadPackRequest =
|
49
|
-
SSHUploadPackResponse =
|
50
|
-
SSHReceivePackRequest =
|
51
|
-
SSHReceivePackResponse =
|
52
|
-
SSHUploadArchiveRequest =
|
53
|
-
SSHUploadArchiveResponse =
|
46
|
+
SSHUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackRequest").msgclass
|
47
|
+
SSHUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass
|
48
|
+
SSHReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass
|
49
|
+
SSHReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass
|
50
|
+
SSHUploadArchiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveRequest").msgclass
|
51
|
+
SSHUploadArchiveResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveResponse").msgclass
|
54
52
|
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: transaction.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'lint_pb'
|
7
|
+
require 'shared_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_message "gitaly.RegisterTransactionRequest" do
|
10
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
11
|
+
repeated :nodes, :string, 2
|
12
|
+
end
|
13
|
+
add_message "gitaly.RegisterTransactionResponse" do
|
14
|
+
optional :transaction_id, :uint64, 1
|
15
|
+
end
|
16
|
+
add_message "gitaly.StartTransactionRequest" do
|
17
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
18
|
+
optional :transaction_id, :uint64, 2
|
19
|
+
optional :node, :string, 3
|
20
|
+
optional :reference_updates_hash, :bytes, 4
|
21
|
+
end
|
22
|
+
add_message "gitaly.StartTransactionResponse" do
|
23
|
+
optional :state, :enum, 1, "gitaly.StartTransactionResponse.TransactionState"
|
24
|
+
end
|
25
|
+
add_enum "gitaly.StartTransactionResponse.TransactionState" do
|
26
|
+
value :COMMIT, 0
|
27
|
+
value :ABORT, 1
|
28
|
+
end
|
29
|
+
add_message "gitaly.CancelTransactionRequest" do
|
30
|
+
optional :repository, :message, 1, "gitaly.Repository"
|
31
|
+
optional :transaction_id, :uint64, 2
|
32
|
+
end
|
33
|
+
add_message "gitaly.CancelTransactionResponse" do
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
module Gitaly
|
38
|
+
RegisterTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RegisterTransactionRequest").msgclass
|
39
|
+
RegisterTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RegisterTransactionResponse").msgclass
|
40
|
+
StartTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionRequest").msgclass
|
41
|
+
StartTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionResponse").msgclass
|
42
|
+
StartTransactionResponse::TransactionState = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.StartTransactionResponse.TransactionState").enummodule
|
43
|
+
CancelTransactionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CancelTransactionRequest").msgclass
|
44
|
+
CancelTransactionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CancelTransactionResponse").msgclass
|
45
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: transaction.proto for package 'gitaly'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'transaction_pb'
|
6
|
+
|
7
|
+
module Gitaly
|
8
|
+
module RefTransaction
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'gitaly.RefTransaction'
|
16
|
+
|
17
|
+
rpc :RegisterTransaction, RegisterTransactionRequest, RegisterTransactionResponse
|
18
|
+
rpc :StartTransaction, StartTransactionRequest, StartTransactionResponse
|
19
|
+
rpc :CancelTransaction, CancelTransactionRequest, CancelTransactionResponse
|
20
|
+
end
|
21
|
+
|
22
|
+
Stub = Service.rpc_stub_class
|
23
|
+
end
|
24
|
+
end
|