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,48 +14,48 @@ module Gitaly
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'gitaly.RepositoryService'
16
16
 
17
- rpc :RepositoryExists, RepositoryExistsRequest, RepositoryExistsResponse
18
- rpc :RepackIncremental, RepackIncrementalRequest, RepackIncrementalResponse
19
- rpc :RepackFull, RepackFullRequest, RepackFullResponse
20
- rpc :GarbageCollect, GarbageCollectRequest, GarbageCollectResponse
21
- rpc :WriteCommitGraph, WriteCommitGraphRequest, WriteCommitGraphResponse
22
- rpc :RepositorySize, RepositorySizeRequest, RepositorySizeResponse
23
- rpc :ApplyGitattributes, ApplyGitattributesRequest, ApplyGitattributesResponse
24
- rpc :FetchRemote, FetchRemoteRequest, FetchRemoteResponse
25
- rpc :CreateRepository, CreateRepositoryRequest, CreateRepositoryResponse
26
- rpc :GetArchive, GetArchiveRequest, stream(GetArchiveResponse)
27
- rpc :HasLocalBranches, HasLocalBranchesRequest, HasLocalBranchesResponse
28
- rpc :FetchSourceBranch, FetchSourceBranchRequest, FetchSourceBranchResponse
29
- rpc :Fsck, FsckRequest, FsckResponse
30
- rpc :WriteRef, WriteRefRequest, WriteRefResponse
31
- rpc :FindMergeBase, FindMergeBaseRequest, FindMergeBaseResponse
32
- rpc :CreateFork, CreateForkRequest, CreateForkResponse
33
- rpc :IsRebaseInProgress, IsRebaseInProgressRequest, IsRebaseInProgressResponse
34
- rpc :IsSquashInProgress, IsSquashInProgressRequest, IsSquashInProgressResponse
35
- rpc :CreateRepositoryFromURL, CreateRepositoryFromURLRequest, CreateRepositoryFromURLResponse
36
- rpc :CreateBundle, CreateBundleRequest, stream(CreateBundleResponse)
37
- rpc :CreateRepositoryFromBundle, stream(CreateRepositoryFromBundleRequest), CreateRepositoryFromBundleResponse
38
- rpc :SetConfig, SetConfigRequest, SetConfigResponse
39
- rpc :DeleteConfig, DeleteConfigRequest, DeleteConfigResponse
40
- rpc :FindLicense, FindLicenseRequest, FindLicenseResponse
41
- rpc :GetInfoAttributes, GetInfoAttributesRequest, stream(GetInfoAttributesResponse)
42
- rpc :CalculateChecksum, CalculateChecksumRequest, CalculateChecksumResponse
43
- rpc :Cleanup, CleanupRequest, CleanupResponse
44
- rpc :GetSnapshot, GetSnapshotRequest, stream(GetSnapshotResponse)
45
- rpc :CreateRepositoryFromSnapshot, CreateRepositoryFromSnapshotRequest, CreateRepositoryFromSnapshotResponse
46
- rpc :GetRawChanges, GetRawChangesRequest, stream(GetRawChangesResponse)
47
- rpc :SearchFilesByContent, SearchFilesByContentRequest, stream(SearchFilesByContentResponse)
48
- rpc :SearchFilesByName, SearchFilesByNameRequest, stream(SearchFilesByNameResponse)
49
- rpc :RestoreCustomHooks, stream(RestoreCustomHooksRequest), RestoreCustomHooksResponse
50
- rpc :BackupCustomHooks, BackupCustomHooksRequest, stream(BackupCustomHooksResponse)
51
- rpc :FetchHTTPRemote, FetchHTTPRemoteRequest, FetchHTTPRemoteResponse
52
- rpc :GetObjectDirectorySize, GetObjectDirectorySizeRequest, GetObjectDirectorySizeResponse
53
- rpc :CloneFromPool, CloneFromPoolRequest, CloneFromPoolResponse
54
- rpc :CloneFromPoolInternal, CloneFromPoolInternalRequest, CloneFromPoolInternalResponse
55
- rpc :RemoveRepository, RemoveRepositoryRequest, RemoveRepositoryResponse
56
- rpc :RenameRepository, RenameRepositoryRequest, RenameRepositoryResponse
57
- rpc :ReplicateRepository, ReplicateRepositoryRequest, ReplicateRepositoryResponse
58
- rpc :OptimizeRepository, OptimizeRepositoryRequest, OptimizeRepositoryResponse
17
+ rpc :RepositoryExists, Gitaly::RepositoryExistsRequest, Gitaly::RepositoryExistsResponse
18
+ rpc :RepackIncremental, Gitaly::RepackIncrementalRequest, Gitaly::RepackIncrementalResponse
19
+ rpc :RepackFull, Gitaly::RepackFullRequest, Gitaly::RepackFullResponse
20
+ rpc :GarbageCollect, Gitaly::GarbageCollectRequest, Gitaly::GarbageCollectResponse
21
+ rpc :WriteCommitGraph, Gitaly::WriteCommitGraphRequest, Gitaly::WriteCommitGraphResponse
22
+ rpc :RepositorySize, Gitaly::RepositorySizeRequest, Gitaly::RepositorySizeResponse
23
+ rpc :ApplyGitattributes, Gitaly::ApplyGitattributesRequest, Gitaly::ApplyGitattributesResponse
24
+ rpc :FetchRemote, Gitaly::FetchRemoteRequest, Gitaly::FetchRemoteResponse
25
+ rpc :CreateRepository, Gitaly::CreateRepositoryRequest, Gitaly::CreateRepositoryResponse
26
+ rpc :GetArchive, Gitaly::GetArchiveRequest, stream(Gitaly::GetArchiveResponse)
27
+ rpc :HasLocalBranches, Gitaly::HasLocalBranchesRequest, Gitaly::HasLocalBranchesResponse
28
+ rpc :FetchSourceBranch, Gitaly::FetchSourceBranchRequest, Gitaly::FetchSourceBranchResponse
29
+ rpc :Fsck, Gitaly::FsckRequest, Gitaly::FsckResponse
30
+ rpc :WriteRef, Gitaly::WriteRefRequest, Gitaly::WriteRefResponse
31
+ rpc :FindMergeBase, Gitaly::FindMergeBaseRequest, Gitaly::FindMergeBaseResponse
32
+ rpc :CreateFork, Gitaly::CreateForkRequest, Gitaly::CreateForkResponse
33
+ rpc :IsRebaseInProgress, Gitaly::IsRebaseInProgressRequest, Gitaly::IsRebaseInProgressResponse
34
+ rpc :IsSquashInProgress, Gitaly::IsSquashInProgressRequest, Gitaly::IsSquashInProgressResponse
35
+ rpc :CreateRepositoryFromURL, Gitaly::CreateRepositoryFromURLRequest, Gitaly::CreateRepositoryFromURLResponse
36
+ rpc :CreateBundle, Gitaly::CreateBundleRequest, stream(Gitaly::CreateBundleResponse)
37
+ rpc :CreateRepositoryFromBundle, stream(Gitaly::CreateRepositoryFromBundleRequest), Gitaly::CreateRepositoryFromBundleResponse
38
+ rpc :SetConfig, Gitaly::SetConfigRequest, Gitaly::SetConfigResponse
39
+ rpc :DeleteConfig, Gitaly::DeleteConfigRequest, Gitaly::DeleteConfigResponse
40
+ rpc :FindLicense, Gitaly::FindLicenseRequest, Gitaly::FindLicenseResponse
41
+ rpc :GetInfoAttributes, Gitaly::GetInfoAttributesRequest, stream(Gitaly::GetInfoAttributesResponse)
42
+ rpc :CalculateChecksum, Gitaly::CalculateChecksumRequest, Gitaly::CalculateChecksumResponse
43
+ rpc :Cleanup, Gitaly::CleanupRequest, Gitaly::CleanupResponse
44
+ rpc :GetSnapshot, Gitaly::GetSnapshotRequest, stream(Gitaly::GetSnapshotResponse)
45
+ rpc :CreateRepositoryFromSnapshot, Gitaly::CreateRepositoryFromSnapshotRequest, Gitaly::CreateRepositoryFromSnapshotResponse
46
+ rpc :GetRawChanges, Gitaly::GetRawChangesRequest, stream(Gitaly::GetRawChangesResponse)
47
+ rpc :SearchFilesByContent, Gitaly::SearchFilesByContentRequest, stream(Gitaly::SearchFilesByContentResponse)
48
+ rpc :SearchFilesByName, Gitaly::SearchFilesByNameRequest, stream(Gitaly::SearchFilesByNameResponse)
49
+ rpc :RestoreCustomHooks, stream(Gitaly::RestoreCustomHooksRequest), Gitaly::RestoreCustomHooksResponse
50
+ rpc :BackupCustomHooks, Gitaly::BackupCustomHooksRequest, stream(Gitaly::BackupCustomHooksResponse)
51
+ rpc :FetchHTTPRemote, Gitaly::FetchHTTPRemoteRequest, Gitaly::FetchHTTPRemoteResponse
52
+ rpc :GetObjectDirectorySize, Gitaly::GetObjectDirectorySizeRequest, Gitaly::GetObjectDirectorySizeResponse
53
+ rpc :CloneFromPool, Gitaly::CloneFromPoolRequest, Gitaly::CloneFromPoolResponse
54
+ rpc :CloneFromPoolInternal, Gitaly::CloneFromPoolInternalRequest, Gitaly::CloneFromPoolInternalResponse
55
+ rpc :RemoveRepository, Gitaly::RemoveRepositoryRequest, Gitaly::RemoveRepositoryResponse
56
+ rpc :RenameRepository, Gitaly::RenameRepositoryRequest, Gitaly::RenameRepositoryResponse
57
+ rpc :ReplicateRepository, Gitaly::ReplicateRepositoryRequest, Gitaly::ReplicateRepositoryResponse
58
+ rpc :OptimizeRepository, Gitaly::OptimizeRepositoryRequest, Gitaly::OptimizeRepositoryResponse
59
59
  end
