gitaly 0.30.0 → 1.58.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +5 -5
  2. data/ruby/proto/README.md +5 -0
  3. data/ruby/proto/gitaly.rb +37 -0
  4. data/ruby/proto/gitaly/blob_pb.rb +86 -0
  5. data/ruby/{lib → proto}/gitaly/blob_services_pb.rb +4 -0
  6. data/ruby/proto/gitaly/cleanup_pb.rb +41 -0
  7. data/ruby/proto/gitaly/cleanup_services_pb.rb +25 -0
  8. data/ruby/{lib → proto}/gitaly/commit_pb.rb +92 -0
  9. data/ruby/{lib → proto}/gitaly/commit_services_pb.rb +11 -0
  10. data/ruby/proto/gitaly/conflicts_pb.rb +58 -0
  11. data/ruby/proto/gitaly/conflicts_services_pb.rb +23 -0
  12. data/ruby/{lib → proto}/gitaly/diff_pb.rb +38 -0
  13. data/ruby/{lib → proto}/gitaly/diff_services_pb.rb +3 -0
  14. data/ruby/proto/gitaly/namespace_pb.rb +45 -0
  15. data/ruby/proto/gitaly/namespace_services_pb.rb +25 -0
  16. data/ruby/proto/gitaly/objectpool_pb.rb +65 -0
  17. data/ruby/proto/gitaly/objectpool_services_pb.rb +29 -0
  18. data/ruby/proto/gitaly/operations_pb.rb +292 -0
  19. data/ruby/proto/gitaly/operations_services_pb.rb +37 -0
  20. data/ruby/proto/gitaly/ref_pb.rb +219 -0
  21. data/ruby/{lib → proto}/gitaly/ref_services_pb.rb +12 -0
  22. data/ruby/proto/gitaly/remote_pb.rb +81 -0
  23. data/ruby/proto/gitaly/remote_services_pb.rb +28 -0
  24. data/ruby/proto/gitaly/repository-service_pb.rb +401 -0
  25. data/ruby/proto/gitaly/repository-service_services_pb.rb +60 -0
  26. data/ruby/proto/gitaly/server_pb.rb +28 -0
  27. data/ruby/{lib/gitaly/notifications_services_pb.rb → proto/gitaly/server_services_pb.rb} +5 -5
  28. data/ruby/proto/gitaly/shared_pb.rb +91 -0
  29. data/ruby/{lib → proto}/gitaly/smarthttp_pb.rb +7 -0
  30. data/ruby/{lib → proto}/gitaly/smarthttp_services_pb.rb +4 -0
  31. data/ruby/{lib → proto}/gitaly/ssh_pb.rb +15 -0
  32. data/ruby/{lib → proto}/gitaly/ssh_services_pb.rb +2 -0
  33. data/ruby/proto/gitaly/storage_pb.rb +27 -0
  34. data/ruby/proto/gitaly/storage_services_pb.rb +23 -0
  35. data/ruby/proto/gitaly/version.rb +4 -0
  36. data/ruby/proto/gitaly/wiki_pb.rb +149 -0
  37. data/ruby/proto/gitaly/wiki_services_pb.rb +31 -0
  38. metadata +41 -73
  39. data/ruby/.gitignore +0 -10
  40. data/ruby/Gemfile +0 -4
  41. data/ruby/LICENSE.txt +0 -21
  42. data/ruby/README.md +0 -41
  43. data/ruby/lib/gitaly.rb +0 -23
  44. data/ruby/lib/gitaly/blob_pb.rb +0 -23
  45. data/ruby/lib/gitaly/deprecated-services_pb.rb +0 -16
  46. data/ruby/lib/gitaly/deprecated-services_services_pb.rb +0 -120
  47. data/ruby/lib/gitaly/notifications_pb.rb +0 -18
  48. data/ruby/lib/gitaly/ref_pb.rb +0 -112
  49. data/ruby/lib/gitaly/repository-service_pb.rb +0 -71
  50. data/ruby/lib/gitaly/repository-service_services_pb.rb +0 -30
  51. data/ruby/lib/gitaly/shared_pb.rb +0 -37
  52. data/ruby/lib/gitaly/version.rb +0 -4
