gitaly 13.3.0.pre.rc3 → 13.3.0.pre.rc4

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.

Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/ruby/proto/gitaly/blob_pb.rb +76 -74
  3. data/ruby/proto/gitaly/blob_services_pb.rb +5 -5
  4. data/ruby/proto/gitaly/cleanup_pb.rb +16 -14
  5. data/ruby/proto/gitaly/cleanup_services_pb.rb +1 -1
  6. data/ruby/proto/gitaly/commit_pb.rb +307 -305
  7. data/ruby/proto/gitaly/commit_services_pb.rb +21 -21
  8. data/ruby/proto/gitaly/conflicts_pb.rb +45 -43
  9. data/ruby/proto/gitaly/conflicts_services_pb.rb +2 -2
  10. data/ruby/proto/gitaly/diff_pb.rb +90 -88
  11. data/ruby/proto/gitaly/diff_services_pb.rb +5 -5
  12. data/ruby/proto/gitaly/hook_pb.rb +53 -51
  13. data/ruby/proto/gitaly/hook_services_pb.rb +4 -4
  14. data/ruby/proto/gitaly/internal_pb.rb +9 -7
  15. data/ruby/proto/gitaly/internal_services_pb.rb +1 -1
  16. data/ruby/proto/gitaly/lint_pb.rb +18 -16
  17. data/ruby/proto/gitaly/namespace_pb.rb +35 -33
  18. data/ruby/proto/gitaly/namespace_services_pb.rb +4 -4
  19. data/ruby/proto/gitaly/objectpool_pb.rb +63 -61
  20. data/ruby/proto/gitaly/objectpool_services_pb.rb +8 -8
  21. data/ruby/proto/gitaly/operations_pb.rb +277 -275
  22. data/ruby/proto/gitaly/operations_services_pb.rb +15 -15
  23. data/ruby/proto/gitaly/praefect_pb.rb +60 -56
  24. data/ruby/proto/gitaly/praefect_services_pb.rb +5 -6
  25. data/ruby/proto/gitaly/ref_pb.rb +219 -217
  26. data/ruby/proto/gitaly/ref_services_pb.rb +18 -18
  27. data/ruby/proto/gitaly/remote_pb.rb +74 -72
  28. data/ruby/proto/gitaly/remote_services_pb.rb +7 -7
  29. data/ruby/proto/gitaly/repository-service_pb.rb +412 -409
  30. data/ruby/proto/gitaly/repository-service_services_pb.rb +42 -42
  31. data/ruby/proto/gitaly/server_pb.rb +32 -30
  32. data/ruby/proto/gitaly/server_services_pb.rb +2 -2
  33. data/ruby/proto/gitaly/shared_pb.rb +81 -79
  34. data/ruby/proto/gitaly/smarthttp_pb.rb +36 -34
  35. data/ruby/proto/gitaly/smarthttp_services_pb.rb +4 -4
  36. data/ruby/proto/gitaly/ssh_pb.rb +41 -39
  37. data/ruby/proto/gitaly/ssh_services_pb.rb +3 -3
  38. data/ruby/proto/gitaly/transaction_pb.rb +17 -15
  39. data/ruby/proto/gitaly/transaction_services_pb.rb +1 -1
  40. data/ruby/proto/gitaly/version.rb +1 -1
  41. data/ruby/proto/gitaly/wiki_pb.rb +128 -126
  42. data/ruby/proto/gitaly/wiki_services_pb.rb +8 -8
  43. metadata +2 -2
@@ -14,10 +14,10 @@ module Gitaly
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'gitaly.HookService'
16
16
 