60
60
 
61
61
  Stub = Service.rpc_stub_class
@@ -5,38 +5,40 @@ require 'google/protobuf'
5
5
 
6
6
  require 'lint_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "gitaly.ServerInfoRequest" do
9
- end
10
- add_message "gitaly.ServerInfoResponse" do
11
- optional :server_version, :string, 1
12
- optional :git_version, :string, 2
13
- repeated :storage_statuses, :message, 3, "gitaly.ServerInfoResponse.StorageStatus"
14
- end
15
- add_message "gitaly.ServerInfoResponse.StorageStatus" do
16
- optional :storage_name, :string, 1
17
- optional :readable, :bool, 2
18
- optional :writeable, :bool, 3
19
- optional :fs_type, :string, 4
20
- optional :filesystem_id, :string, 5
21
- optional :replication_factor, :uint32, 6
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
8
+ add_file("server.proto", :syntax => :proto3) do
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
+ optional :replication_factor, :uint32, 6
23
+ end
24
+ add_message "gitaly.DiskStatisticsRequest" do
25
+ end
26
+ add_message "gitaly.DiskStatisticsResponse" do
27
+ repeated :storage_statuses, :message, 1, "gitaly.DiskStatisticsResponse.StorageStatus"
28
+ end
29
+ add_message "gitaly.DiskStatisticsResponse.StorageStatus" do
30
+ optional :storage_name, :string, 1
31
+ optional :available, :int64, 2
32
+ optional :used, :int64, 3
33
+ end
32
34
  end