@@ -0,0 +1,60 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: repository-service.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'repository-service_pb'
6
+
7
+ module Gitaly
8
+ module RepositoryService
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.RepositoryService'
16
+
17
+ rpc :RepositoryExists, RepositoryExistsRequest, RepositoryExistsResponse
18
+ rpc :RepackIncremental, RepackIncrementalRequest, RepackIncrementalResponse
19
+ rpc :RepackFull, RepackFullRequest, RepackFullResponse
20
+ rpc :GarbageCollect, GarbageCollectRequest, GarbageCollectResponse
21
+ rpc :RepositorySize, RepositorySizeRequest, RepositorySizeResponse
22
+ rpc :ApplyGitattributes, ApplyGitattributesRequest, ApplyGitattributesResponse
23
+ rpc :FetchRemote, FetchRemoteRequest, FetchRemoteResponse
24
+ rpc :CreateRepository, CreateRepositoryRequest, CreateRepositoryResponse
25
+ rpc :GetArchive, GetArchiveRequest, stream(GetArchiveResponse)
26
+ rpc :HasLocalBranches, HasLocalBranchesRequest, HasLocalBranchesResponse
27
+ rpc :FetchSourceBranch, FetchSourceBranchRequest, FetchSourceBranchResponse
28
+ rpc :Fsck, FsckRequest, FsckResponse
29
+ rpc :WriteRef, WriteRefRequest, WriteRefResponse
30
+ rpc :FindMergeBase, FindMergeBaseRequest, FindMergeBaseResponse
31
+ rpc :CreateFork, CreateForkRequest, CreateForkResponse
32
+ rpc :IsRebaseInProgress, IsRebaseInProgressRequest, IsRebaseInProgressResponse
33
+ rpc :IsSquashInProgress, IsSquashInProgressRequest, IsSquashInProgressResponse
34
+ rpc :CreateRepositoryFromURL, CreateRepositoryFromURLRequest, CreateRepositoryFromURLResponse
35
+ rpc :CreateBundle, CreateBundleRequest, stream(CreateBundleResponse)
36
+ rpc :CreateRepositoryFromBundle, stream(CreateRepositoryFromBundleRequest), CreateRepositoryFromBundleResponse
37
+ rpc :WriteConfig, WriteConfigRequest, WriteConfigResponse
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 :PreFetch, PreFetchRequest, PreFetchResponse
52
+ rpc :FetchHTTPRemote, FetchHTTPRemoteRequest, FetchHTTPRemoteResponse
53
+ rpc :GetObjectDirectorySize, GetObjectDirectorySizeRequest, GetObjectDirectorySizeResponse
54
+ rpc :CloneFromPool, CloneFromPoolRequest, CloneFromPoolResponse
55
+ rpc :CloneFromPoolInternal, CloneFromPoolInternalRequest, CloneFromPoolInternalResponse
56
+ end
57
+
58
+ Stub = Service.rpc_stub_class
59
+ end
60
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: server.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared_pb'
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
+ end
22
+ end
23
+
24
+ module Gitaly
25
+ ServerInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoRequest").msgclass
26
+ ServerInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse").msgclass
27
+ ServerInfoResponse::StorageStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse.StorageStatus").msgclass
28
+ end
@@ -1,20 +1,20 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: notifications.proto for package 'gitaly'
2
+ # Source: server.proto for package 'gitaly'
3
3
 
4
4
  require 'grpc'
5
- require 'notifications_pb'
5
+ require 'server_pb'
6
6
 
7
7
  module Gitaly
8
- module NotificationService
8
+ module ServerService
9
9
  class Service
10
10
 
11
11
  include GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
15
- self.service_name = 'gitaly.NotificationService'
15
+ self.service_name = 'gitaly.ServerService'
16
16
 
17
- rpc :PostReceive, PostReceiveRequest, PostReceiveResponse
17
+ rpc :ServerInfo, ServerInfoRequest, ServerInfoResponse
18
18
  end
19
19
 
20
20
  Stub = Service.rpc_stub_class