17
- rpc :PreReceiveHook, stream(PreReceiveHookRequest), stream(PreReceiveHookResponse)
18
- rpc :PostReceiveHook, stream(PostReceiveHookRequest), stream(PostReceiveHookResponse)
19
- rpc :UpdateHook, UpdateHookRequest, stream(UpdateHookResponse)
20
- rpc :ReferenceTransactionHook, stream(ReferenceTransactionHookRequest), stream(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
  end
22
22
 
23
23
  Stub = Service.rpc_stub_class
@@ -5,15 +5,17 @@ require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "gitaly.WalkReposRequest" do
9
- optional :storage_name, :string, 1
10
- end
11
- add_message "gitaly.WalkReposResponse" do
12
- optional :relative_path, :string, 1
8
+ add_file("internal.proto", :syntax => :proto3) do
9
+ add_message "gitaly.WalkReposRequest" do
10
+ optional :storage_name, :string, 1
11
+ end
12
+ add_message "gitaly.WalkReposResponse" do
13
+ optional :relative_path, :string, 1
14
+ end
13
15
  end
14
16
  end
15
17
 
16
18
  module Gitaly
17
- WalkReposRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposRequest").msgclass
18
- WalkReposResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposResponse").msgclass
19
+ WalkReposRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposRequest").msgclass
20
+ WalkReposResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WalkReposResponse").msgclass
19
21
  end
@@ -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, WalkReposRequest, stream(WalkReposResponse)
21
+ rpc :WalkRepos, Gitaly::WalkReposRequest, stream(Gitaly::WalkReposResponse)
22
22
  end
23
23
 
24
24
  Stub = Service.rpc_stub_class
@@ -4,24 +4,26 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "gitaly.OperationMsg" do
8
- optional :op, :enum, 1, "gitaly.OperationMsg.Operation"
9
- optional :scope_level, :enum, 2, "gitaly.OperationMsg.Scope"
10
- end
11
- add_enum "gitaly.OperationMsg.Operation" do
12
- value :UNKNOWN, 0
13
- value :MUTATOR, 1
14
- value :ACCESSOR, 2
15
- end
16
- add_enum "gitaly.OperationMsg.Scope" do
17
- value :REPOSITORY, 0
18
- value :SERVER, 1
19
- value :STORAGE, 2
7
+ add_file("lint.proto", :syntax => :proto3) do
8
+ add_message "gitaly.OperationMsg" do
9
+ optional :op, :enum, 1, "gitaly.OperationMsg.Operation"
10
+ optional :scope_level, :enum, 2, "gitaly.OperationMsg.Scope"
11
+ end
12
+ add_enum "gitaly.OperationMsg.Operation" do
13
+ value :UNKNOWN, 0
14
+ value :MUTATOR, 1
15
+ value :ACCESSOR, 2
16
+ end
17
+ add_enum "gitaly.OperationMsg.Scope" do
18
+ value :REPOSITORY, 0
19
+ value :SERVER, 1
20
+ value :STORAGE, 2
21
+ end
20
22
  end
21
23
  end
22
24
 
23
25
  module Gitaly
24
- OperationMsg = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass
25
- OperationMsg::Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule
26
- OperationMsg::Scope = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").enummodule
26
+ OperationMsg = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass
27
+ OperationMsg::Operation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule
28
+ OperationMsg::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").enummodule
27
29
  end
@@ -5,41 +5,43 @@ require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "gitaly.AddNamespaceRequest" do
9
- optional :storage_name, :string, 1
10
- optional :name, :string, 2
11
- end
12
- add_message "gitaly.RemoveNamespaceRequest" do
13
- optional :storage_name, :string, 1
14
- optional :name, :string, 2
15
- end
16
- add_message "gitaly.RenameNamespaceRequest" do
17
- optional :storage_name, :string, 1
18
- optional :from, :string, 2
19
- optional :to, :string, 3
20
- end
21
- add_message "gitaly.NamespaceExistsRequest" do
22
- optional :storage_name, :string, 1
23
- optional :name, :string, 2
24
- end
25
- add_message "gitaly.NamespaceExistsResponse" do
26
- optional :exists, :bool, 1
27
- end
28
- add_message "gitaly.AddNamespaceResponse" do
29
- end
30
- add_message "gitaly.RemoveNamespaceResponse" do
31
- end
32
- add_message "gitaly.RenameNamespaceResponse" do
8
+ add_file("namespace.proto", :syntax => :proto3) do
9
+ add_message "gitaly.AddNamespaceRequest" do
10
+ optional :storage_name, :string, 1
11
+ optional :name, :string, 2
12
+ end
13
+ add_message "gitaly.RemoveNamespaceRequest" do
14
+ optional :storage_name, :string, 1
15
+ optional :name, :string, 2
16
+ end
17
+ add_message "gitaly.RenameNamespaceRequest" do
18
+ optional :storage_name, :string, 1
19
+ optional :from, :string, 2
20
+ optional :to, :string, 3
21
+ end
22
+ add_message "gitaly.NamespaceExistsRequest" do
23
+ optional :storage_name, :string, 1
24
+ optional :name, :string, 2
25
+ end
26
+ add_message "gitaly.NamespaceExistsResponse" do
27
+ optional :exists, :bool, 1
28
+ end
29
+ add_message "gitaly.AddNamespaceResponse" do
30
+ end
31
+ add_message "gitaly.RemoveNamespaceResponse" do
32
+ end
33
+ add_message "gitaly.RenameNamespaceResponse" do
34
+ end
33
35
  end
34
36
  end
35
37
 
36
38
  module Gitaly
37
- AddNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceRequest").msgclass
38
- RemoveNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceRequest").msgclass
39
- RenameNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceRequest").msgclass
40
- NamespaceExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsRequest").msgclass
41
- NamespaceExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsResponse").msgclass
42
- AddNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceResponse").msgclass
43
- RemoveNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceResponse").msgclass
44
- RenameNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceResponse").msgclass
39
+ AddNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceRequest").msgclass
40
+ RemoveNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceRequest").msgclass
41
+ RenameNamespaceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceRequest").msgclass
42
+ NamespaceExistsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsRequest").msgclass
43
+ NamespaceExistsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsResponse").msgclass
44
+ AddNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceResponse").msgclass
45
+ RemoveNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceResponse").msgclass
46
+ RenameNamespaceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceResponse").msgclass
45
47
  end
@@ -14,10 +14,10 @@ module Gitaly
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'gitaly.NamespaceService'
16
16
 
17
- rpc :AddNamespace, AddNamespaceRequest, AddNamespaceResponse
18
- rpc :RemoveNamespace, RemoveNamespaceRequest, RemoveNamespaceResponse
19
- rpc :RenameNamespace, RenameNamespaceRequest, RenameNamespaceResponse
20
- rpc :NamespaceExists, NamespaceExistsRequest, 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
@@ -6,69 +6,71 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_message "gitaly.CreateObjectPoolRequest" do
10
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
11
- optional :origin, :message, 2, "gitaly.Repository"
12
- end
13
- add_message "gitaly.CreateObjectPoolResponse" do
14
- end
15
- add_message "gitaly.DeleteObjectPoolRequest" do
16
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
17
- end
18
- add_message "gitaly.DeleteObjectPoolResponse" do
19
- end
20
- add_message "gitaly.LinkRepositoryToObjectPoolRequest" do
21
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
22
- optional :repository, :message, 2, "gitaly.Repository"
23
- end
24
- add_message "gitaly.LinkRepositoryToObjectPoolResponse" do
25
- end
26
- add_message "gitaly.UnlinkRepositoryFromObjectPoolRequest" do
27
- optional :repository, :message, 1, "gitaly.Repository"
28
- optional :object_pool, :message, 2, "gitaly.ObjectPool"
29
- end
30
- add_message "gitaly.UnlinkRepositoryFromObjectPoolResponse" do
31
- end
32
- add_message "gitaly.ReduplicateRepositoryRequest" do
33
- optional :repository, :message, 1, "gitaly.Repository"
34
- end
35
- add_message "gitaly.ReduplicateRepositoryResponse" do
36
- end
37
- add_message "gitaly.DisconnectGitAlternatesRequest" do
38
- optional :repository, :message, 1, "gitaly.Repository"
39
- end
40
- add_message "gitaly.DisconnectGitAlternatesResponse" do
41
- end
42
- add_message "gitaly.FetchIntoObjectPoolRequest" do
43
- optional :origin, :message, 1, "gitaly.Repository"
44
- optional :object_pool, :message, 2, "gitaly.ObjectPool"
45
- optional :repack, :bool, 3
46
- end
47
- add_message "gitaly.FetchIntoObjectPoolResponse" do
48
- end
49
- add_message "gitaly.GetObjectPoolRequest" do
50
- optional :repository, :message, 1, "gitaly.Repository"
51
- end
52
- add_message "gitaly.GetObjectPoolResponse" do
53
- optional :object_pool, :message, 1, "gitaly.ObjectPool"
9
+ add_file("objectpool.proto", :syntax => :proto3) do
10
+ add_message "gitaly.CreateObjectPoolRequest" do
11
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
12
+ optional :origin, :message, 2, "gitaly.Repository"
13
+ end
14
+ add_message "gitaly.CreateObjectPoolResponse" do
15
+ end
16
+ add_message "gitaly.DeleteObjectPoolRequest" do
17
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
18
+ end
19
+ add_message "gitaly.DeleteObjectPoolResponse" do
20
+ end
21
+ add_message "gitaly.LinkRepositoryToObjectPoolRequest" do
22
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
23
+ optional :repository, :message, 2, "gitaly.Repository"
24
+ end
25
+ add_message "gitaly.LinkRepositoryToObjectPoolResponse" do
26
+ end
27
+ add_message "gitaly.UnlinkRepositoryFromObjectPoolRequest" do
28
+ optional :repository, :message, 1, "gitaly.Repository"
29
+ optional :object_pool, :message, 2, "gitaly.ObjectPool"
30
+ end
31
+ add_message "gitaly.UnlinkRepositoryFromObjectPoolResponse" do
32
+ end
33
+ add_message "gitaly.ReduplicateRepositoryRequest" do
34
+ optional :repository, :message, 1, "gitaly.Repository"
35
+ end
36
+ add_message "gitaly.ReduplicateRepositoryResponse" do
37
+ end
38
+ add_message "gitaly.DisconnectGitAlternatesRequest" do
39
+ optional :repository, :message, 1, "gitaly.Repository"
40
+ end
41
+ add_message "gitaly.DisconnectGitAlternatesResponse" do
42
+ end
43
+ add_message "gitaly.FetchIntoObjectPoolRequest" do
44
+ optional :origin, :message, 1, "gitaly.Repository"
45
+ optional :object_pool, :message, 2, "gitaly.ObjectPool"
46
+ optional :repack, :bool, 3
47
+ end
48
+ add_message "gitaly.FetchIntoObjectPoolResponse" do
49
+ end
50
+ add_message "gitaly.GetObjectPoolRequest" do
51
+ optional :repository, :message, 1, "gitaly.Repository"
52
+ end
53
+ add_message "gitaly.GetObjectPoolResponse" do
54
+ optional :object_pool, :message, 1, "gitaly.ObjectPool"
55
+ end
54
56
  end
55
57
  end
56
58
 
57
59
  module Gitaly
58
- CreateObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolRequest").msgclass
59
- CreateObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolResponse").msgclass
60
- DeleteObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolRequest").msgclass
61
- DeleteObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolResponse").msgclass
62
- LinkRepositoryToObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolRequest").msgclass
63
- LinkRepositoryToObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolResponse").msgclass
64
- UnlinkRepositoryFromObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolRequest").msgclass
65
- UnlinkRepositoryFromObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolResponse").msgclass
66
- ReduplicateRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryRequest").msgclass
67
- ReduplicateRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryResponse").msgclass
68
- DisconnectGitAlternatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesRequest").msgclass
69
- DisconnectGitAlternatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesResponse").msgclass
70
- FetchIntoObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolRequest").msgclass
71
- FetchIntoObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolResponse").msgclass
72
- GetObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolRequest").msgclass
73
- GetObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolResponse").msgclass
60
+ CreateObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolRequest").msgclass
61
+ CreateObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolResponse").msgclass
62
+ DeleteObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolRequest").msgclass
63
+ DeleteObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolResponse").msgclass
64
+ LinkRepositoryToObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolRequest").msgclass
65
+ LinkRepositoryToObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolResponse").msgclass
66
+ UnlinkRepositoryFromObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolRequest").msgclass
67
+ UnlinkRepositoryFromObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolResponse").msgclass
68
+ ReduplicateRepositoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryRequest").msgclass
69
+ ReduplicateRepositoryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryResponse").msgclass
70
+ DisconnectGitAlternatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesRequest").msgclass
71
+ DisconnectGitAlternatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesResponse").msgclass
72
+ FetchIntoObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolRequest").msgclass
73
+ FetchIntoObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolResponse").msgclass
74
+ GetObjectPoolRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolRequest").msgclass
75
+ GetObjectPoolResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectPoolResponse").msgclass
74
76
  end
@@ -14,15 +14,15 @@ module Gitaly
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'gitaly.ObjectPoolService'
16
16
 
17
- rpc :CreateObjectPool, CreateObjectPoolRequest, CreateObjectPoolResponse
18
- rpc :DeleteObjectPool, DeleteObjectPoolRequest, 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, LinkRepositoryToObjectPoolRequest, LinkRepositoryToObjectPoolResponse
21
- rpc :UnlinkRepositoryFromObjectPool, UnlinkRepositoryFromObjectPoolRequest, UnlinkRepositoryFromObjectPoolResponse
22
- rpc :ReduplicateRepository, ReduplicateRepositoryRequest, ReduplicateRepositoryResponse
23
- rpc :DisconnectGitAlternates, DisconnectGitAlternatesRequest, DisconnectGitAlternatesResponse
24
- rpc :FetchIntoObjectPool, FetchIntoObjectPoolRequest, FetchIntoObjectPoolResponse
25
- rpc :GetObjectPool, GetObjectPoolRequest, 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
@@ -6,288 +6,290 @@ require 'google/protobuf'
6
6
  require 'lint_pb'
7
7
  require 'shared_pb'
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_message "gitaly.UserCreateBranchRequest" do
10
- optional :repository, :message, 1, "gitaly.Repository"
11
- optional :branch_name, :bytes, 2
12
- optional :user, :message, 3, "gitaly.User"
13
- optional :start_point, :bytes, 4
14
- end
15
- add_message "gitaly.UserCreateBranchResponse" do
16
- optional :branch, :message, 1, "gitaly.Branch"
17
- optional :pre_receive_error, :string, 2
18
- end
19
- add_message "gitaly.UserUpdateBranchRequest" do
20
- optional :repository, :message, 1, "gitaly.Repository"
21
- optional :branch_name, :bytes, 2
22
- optional :user, :message, 3, "gitaly.User"
23
- optional :newrev, :bytes, 4
24
- optional :oldrev, :bytes, 5
25
- end
26
- add_message "gitaly.UserUpdateBranchResponse" do
27
- optional :pre_receive_error, :string, 1
28
- end
29
- add_message "gitaly.UserDeleteBranchRequest" do
30
- optional :repository, :message, 1, "gitaly.Repository"
31
- optional :branch_name, :bytes, 2
32
- optional :user, :message, 3, "gitaly.User"
33
- end
34
- add_message "gitaly.UserDeleteBranchResponse" do
35
- optional :pre_receive_error, :string, 1
36
- end
37
- add_message "gitaly.UserDeleteTagRequest" do
38
- optional :repository, :message, 1, "gitaly.Repository"
39
- optional :tag_name, :bytes, 2
40
- optional :user, :message, 3, "gitaly.User"
41
- end
42
- add_message "gitaly.UserDeleteTagResponse" do
43
- optional :pre_receive_error, :string, 1
44
- end
45
- add_message "gitaly.UserCreateTagRequest" do
46
- optional :repository, :message, 1, "gitaly.Repository"
47
- optional :tag_name, :bytes, 2
48
- optional :user, :message, 3, "gitaly.User"
49
- optional :target_revision, :bytes, 4
50
- optional :message, :bytes, 5
51
- end
52
- add_message "gitaly.UserCreateTagResponse" do
53
- optional :tag, :message, 1, "gitaly.Tag"
54
- optional :exists, :bool, 2
55
- optional :pre_receive_error, :string, 3
56
- end
57
- add_message "gitaly.UserMergeBranchRequest" do
58
- optional :repository, :message, 1, "gitaly.Repository"
59
- optional :user, :message, 2, "gitaly.User"
60
- optional :commit_id, :string, 3
61
- optional :branch, :bytes, 4
62
- optional :message, :bytes, 5
63
- optional :apply, :bool, 6
64
- end
65
- add_message "gitaly.UserMergeBranchResponse" do
66
- optional :commit_id, :string, 1
67
- optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
68
- optional :pre_receive_error, :string, 4
69
- end
70
- add_message "gitaly.UserMergeToRefRequest" do
71
- optional :repository, :message, 1, "gitaly.Repository"
72
- optional :user, :message, 2, "gitaly.User"
73
- optional :source_sha, :string, 3
74
- optional :branch, :bytes, 4
75
- optional :target_ref, :bytes, 5
76
- optional :message, :bytes, 6
77
- optional :first_parent_ref, :bytes, 7
78
- end
79
- add_message "gitaly.UserMergeToRefResponse" do
80
- optional :commit_id, :string, 1
81
- optional :pre_receive_error, :string, 2
82
- end
83
- add_message "gitaly.OperationBranchUpdate" do
84
- optional :commit_id, :string, 1
85
- optional :repo_created, :bool, 2
86
- optional :branch_created, :bool, 3
87
- end
88
- add_message "gitaly.UserFFBranchRequest" do
89
- optional :repository, :message, 1, "gitaly.Repository"
90
- optional :user, :message, 2, "gitaly.User"
91
- optional :commit_id, :string, 3
92
- optional :branch, :bytes, 4
93
- end
94
- add_message "gitaly.UserFFBranchResponse" do
95
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
96
- optional :pre_receive_error, :string, 2
97
- end
98
- add_message "gitaly.UserCherryPickRequest" do
99
- optional :repository, :message, 1, "gitaly.Repository"
100
- optional :user, :message, 2, "gitaly.User"
101
- optional :commit, :message, 3, "gitaly.GitCommit"
102
- optional :branch_name, :bytes, 4
103
- optional :message, :bytes, 5
104
- optional :start_branch_name, :bytes, 6
105
- optional :start_repository, :message, 7, "gitaly.Repository"
106
- optional :dry_run, :bool, 8
107
- end
108
- add_message "gitaly.UserCherryPickResponse" do
109
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
110
- optional :create_tree_error, :string, 2
111
- optional :commit_error, :string, 3
112
- optional :pre_receive_error, :string, 4
113
- optional :create_tree_error_code, :enum, 5, "gitaly.UserCherryPickResponse.CreateTreeError"
114
- end
115
- add_enum "gitaly.UserCherryPickResponse.CreateTreeError" do
116
- value :NONE, 0
117
- value :EMPTY, 1
118
- value :CONFLICT, 2
119
- end
120
- add_message "gitaly.UserRevertRequest" do
121
- optional :repository, :message, 1, "gitaly.Repository"
122
- optional :user, :message, 2, "gitaly.User"
123
- optional :commit, :message, 3, "gitaly.GitCommit"
124
- optional :branch_name, :bytes, 4
125
- optional :message, :bytes, 5
126
- optional :start_branch_name, :bytes, 6
127
- optional :start_repository, :message, 7, "gitaly.Repository"
128
- optional :dry_run, :bool, 8
129
- end
130
- add_message "gitaly.UserRevertResponse" do
131
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
132
- optional :create_tree_error, :string, 2
133
- optional :commit_error, :string, 3
134
- optional :pre_receive_error, :string, 4
135
- optional :create_tree_error_code, :enum, 5, "gitaly.UserRevertResponse.CreateTreeError"
136
- end
137
- add_enum "gitaly.UserRevertResponse.CreateTreeError" do
138
- value :NONE, 0
139
- value :EMPTY, 1
140
- value :CONFLICT, 2
141
- end
142
- add_message "gitaly.UserCommitFilesActionHeader" do
143
- optional :action, :enum, 1, "gitaly.UserCommitFilesActionHeader.ActionType"
144
- optional :file_path, :bytes, 2
145
- optional :previous_path, :bytes, 3
146
- optional :base64_content, :bool, 4
147
- optional :execute_filemode, :bool, 5
148
- optional :infer_content, :bool, 6
149
- end
150
- add_enum "gitaly.UserCommitFilesActionHeader.ActionType" do
151
- value :CREATE, 0
152
- value :CREATE_DIR, 1
153
- value :UPDATE, 2
154
- value :MOVE, 3
155
- value :DELETE, 4
156
- value :CHMOD, 5
157
- end
158
- add_message "gitaly.UserCommitFilesAction" do
159
- oneof :user_commit_files_action_payload do
160
- optional :header, :message, 1, "gitaly.UserCommitFilesActionHeader"
161
- optional :content, :bytes, 2
9
+ add_file("operations.proto", :syntax => :proto3) do
10
+ add_message "gitaly.UserCreateBranchRequest" do
11
+ optional :repository, :message, 1, "gitaly.Repository"
12
+ optional :branch_name, :bytes, 2
13
+ optional :user, :message, 3, "gitaly.User"
14
+ optional :start_point, :bytes, 4
162
15
  end
163
- end
164
- add_message "gitaly.UserCommitFilesRequestHeader" do
165
- optional :repository, :message, 1, "gitaly.Repository"
166
- optional :user, :message, 2, "gitaly.User"
167
- optional :branch_name, :bytes, 3
168
- optional :commit_message, :bytes, 4
169
- optional :commit_author_name, :bytes, 5
170
- optional :commit_author_email, :bytes, 6
171
- optional :start_branch_name, :bytes, 7
172
- optional :start_repository, :message, 8, "gitaly.Repository"
173
- optional :force, :bool, 9
174
- optional :start_sha, :string, 10
175
- end
176
- add_message "gitaly.UserCommitFilesRequest" do
177
- oneof :user_commit_files_request_payload do
178
- optional :header, :message, 1, "gitaly.UserCommitFilesRequestHeader"
179
- optional :action, :message, 2, "gitaly.UserCommitFilesAction"
16
+ add_message "gitaly.UserCreateBranchResponse" do
17
+ optional :branch, :message, 1, "gitaly.Branch"
18
+ optional :pre_receive_error, :string, 2
180
19
  end
181
- end
182
- add_message "gitaly.UserCommitFilesResponse" do
183
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
184
- optional :index_error, :string, 2
185
- optional :pre_receive_error, :string, 3
186
- end
187
- add_message "gitaly.UserRebaseConfirmableRequest" do
188
- oneof :user_rebase_confirmable_request_payload do
189
- optional :header, :message, 1, "gitaly.UserRebaseConfirmableRequest.Header"
190
- optional :apply, :bool, 2
20
+ add_message "gitaly.UserUpdateBranchRequest" do
21
+ optional :repository, :message, 1, "gitaly.Repository"
22
+ optional :branch_name, :bytes, 2
23
+ optional :user, :message, 3, "gitaly.User"
24
+ optional :newrev, :bytes, 4
25
+ optional :oldrev, :bytes, 5
191
26
  end
192
- end
193
- add_message "gitaly.UserRebaseConfirmableRequest.Header" do
194
- optional :repository, :message, 1, "gitaly.Repository"
195
- optional :user, :message, 2, "gitaly.User"
196
- optional :rebase_id, :string, 3
197
- optional :branch, :bytes, 4
198
- optional :branch_sha, :string, 5
199
- optional :remote_repository, :message, 6, "gitaly.Repository"
200
- optional :remote_branch, :bytes, 7
201
- repeated :git_push_options, :string, 8
202
- end
203
- add_message "gitaly.UserRebaseConfirmableResponse" do
204
- optional :pre_receive_error, :string, 3
205
- optional :git_error, :string, 4
206
- oneof :user_rebase_confirmable_response_payload do
207
- optional :rebase_sha, :string, 1
208
- optional :rebase_applied, :bool, 2
27
+ add_message "gitaly.UserUpdateBranchResponse" do
28
+ optional :pre_receive_error, :string, 1
209
29
  end
210
- end
211
- add_message "gitaly.UserSquashRequest" do
212
- optional :repository, :message, 1, "gitaly.Repository"
213
- optional :user, :message, 2, "gitaly.User"
214
- optional :squash_id, :string, 3
215
- optional :start_sha, :string, 5
216
- optional :end_sha, :string, 6
217
- optional :author, :message, 7, "gitaly.User"
218
- optional :commit_message, :bytes, 8
219
- end
220
- add_message "gitaly.UserSquashResponse" do
221
- optional :squash_sha, :string, 1
222
- optional :git_error, :string, 3
223
- end
224
- add_message "gitaly.UserApplyPatchRequest" do
225
- oneof :user_apply_patch_request_payload do
226
- optional :header, :message, 1, "gitaly.UserApplyPatchRequest.Header"
227
- optional :patches, :bytes, 2
30
+ add_message "gitaly.UserDeleteBranchRequest" do
31
+ optional :repository, :message, 1, "gitaly.Repository"
32
+ optional :branch_name, :bytes, 2
33
+ optional :user, :message, 3, "gitaly.User"
34
+ end
35
+ add_message "gitaly.UserDeleteBranchResponse" do
36
+ optional :pre_receive_error, :string, 1
37
+ end
38
+ add_message "gitaly.UserDeleteTagRequest" do
39
+ optional :repository, :message, 1, "gitaly.Repository"
40
+ optional :tag_name, :bytes, 2
41
+ optional :user, :message, 3, "gitaly.User"
42
+ end
43
+ add_message "gitaly.UserDeleteTagResponse" do
44
+ optional :pre_receive_error, :string, 1
45
+ end
46
+ add_message "gitaly.UserCreateTagRequest" do
47
+ optional :repository, :message, 1, "gitaly.Repository"
48
+ optional :tag_name, :bytes, 2
49
+ optional :user, :message, 3, "gitaly.User"
50
+ optional :target_revision, :bytes, 4
51
+ optional :message, :bytes, 5
52
+ end
53
+ add_message "gitaly.UserCreateTagResponse" do
54
+ optional :tag, :message, 1, "gitaly.Tag"
55
+ optional :exists, :bool, 2
56
+ optional :pre_receive_error, :string, 3
57
+ end
58
+ add_message "gitaly.UserMergeBranchRequest" do
59
+ optional :repository, :message, 1, "gitaly.Repository"
60
+ optional :user, :message, 2, "gitaly.User"
61
+ optional :commit_id, :string, 3
62
+ optional :branch, :bytes, 4
63
+ optional :message, :bytes, 5
64
+ optional :apply, :bool, 6
65
+ end
66
+ add_message "gitaly.UserMergeBranchResponse" do
67
+ optional :commit_id, :string, 1
68
+ optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate"
69
+ optional :pre_receive_error, :string, 4
70
+ end
71
+ add_message "gitaly.UserMergeToRefRequest" do
72
+ optional :repository, :message, 1, "gitaly.Repository"
73
+ optional :user, :message, 2, "gitaly.User"
74
+ optional :source_sha, :string, 3
75
+ optional :branch, :bytes, 4
76
+ optional :target_ref, :bytes, 5
77
+ optional :message, :bytes, 6
78
+ optional :first_parent_ref, :bytes, 7
79
+ end
80
+ add_message "gitaly.UserMergeToRefResponse" do
81
+ optional :commit_id, :string, 1
82
+ optional :pre_receive_error, :string, 2
83
+ end
84
+ add_message "gitaly.OperationBranchUpdate" do
85
+ optional :commit_id, :string, 1
86
+ optional :repo_created, :bool, 2
87
+ optional :branch_created, :bool, 3
88
+ end
89
+ add_message "gitaly.UserFFBranchRequest" do
90
+ optional :repository, :message, 1, "gitaly.Repository"
91
+ optional :user, :message, 2, "gitaly.User"
92
+ optional :commit_id, :string, 3
93
+ optional :branch, :bytes, 4
94
+ end
95
+ add_message "gitaly.UserFFBranchResponse" do
96
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
97
+ optional :pre_receive_error, :string, 2
98
+ end
99
+ add_message "gitaly.UserCherryPickRequest" do
100
+ optional :repository, :message, 1, "gitaly.Repository"
101
+ optional :user, :message, 2, "gitaly.User"
102
+ optional :commit, :message, 3, "gitaly.GitCommit"
103
+ optional :branch_name, :bytes, 4
104
+ optional :message, :bytes, 5
105
+ optional :start_branch_name, :bytes, 6
106
+ optional :start_repository, :message, 7, "gitaly.Repository"
107
+ optional :dry_run, :bool, 8
108
+ end
109
+ add_message "gitaly.UserCherryPickResponse" do
110
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
111
+ optional :create_tree_error, :string, 2
112
+ optional :commit_error, :string, 3
113
+ optional :pre_receive_error, :string, 4
114
+ optional :create_tree_error_code, :enum, 5, "gitaly.UserCherryPickResponse.CreateTreeError"
115
+ end
116
+ add_enum "gitaly.UserCherryPickResponse.CreateTreeError" do
117
+ value :NONE, 0
118
+ value :EMPTY, 1
119
+ value :CONFLICT, 2
120
+ end
121
+ add_message "gitaly.UserRevertRequest" do
122
+ optional :repository, :message, 1, "gitaly.Repository"
123
+ optional :user, :message, 2, "gitaly.User"
124
+ optional :commit, :message, 3, "gitaly.GitCommit"
125
+ optional :branch_name, :bytes, 4
126
+ optional :message, :bytes, 5
127
+ optional :start_branch_name, :bytes, 6
128
+ optional :start_repository, :message, 7, "gitaly.Repository"
129
+ optional :dry_run, :bool, 8
130
+ end
131
+ add_message "gitaly.UserRevertResponse" do
132
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
133
+ optional :create_tree_error, :string, 2
134
+ optional :commit_error, :string, 3
135
+ optional :pre_receive_error, :string, 4
136
+ optional :create_tree_error_code, :enum, 5, "gitaly.UserRevertResponse.CreateTreeError"
137
+ end
138
+ add_enum "gitaly.UserRevertResponse.CreateTreeError" do
139
+ value :NONE, 0
140
+ value :EMPTY, 1
141
+ value :CONFLICT, 2
142
+ end
143
+ add_message "gitaly.UserCommitFilesActionHeader" do
144
+ optional :action, :enum, 1, "gitaly.UserCommitFilesActionHeader.ActionType"
145
+ optional :file_path, :bytes, 2
146
+ optional :previous_path, :bytes, 3
147
+ optional :base64_content, :bool, 4
148
+ optional :execute_filemode, :bool, 5
149
+ optional :infer_content, :bool, 6
150
+ end
151
+ add_enum "gitaly.UserCommitFilesActionHeader.ActionType" do
152
+ value :CREATE, 0
153
+ value :CREATE_DIR, 1
154
+ value :UPDATE, 2
155
+ value :MOVE, 3
156
+ value :DELETE, 4
157
+ value :CHMOD, 5
158
+ end
159
+ add_message "gitaly.UserCommitFilesAction" do
160
+ oneof :user_commit_files_action_payload do
161
+ optional :header, :message, 1, "gitaly.UserCommitFilesActionHeader"
162
+ optional :content, :bytes, 2
163
+ end
164
+ end
165
+ add_message "gitaly.UserCommitFilesRequestHeader" do
166
+ optional :repository, :message, 1, "gitaly.Repository"
167
+ optional :user, :message, 2, "gitaly.User"
168
+ optional :branch_name, :bytes, 3
169
+ optional :commit_message, :bytes, 4
170
+ optional :commit_author_name, :bytes, 5
171
+ optional :commit_author_email, :bytes, 6
172
+ optional :start_branch_name, :bytes, 7
173
+ optional :start_repository, :message, 8, "gitaly.Repository"
174
+ optional :force, :bool, 9
175
+ optional :start_sha, :string, 10
176
+ end
177
+ add_message "gitaly.UserCommitFilesRequest" do
178
+ oneof :user_commit_files_request_payload do
179
+ optional :header, :message, 1, "gitaly.UserCommitFilesRequestHeader"
180
+ optional :action, :message, 2, "gitaly.UserCommitFilesAction"
181
+ end
182
+ end
183
+ add_message "gitaly.UserCommitFilesResponse" do
184
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
185
+ optional :index_error, :string, 2
186
+ optional :pre_receive_error, :string, 3
187
+ end
188
+ add_message "gitaly.UserRebaseConfirmableRequest" do
189
+ oneof :user_rebase_confirmable_request_payload do
190
+ optional :header, :message, 1, "gitaly.UserRebaseConfirmableRequest.Header"
191
+ optional :apply, :bool, 2
192
+ end
193
+ end
194
+ add_message "gitaly.UserRebaseConfirmableRequest.Header" do
195
+ optional :repository, :message, 1, "gitaly.Repository"
196
+ optional :user, :message, 2, "gitaly.User"
197
+ optional :rebase_id, :string, 3
198
+ optional :branch, :bytes, 4
199
+ optional :branch_sha, :string, 5
200
+ optional :remote_repository, :message, 6, "gitaly.Repository"
201
+ optional :remote_branch, :bytes, 7
202
+ repeated :git_push_options, :string, 8
203
+ end
204
+ add_message "gitaly.UserRebaseConfirmableResponse" do
205
+ optional :pre_receive_error, :string, 3
206
+ optional :git_error, :string, 4
207
+ oneof :user_rebase_confirmable_response_payload do
208
+ optional :rebase_sha, :string, 1
209
+ optional :rebase_applied, :bool, 2
210
+ end
211
+ end
212
+ add_message "gitaly.UserSquashRequest" do
213
+ optional :repository, :message, 1, "gitaly.Repository"
214
+ optional :user, :message, 2, "gitaly.User"
215
+ optional :squash_id, :string, 3
216
+ optional :start_sha, :string, 5
217
+ optional :end_sha, :string, 6
218
+ optional :author, :message, 7, "gitaly.User"
219
+ optional :commit_message, :bytes, 8
220
+ end
221
+ add_message "gitaly.UserSquashResponse" do
222
+ optional :squash_sha, :string, 1
223
+ optional :git_error, :string, 3
224
+ end
225
+ add_message "gitaly.UserApplyPatchRequest" do
226
+ oneof :user_apply_patch_request_payload do
227
+ optional :header, :message, 1, "gitaly.UserApplyPatchRequest.Header"
228
+ optional :patches, :bytes, 2
229
+ end
230
+ end
231
+ add_message "gitaly.UserApplyPatchRequest.Header" do
232
+ optional :repository, :message, 1, "gitaly.Repository"
233
+ optional :user, :message, 2, "gitaly.User"
234
+ optional :target_branch, :bytes, 3
235
+ end
236
+ add_message "gitaly.UserApplyPatchResponse" do
237
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
238
+ end
239
+ add_message "gitaly.UserUpdateSubmoduleRequest" do
240
+ optional :repository, :message, 1, "gitaly.Repository"
241
+ optional :user, :message, 2, "gitaly.User"
242
+ optional :commit_sha, :string, 3
243
+ optional :branch, :bytes, 4
244
+ optional :submodule, :bytes, 5
245
+ optional :commit_message, :bytes, 6
246
+ end
247
+ add_message "gitaly.UserUpdateSubmoduleResponse" do
248
+ optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
249
+ optional :pre_receive_error, :string, 2
250
+ optional :commit_error, :string, 4
228
251
  end
229
- end
230
- add_message "gitaly.UserApplyPatchRequest.Header" do
231
- optional :repository, :message, 1, "gitaly.Repository"
232
- optional :user, :message, 2, "gitaly.User"
233
- optional :target_branch, :bytes, 3
234
- end
235
- add_message "gitaly.UserApplyPatchResponse" do
236
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
237
- end
238
- add_message "gitaly.UserUpdateSubmoduleRequest" do
239
- optional :repository, :message, 1, "gitaly.Repository"
240
- optional :user, :message, 2, "gitaly.User"
241
- optional :commit_sha, :string, 3
242
- optional :branch, :bytes, 4
243
- optional :submodule, :bytes, 5
244
- optional :commit_message, :bytes, 6
245
- end
246
- add_message "gitaly.UserUpdateSubmoduleResponse" do
247
- optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate"
248
- optional :pre_receive_error, :string, 2
249
- optional :commit_error, :string, 4
250
252
  end
251
253
  end
252
254
 
253
255
  module Gitaly
254
- UserCreateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchRequest").msgclass
255
- UserCreateBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchResponse").msgclass
256
- UserUpdateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchRequest").msgclass
257
- UserUpdateBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchResponse").msgclass
258
- UserDeleteBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchRequest").msgclass
259
- UserDeleteBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchResponse").msgclass
260
- UserDeleteTagRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagRequest").msgclass
261
- UserDeleteTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagResponse").msgclass
262
- UserCreateTagRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagRequest").msgclass
263
- UserCreateTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
264
- UserMergeBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
265
- UserMergeBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
266
- UserMergeToRefRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass
267
- UserMergeToRefResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass
268
- OperationBranchUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
269
- UserFFBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchRequest").msgclass
270
- UserFFBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchResponse").msgclass
271
- UserCherryPickRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickRequest").msgclass
272
- UserCherryPickResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse").msgclass
273
- UserCherryPickResponse::CreateTreeError = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse.CreateTreeError").enummodule
274
- UserRevertRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertRequest").msgclass
275
- UserRevertResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse").msgclass
276
- UserRevertResponse::CreateTreeError = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse.CreateTreeError").enummodule
277
- UserCommitFilesActionHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader").msgclass
278
- UserCommitFilesActionHeader::ActionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader.ActionType").enummodule
279
- UserCommitFilesAction = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesAction").msgclass
280
- UserCommitFilesRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequestHeader").msgclass
281
- UserCommitFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequest").msgclass
282
- UserCommitFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesResponse").msgclass
283
- UserRebaseConfirmableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest").msgclass
284
- UserRebaseConfirmableRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest.Header").msgclass
285
- UserRebaseConfirmableResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass
286
- UserSquashRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashRequest").msgclass
287
- UserSquashResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashResponse").msgclass
288
- UserApplyPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest").msgclass
289
- UserApplyPatchRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest.Header").msgclass
290
- UserApplyPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchResponse").msgclass
291
- UserUpdateSubmoduleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleRequest").msgclass
292
- UserUpdateSubmoduleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleResponse").msgclass
256
+ UserCreateBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchRequest").msgclass
257
+ UserCreateBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchResponse").msgclass
258
+ UserUpdateBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchRequest").msgclass
259
+ UserUpdateBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchResponse").msgclass
260
+ UserDeleteBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchRequest").msgclass
261
+ UserDeleteBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchResponse").msgclass
262
+ UserDeleteTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagRequest").msgclass
263
+ UserDeleteTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagResponse").msgclass
264
+ UserCreateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagRequest").msgclass
265
+ UserCreateTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass
266
+ UserMergeBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass
267
+ UserMergeBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass
268
+ UserMergeToRefRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass
269
+ UserMergeToRefResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass
270
+ OperationBranchUpdate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass
271
+ UserFFBranchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchRequest").msgclass
272
+ UserFFBranchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchResponse").msgclass
273
+ UserCherryPickRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickRequest").msgclass
274
+ UserCherryPickResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse").msgclass
275
+ UserCherryPickResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse.CreateTreeError").enummodule
276
+ UserRevertRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertRequest").msgclass
277
+ UserRevertResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse").msgclass
278
+ UserRevertResponse::CreateTreeError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse.CreateTreeError").enummodule
279
+ UserCommitFilesActionHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader").msgclass
280
+ UserCommitFilesActionHeader::ActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader.ActionType").enummodule
281
+ UserCommitFilesAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesAction").msgclass
282
+ UserCommitFilesRequestHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequestHeader").msgclass
283
+ UserCommitFilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequest").msgclass
284
+ UserCommitFilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesResponse").msgclass
285
+ UserRebaseConfirmableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest").msgclass
286
+ UserRebaseConfirmableRequest::Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest.Header").msgclass
287
+ UserRebaseConfirmableResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass
288
+ UserSquashRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashRequest").msgclass
289
+ UserSquashResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashResponse").msgclass
290
+ UserApplyPatchRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest").msgclass
291
+ UserApplyPatchRequest::Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest.Header").msgclass
292
+ UserApplyPatchResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchResponse").msgclass
293
+ UserUpdateSubmoduleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleRequest").msgclass
294
+ UserUpdateSubmoduleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleResponse").msgclass
293
295
  end