33
35
  end
34
36
 
35
37
  module Gitaly
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
38
+ ServerInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoRequest").msgclass
39
+ ServerInfoResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse").msgclass
40
+ ServerInfoResponse::StorageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse.StorageStatus").msgclass
41
+ DiskStatisticsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsRequest").msgclass
42
+ DiskStatisticsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse").msgclass
43
+ DiskStatisticsResponse::StorageStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiskStatisticsResponse.StorageStatus").msgclass
42
44
  end
@@ -14,8 +14,8 @@ module Gitaly
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'gitaly.ServerService'
16
16
 
17
- rpc :ServerInfo, ServerInfoRequest, ServerInfoResponse
18
- rpc :DiskStatistics, DiskStatisticsRequest, DiskStatisticsResponse
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
@@ -6,87 +6,89 @@ 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
- 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_message "gitaly.PaginationParameter" do
59
- optional :page_token, :string, 1
60
- optional :limit, :int32, 2
61
- end
62
- add_message "gitaly.GlobalOptions" do
63
- optional :literal_pathspecs, :bool, 1
64
- end
65
- add_enum "gitaly.ObjectType" do
66
- value :UNKNOWN, 0
67
- value :COMMIT, 1
68
- value :BLOB, 2
69
- value :TREE, 3
70
- value :TAG, 4
71
- end
72
- add_enum "gitaly.SignatureType" do
73
- value :NONE, 0
74
- value :PGP, 1
75
- value :X509, 2
9
+ add_file("shared.proto", :syntax => :proto3) do
10
+ add_message "gitaly.Repository" do
11
+ optional :storage_name, :string, 2
12
+ optional :relative_path, :string, 3
13
+ optional :git_object_directory, :string, 4
14
+ repeated :git_alternate_object_directories, :string, 5
15
+ optional :gl_repository, :string, 6
16
+ optional :gl_project_path, :string, 8
17
+ end
18
+ add_message "gitaly.GitCommit" do
19
+ optional :id, :string, 1
20
+ optional :subject, :bytes, 2
21
+ optional :body, :bytes, 3
22
+ optional :author, :message, 4, "gitaly.CommitAuthor"
23
+ optional :committer, :message, 5, "gitaly.CommitAuthor"
24
+ repeated :parent_ids, :string, 6
25
+ optional :body_size, :int64, 7
26
+ optional :signature_type, :enum, 8, "gitaly.SignatureType"
27
+ end
28
+ add_message "gitaly.CommitAuthor" do
29
+ optional :name, :bytes, 1
30
+ optional :email, :bytes, 2
31
+ optional :date, :message, 3, "google.protobuf.Timestamp"
32
+ optional :timezone, :bytes, 4
33
+ end
34
+ add_message "gitaly.ExitStatus" do
35
+ optional :value, :int32, 1
36
+ end
37
+ add_message "gitaly.Branch" do
38
+ optional :name, :bytes, 1
39
+ optional :target_commit, :message, 2, "gitaly.GitCommit"
40
+ end
41
+ add_message "gitaly.Tag" do
42
+ optional :name, :bytes, 1
43
+ optional :id, :string, 2
44
+ optional :target_commit, :message, 3, "gitaly.GitCommit"
45
+ optional :message, :bytes, 4
46
+ optional :message_size, :int64, 5
47
+ optional :tagger, :message, 6, "gitaly.CommitAuthor"
48
+ optional :signature_type, :enum, 7, "gitaly.SignatureType"
49
+ end
50
+ add_message "gitaly.User" do
51
+ optional :gl_id, :string, 1
52
+ optional :name, :bytes, 2
53
+ optional :email, :bytes, 3
54
+ optional :gl_username, :string, 4
55
+ end
56
+ add_message "gitaly.ObjectPool" do
57
+ optional :repository, :message, 1, "gitaly.Repository"
58
+ end
59
+ add_message "gitaly.PaginationParameter" do
60
+ optional :page_token, :string, 1
61
+ optional :limit, :int32, 2
62
+ end
63
+ add_message "gitaly.GlobalOptions" do
64
+ optional :literal_pathspecs, :bool, 1
65
+ end
66
+ add_enum "gitaly.ObjectType" do
67
+ value :UNKNOWN, 0
68
+ value :COMMIT, 1
69
+ value :BLOB, 2
70
+ value :TREE, 3
71
+ value :TAG, 4
72
+ end
73
+ add_enum "gitaly.SignatureType" do
74
+ value :NONE, 0
75
+ value :PGP, 1
76
+ value :X509, 2
77
+ end
76
78
  end