@@ -0,0 +1,91 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: shared.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/timestamp_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build 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
+ optional :target_repository_field, :string, 3
12
+ end
13
+ add_enum "gitaly.OperationMsg.Operation" do
14
+ value :UNKNOWN, 0
15
+ value :MUTATOR, 1
16
+ value :ACCESSOR, 2
17
+ end
18
+ add_enum "gitaly.OperationMsg.Scope" do
19
+ value :REPOSITORY, 0
20
+ value :SERVER, 1
21
+ value :STORAGE, 2
22
+ end
23
+ add_message "gitaly.Repository" do
24
+ optional :storage_name, :string, 2
25
+ optional :relative_path, :string, 3
26
+ optional :git_object_directory, :string, 4
27
+ repeated :git_alternate_object_directories, :string, 5
28
+ optional :gl_repository, :string, 6
29
+ optional :gl_project_path, :string, 8
30
+ end
31
+ add_message "gitaly.GitCommit" do
32
+ optional :id, :string, 1
33
+ optional :subject, :bytes, 2
34
+ optional :body, :bytes, 3
35
+ optional :author, :message, 4, "gitaly.CommitAuthor"
36
+ optional :committer, :message, 5, "gitaly.CommitAuthor"
37
+ repeated :parent_ids, :string, 6
38
+ optional :body_size, :int64, 7
39
+ end
40
+ add_message "gitaly.CommitAuthor" do
41
+ optional :name, :bytes, 1
42
+ optional :email, :bytes, 2
43
+ optional :date, :message, 3, "google.protobuf.Timestamp"
44
+ end
45
+ add_message "gitaly.ExitStatus" do
46
+ optional :value, :int32, 1
47
+ end
48
+ add_message "gitaly.Branch" do
49
+ optional :name, :bytes, 1
50
+ optional :target_commit, :message, 2, "gitaly.GitCommit"
51
+ end
52
+ add_message "gitaly.Tag" do
53
+ optional :name, :bytes, 1
54
+ optional :id, :string, 2
55
+ optional :target_commit, :message, 3, "gitaly.GitCommit"
56
+ optional :message, :bytes, 4
57
+ optional :message_size, :int64, 5
58
+ optional :tagger, :message, 6, "gitaly.CommitAuthor"
59
+ end
60
+ add_message "gitaly.User" do
61
+ optional :gl_id, :string, 1
62
+ optional :name, :bytes, 2
63
+ optional :email, :bytes, 3
64
+ optional :gl_username, :string, 4
65
+ end
66
+ add_message "gitaly.ObjectPool" do
67
+ optional :repository, :message, 1, "gitaly.Repository"
68
+ end
69
+ add_enum "gitaly.ObjectType" do
70
+ value :UNKNOWN, 0
71
+ value :COMMIT, 1
72
+ value :BLOB, 2
73
+ value :TREE, 3
74
+ value :TAG, 4
75
+ end
76
+ end
77
+
78
+ module Gitaly
79
+ OperationMsg = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass
80
+ OperationMsg::Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule
81
+ OperationMsg::Scope = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").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
+ ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
91
+ end
@@ -7,6 +7,8 @@ require 'shared_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_message "gitaly.InfoRefsRequest" do
9
9
  optional :repository, :message, 1, "gitaly.Repository"
10
+ repeated :git_config_options, :string, 2
11
+ optional :git_protocol, :string, 3
10
12
  end
11
13
  add_message "gitaly.InfoRefsResponse" do
12
14
  optional :data, :bytes, 1
@@ -14,6 +16,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
16
  add_message "gitaly.PostUploadPackRequest" do
15
17
  optional :repository, :message, 1, "gitaly.Repository"
16
18
  optional :data, :bytes, 2
19
+ repeated :git_config_options, :string, 3
20
+ optional :git_protocol, :string, 4
17
21
  end
18
22
  add_message "gitaly.PostUploadPackResponse" do
19
23
  optional :data, :bytes, 1
@@ -23,6 +27,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
23
27
  optional :data, :bytes, 2
24
28
  optional :gl_id, :string, 3
25
29
  optional :gl_repository, :string, 4
30
+ optional :gl_username, :string, 5
31
+ optional :git_protocol, :string, 6
32
+ repeated :git_config_options, :string, 7
26
33
  end
27
34
  add_message "gitaly.PostReceivePackResponse" do
28
35
  optional :data, :bytes, 1
@@ -15,8 +15,12 @@ module Gitaly
15
15
  self.service_name = 'gitaly.SmartHTTPService'
16
16
 
17
17
  # The response body for GET /info/refs?service=git-upload-pack
18
+ # Will be invoked when the user executes a `git fetch`, meaning the server
19
+ # will upload the packs to that user. The user doesn't upload new objects.
18
20
  rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse)
19
21
  # The response body for GET /info/refs?service=git-receive-pack
22
+ # Will be invoked when the user executes a `git push`, meaning the server
23
+ # will receive new objects in the pack from the user.
20
24
  rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse)
21
25
  # Request and response body for POST /upload-pack
22
26
  rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse)
@@ -9,6 +9,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  optional :repository, :message, 1, "gitaly.Repository"
10
10
  optional :stdin, :bytes, 2
11
11
  repeated :git_config_options, :string, 4
12
+ optional :git_protocol, :string, 5
12
13
  end
13
14
  add_message "gitaly.SSHUploadPackResponse" do
14
15
  optional :stdout, :bytes, 1
@@ -20,12 +21,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
20
21
  optional :stdin, :bytes, 2
21
22
  optional :gl_id, :string, 3
22
23
  optional :gl_repository, :string, 4
24
+ optional :gl_username, :string, 5
25
+ optional :git_protocol, :string, 6
26
+ repeated :git_config_options, :string, 7
23
27
  end
24
28
  add_message "gitaly.SSHReceivePackResponse" do
25
29
  optional :stdout, :bytes, 1
26
30
  optional :stderr, :bytes, 2
27
31
  optional :exit_status, :message, 3, "gitaly.ExitStatus"
28
32
  end
33
+ add_message "gitaly.SSHUploadArchiveRequest" do
34
+ optional :repository, :message, 1, "gitaly.Repository"
35
+ optional :stdin, :bytes, 2
36
+ end
37
+ add_message "gitaly.SSHUploadArchiveResponse" do
38
+ optional :stdout, :bytes, 1
39
+ optional :stderr, :bytes, 2
40
+ optional :exit_status, :message, 3, "gitaly.ExitStatus"
41
+ end
29
42
  end
30
43
 
31
44
  module Gitaly
@@ -33,4 +46,6 @@ module Gitaly
33
46
  SSHUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass
34
47
  SSHReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass
35
48
  SSHReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass
49
+ SSHUploadArchiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveRequest").msgclass
50
+ SSHUploadArchiveResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveResponse").msgclass
36
51
  end
@@ -18,6 +18,8 @@ module Gitaly
18
18
  rpc :SSHUploadPack, stream(SSHUploadPackRequest), stream(SSHUploadPackResponse)
19
19
  # To forward 'git receive-pack' to Gitaly for SSH sessions
20
20
  rpc :SSHReceivePack, stream(SSHReceivePackRequest), stream(SSHReceivePackResponse)
21
+ # To forward 'git upload-archive' to Gitaly for SSH sessions
22
+ rpc :SSHUploadArchive, stream(SSHUploadArchiveRequest), stream(SSHUploadArchiveResponse)
21
23
  end
22
24
 