77
79
  end
78
80
 
79
81
  module Gitaly
80
- Repository = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
81
- GitCommit = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
82
- CommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
83
- ExitStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass
84
- Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass
85
- Tag = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Tag").msgclass
86
- User = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass
87
- ObjectPool = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass
88
- PaginationParameter = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationParameter").msgclass
89
- GlobalOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GlobalOptions").msgclass
90
- ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
91
- SignatureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
82
+ Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
83
+ GitCommit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass
84
+ CommitAuthor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass
85
+ ExitStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass
86
+ Branch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass
87
+ Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Tag").msgclass
88
+ User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass
89
+ ObjectPool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass
90
+ PaginationParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationParameter").msgclass
91
+ GlobalOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GlobalOptions").msgclass
92
+ ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
93
+ SignatureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
92
94
  end
@@ -6,42 +6,44 @@ 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.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
9
+ add_file("smarthttp.proto", :syntax => :proto3) do
10
+ add_message "gitaly.InfoRefsRequest" do
11
+ optional :repository, :message, 1, "gitaly.Repository"
12
+ repeated :git_config_options, :string, 2
13
+ optional :git_protocol, :string, 3
14
+ end
15
+ add_message "gitaly.InfoRefsResponse" do
16
+ optional :data, :bytes, 1
17
+ end
18
+ add_message "gitaly.PostUploadPackRequest" do
19
+ optional :repository, :message, 1, "gitaly.Repository"
20
+ optional :data, :bytes, 2
21
+ repeated :git_config_options, :string, 3
22
+ optional :git_protocol, :string, 4
23
+ end
24
+ add_message "gitaly.PostUploadPackResponse" do
25
+ optional :data, :bytes, 1
26
+ end
27
+ add_message "gitaly.PostReceivePackRequest" do
28
+ optional :repository, :message, 1, "gitaly.Repository"
29
+ optional :data, :bytes, 2
30
+ optional :gl_id, :string, 3
31
+ optional :gl_repository, :string, 4
32
+ optional :gl_username, :string, 5
33
+ optional :git_protocol, :string, 6
34
+ repeated :git_config_options, :string, 7
35
+ end
36
+ add_message "gitaly.PostReceivePackResponse" do
37
+ optional :data, :bytes, 1
38
+ end
37
39
  end
38
40
  end
39
41
 
40
42
  module Gitaly
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
43
+ InfoRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsRequest").msgclass
44
+ InfoRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass
45
+ PostUploadPackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass
46
+ PostUploadPackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass
47
+ PostReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass
48
+ PostReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass
47
49
  end
@@ -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, InfoRefsRequest, stream(InfoRefsResponse)
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`, meaning the server
23
23
  # will receive new objects in the pack from the user.
24
- rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
24
+ rpc :InfoRefsReceivePack, Gitaly::InfoRefsRequest, stream(Gitaly::InfoRefsResponse)
25
25
  # Request and response body for POST /upload-pack
26
- rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
26
+ rpc :PostUploadPack, stream(Gitaly::PostUploadPackRequest), stream(Gitaly::PostUploadPackResponse)
27
27
  # Request and response body for POST /receive-pack
28
- rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse)
28
+ rpc :PostReceivePack, stream(Gitaly::PostReceivePackRequest), stream(Gitaly::PostReceivePackResponse)
29
29
  end
30
30
 
31
31
  Stub = Service.rpc_stub_class
@@ -6,47 +6,49 @@ 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.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"
9
+ add_file("ssh.proto", :syntax => :proto3) do
10
+ add_message "gitaly.SSHUploadPackRequest" do
11
+ optional :repository, :message, 1, "gitaly.Repository"
12
+ optional :stdin, :bytes, 2
13
+ repeated :git_config_options, :string, 4
14
+ optional :git_protocol, :string, 5
15
+ end
16
+ add_message "gitaly.SSHUploadPackResponse" do
17
+ optional :stdout, :bytes, 1
18
+ optional :stderr, :bytes, 2
19
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
20
+ end
21
+ add_message "gitaly.SSHReceivePackRequest" do
22
+ optional :repository, :message, 1, "gitaly.Repository"
23
+ optional :stdin, :bytes, 2
24
+ optional :gl_id, :string, 3
25
+ optional :gl_repository, :string, 4
26
+ optional :gl_username, :string, 5
27
+ optional :git_protocol, :string, 6
28
+ repeated :git_config_options, :string, 7
29
+ end
30
+ add_message "gitaly.SSHReceivePackResponse" do
31
+ optional :stdout, :bytes, 1
32
+ optional :stderr, :bytes, 2
33
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
34
+ end
35
+ add_message "gitaly.SSHUploadArchiveRequest" do
36
+ optional :repository, :message, 1, "gitaly.Repository"
37
+ optional :stdin, :bytes, 2
38
+ end
39
+ add_message "gitaly.SSHUploadArchiveResponse" do
40
+ optional :stdout, :bytes, 1
41
+ optional :stderr, :bytes, 2
42
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
43
+ end
42
44
  end
43
45
  end
44
46
 
45
47
  module Gitaly
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
48
+ SSHUploadPackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackRequest").msgclass
49
+ SSHUploadPackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass
50
+ SSHReceivePackRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass
51
+ SSHReceivePackResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass
52
+ SSHUploadArchiveRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveRequest").msgclass
53
+ SSHUploadArchiveResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveResponse").msgclass
52
54
  end