23
25
  Stub = Service.rpc_stub_class
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: storage.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "gitaly.ListDirectoriesRequest" do
9
+ optional :storage_name, :string, 1
10
+ optional :depth, :uint32, 2
11
+ end
12
+ add_message "gitaly.ListDirectoriesResponse" do
13
+ repeated :paths, :string, 1
14
+ end
15
+ add_message "gitaly.DeleteAllRepositoriesRequest" do
16
+ optional :storage_name, :string, 1
17
+ end
18
+ add_message "gitaly.DeleteAllRepositoriesResponse" do
19
+ end
20
+ end
21
+
22
+ module Gitaly
23
+ ListDirectoriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListDirectoriesRequest").msgclass
24
+ ListDirectoriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListDirectoriesResponse").msgclass
25
+ DeleteAllRepositoriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteAllRepositoriesRequest").msgclass
26
+ DeleteAllRepositoriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteAllRepositoriesResponse").msgclass
27
+ end
@@ -0,0 +1,23 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: storage.proto for package 'gitaly'
3
+
4
+ require 'grpc'
5
+ require 'storage_pb'
6
+
7
+ module Gitaly
8
+ module StorageService
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.StorageService'
16
+
17
+ rpc :ListDirectories, ListDirectoriesRequest, stream(ListDirectoriesResponse)
18
+ rpc :DeleteAllRepositories, DeleteAllRepositoriesRequest, DeleteAllRepositoriesResponse
19
+ end
20
+
21
+ Stub = Service.rpc_stub_class
22
+ end
23
+ end
@@ -0,0 +1,4 @@
1
+ # This file was auto-generated by /Users/jacobvosmaer/Desktop/gitlab-development-kit/gitaly/src/gitlab.com/gitlab-org/gitaly/_support/release
2
+ module Gitaly
3
+ VERSION = '1.58.0'
4
+ end
@@ -0,0 +1,149 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: wiki.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'shared_pb'
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_message "gitaly.WikiCommitDetails" do
9
+ optional :name, :bytes, 1
10
+ optional :email, :bytes, 2
11
+ optional :message, :bytes, 3
12
+ optional :user_id, :int32, 4
13
+ optional :user_name, :bytes, 5
14
+ end
15
+ add_message "gitaly.WikiPageVersion" do
16
+ optional :commit, :message, 1, "gitaly.GitCommit"
17
+ optional :format, :string, 2
18
+ end
19
+ add_message "gitaly.WikiPage" do
20
+ optional :version, :message, 1, "gitaly.WikiPageVersion"
21
+ optional :format, :string, 2
22
+ optional :title, :bytes, 3
23
+ optional :url_path, :string, 4
24
+ optional :path, :bytes, 5
25
+ optional :name, :bytes, 6
26
+ optional :historical, :bool, 7
27
+ optional :raw_data, :bytes, 8
28
+ end
29
+ add_message "gitaly.WikiGetPageVersionsRequest" do
30
+ optional :repository, :message, 1, "gitaly.Repository"
31
+ optional :page_path, :bytes, 2
32
+ optional :page, :int32, 3
33
+ optional :per_page, :int32, 4
34
+ end
35
+ add_message "gitaly.WikiGetPageVersionsResponse" do
36
+ repeated :versions, :message, 1, "gitaly.WikiPageVersion"
37
+ end
38
+ add_message "gitaly.WikiWritePageRequest" do
39
+ optional :repository, :message, 1, "gitaly.Repository"
40
+ optional :name, :bytes, 2
41
+ optional :format, :string, 3
42
+ optional :commit_details, :message, 4, "gitaly.WikiCommitDetails"
43
+ optional :content, :bytes, 5
44
+ end
45
+ add_message "gitaly.WikiWritePageResponse" do
46
+ optional :duplicate_error, :bytes, 1
47
+ end
48
+ add_message "gitaly.WikiUpdatePageRequest" do
49
+ optional :repository, :message, 1, "gitaly.Repository"
50
+ optional :page_path, :bytes, 2
51
+ optional :title, :bytes, 3
52
+ optional :format, :string, 4
53
+ optional :commit_details, :message, 5, "gitaly.WikiCommitDetails"
54
+ optional :content, :bytes, 6
55
+ end
56
+ add_message "gitaly.WikiUpdatePageResponse" do
57
+ optional :error, :bytes, 1
58
+ end
59
+ add_message "gitaly.WikiDeletePageRequest" do
60
+ optional :repository, :message, 1, "gitaly.Repository"
61
+ optional :page_path, :bytes, 2
62
+ optional :commit_details, :message, 3, "gitaly.WikiCommitDetails"
63
+ end
64
+ add_message "gitaly.WikiDeletePageResponse" do
65
+ end
66
+ add_message "gitaly.WikiFindPageRequest" do
67
+ optional :repository, :message, 1, "gitaly.Repository"
68
+ optional :title, :bytes, 2
69
+ optional :revision, :bytes, 3
70
+ optional :directory, :bytes, 4
71
+ end
72
+ add_message "gitaly.WikiFindPageResponse" do
73
+ optional :page, :message, 1, "gitaly.WikiPage"
74
+ end
75
+ add_message "gitaly.WikiFindFileRequest" do
76
+ optional :repository, :message, 1, "gitaly.Repository"
77
+ optional :name, :bytes, 2
78
+ optional :revision, :bytes, 3
79
+ end
80
+ add_message "gitaly.WikiFindFileResponse" do
81
+ optional :name, :bytes, 1
82
+ optional :mime_type, :string, 2
83
+ optional :raw_data, :bytes, 3
84
+ optional :path, :bytes, 4
85
+ end
86
+ add_message "gitaly.WikiGetAllPagesRequest" do
87
+ optional :repository, :message, 1, "gitaly.Repository"
88
+ optional :limit, :uint32, 2
89
+ optional :direction_desc, :bool, 3
90
+ optional :sort, :enum, 4, "gitaly.WikiGetAllPagesRequest.SortBy"
91
+ end
92
+ add_enum "gitaly.WikiGetAllPagesRequest.SortBy" do
93
+ value :TITLE, 0
94
+ value :CREATED_AT, 1
95
+ end
96
+ add_message "gitaly.WikiGetAllPagesResponse" do
97
+ optional :page, :message, 1, "gitaly.WikiPage"
98
+ optional :end_of_page, :bool, 2
99
+ end
100
+ add_message "gitaly.WikiGetFormattedDataRequest" do
101
+ optional :repository, :message, 1, "gitaly.Repository"
102
+ optional :title, :bytes, 2
103
+ optional :revision, :bytes, 3
104
+ optional :directory, :bytes, 4
105
+ end
106
+ add_message "gitaly.WikiGetFormattedDataResponse" do
107
+ optional :data, :bytes, 1
108
+ end
109
+ add_message "gitaly.WikiListPagesRequest" do
110
+ optional :repository, :message, 1, "gitaly.Repository"
111
+ optional :limit, :uint32, 2
112
+ optional :direction_desc, :bool, 3
113
+ optional :sort, :enum, 4, "gitaly.WikiListPagesRequest.SortBy"
114
+ optional :offset, :uint32, 5
115
+ end
116
+ add_enum "gitaly.WikiListPagesRequest.SortBy" do
117
+ value :TITLE, 0
118
+ value :CREATED_AT, 1
119
+ end
120
+ add_message "gitaly.WikiListPagesResponse" do
121
+ optional :page, :message, 1, "gitaly.WikiPage"
122
+ end
123
+ end
124
+
125
+ module Gitaly
126
+ WikiCommitDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiCommitDetails").msgclass
127
+ WikiPageVersion = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiPageVersion").msgclass
128
+ WikiPage = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiPage").msgclass
129
+ WikiGetPageVersionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetPageVersionsRequest").msgclass
130
+ WikiGetPageVersionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetPageVersionsResponse").msgclass
131
+ WikiWritePageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiWritePageRequest").msgclass
132
+ WikiWritePageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiWritePageResponse").msgclass
133
+ WikiUpdatePageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiUpdatePageRequest").msgclass
134
+ WikiUpdatePageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiUpdatePageResponse").msgclass
135
+ WikiDeletePageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiDeletePageRequest").msgclass
136
+ WikiDeletePageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiDeletePageResponse").msgclass
137
+ WikiFindPageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindPageRequest").msgclass
138
+ WikiFindPageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindPageResponse").msgclass
139
+ WikiFindFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindFileRequest").msgclass
140
+ WikiFindFileResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindFileResponse").msgclass
141
+ WikiGetAllPagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetAllPagesRequest").msgclass
142
+ WikiGetAllPagesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetAllPagesRequest.SortBy").enummodule
143
+ WikiGetAllPagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetAllPagesResponse").msgclass
144
+ WikiGetFormattedDataRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetFormattedDataRequest").msgclass
145
+ WikiGetFormattedDataResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetFormattedDataResponse").msgclass
146
+ WikiListPagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiListPagesRequest").msgclass
147
+ WikiListPagesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiListPagesRequest.SortBy").enummodule
148
+ WikiListPagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiListPagesResponse").msgclass
149
+ end