gitaly 15.11.0.pre.rc1 → 16.1.0.pre.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2c2a18eec7894e8921b401804bbc500679b9f85ed57b9bd21852b491d445956
4
- data.tar.gz: 3cc997da0a82517c531156015aec17d709318663e64285683dd6499c73262e8e
3
+ metadata.gz: e77b58e47c9573a0d774bb147421bbcd653873bec8640a10871a7608587f1df7
4
+ data.tar.gz: 4e60a3176fb82d3accbd0c7604e149c6c9d0ad62ac68d71af8bbc7a40df2ddfc
5
5
  SHA512:
6
- metadata.gz: 5cd00e19beee6b1651f80f225612853ed40ebdcc841b75fc413b131008ddf2a74c4e521b558252bb85d5d9d1a047342db7d5640fa70da8d1261e85d1c8441efc
7
- data.tar.gz: 288862ce0997410863aeafded757125b76e3e454488fc7edb95d5831b2df48b86d11ff28aa4f26b3b8c152b99014d802d038291ebca5ac392cdfac71e5d3621e
6
+ metadata.gz: f0b19e44e2cab5fde155ba41b5b144e4da3cd3ef88bcad1cbdc58ee2710cb2c7f941ecd9c5350c47f545ce1f8e539896fd90f47adc361abd2aaa3a7df08fa627
7
+ data.tar.gz: 6015179372a64eebef09804dfa93a167026e9ece16daa5f5c30fbb8a48e594ef42315bf914d3ddc8cab27595be71fb86925783ded500b5bf729e4ef355bf0db1
@@ -1,103 +1,38 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: blob.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'lint_pb'
5
8
  require 'shared_pb'
6
- require 'google/protobuf'
7
9
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("blob.proto", :syntax => :proto3) do
10
- add_message "gitaly.GetBlobRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :oid, :string, 2
13
- optional :limit, :int64, 3
14
- end
15
- add_message "gitaly.GetBlobResponse" do
16
- optional :size, :int64, 1
17
- optional :data, :bytes, 2
18
- optional :oid, :string, 3
19
- end
20
- add_message "gitaly.GetBlobsRequest" do
21
- optional :repository, :message, 1, "gitaly.Repository"
22
- repeated :revision_paths, :message, 2, "gitaly.GetBlobsRequest.RevisionPath"
23
- optional :limit, :int64, 3
24
- end
25
- add_message "gitaly.GetBlobsRequest.RevisionPath" do
26
- optional :revision, :string, 1
27
- optional :path, :bytes, 2
28
- end
29
- add_message "gitaly.GetBlobsResponse" do
30
- optional :size, :int64, 1
31
- optional :data, :bytes, 2
32
- optional :oid, :string, 3
33
- optional :is_submodule, :bool, 4
34
- optional :mode, :int32, 5
35
- optional :revision, :string, 6
36
- optional :path, :bytes, 7
37
- optional :type, :enum, 8, "gitaly.ObjectType"
38
- end
39
- add_message "gitaly.ListBlobsRequest" do
40
- optional :repository, :message, 1, "gitaly.Repository"
41
- repeated :revisions, :string, 2
42
- optional :limit, :uint32, 3
43
- optional :bytes_limit, :int64, 4
44
- optional :with_paths, :bool, 5
45
- end
46
- add_message "gitaly.ListBlobsResponse" do
47
- repeated :blobs, :message, 1, "gitaly.ListBlobsResponse.Blob"
48
- end
49
- add_message "gitaly.ListBlobsResponse.Blob" do
50
- optional :oid, :string, 1
51
- optional :size, :int64, 2
52
- optional :data, :bytes, 3
53
- optional :path, :bytes, 4
54
- end
55
- add_message "gitaly.ListAllBlobsRequest" do
56
- optional :repository, :message, 1, "gitaly.Repository"
57
- optional :limit, :uint32, 2
58
- optional :bytes_limit, :int64, 3
59
- end
60
- add_message "gitaly.ListAllBlobsResponse" do
61
- repeated :blobs, :message, 1, "gitaly.ListAllBlobsResponse.Blob"
62
- end
63
- add_message "gitaly.ListAllBlobsResponse.Blob" do
64
- optional :oid, :string, 1
65
- optional :size, :int64, 2
66
- optional :data, :bytes, 3
67
- end
68
- add_message "gitaly.LFSPointer" do
69
- optional :size, :int64, 1
70
- optional :data, :bytes, 2
71
- optional :oid, :string, 3
72
- end
73
- add_message "gitaly.NewBlobObject" do
74
- optional :size, :int64, 1
75
- optional :oid, :string, 2
76
- optional :path, :bytes, 3
77
- end
78
- add_message "gitaly.GetLFSPointersRequest" do
79
- optional :repository, :message, 1, "gitaly.Repository"
80
- repeated :blob_ids, :string, 2
81
- end
82
- add_message "gitaly.GetLFSPointersResponse" do
83
- repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
84
- end
85
- add_message "gitaly.ListLFSPointersRequest" do
86
- optional :repository, :message, 1, "gitaly.Repository"
87
- repeated :revisions, :string, 2
88
- optional :limit, :int32, 3
89
- end
90
- add_message "gitaly.ListLFSPointersResponse" do
91
- repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
92
- end
93
- add_message "gitaly.ListAllLFSPointersRequest" do
94
- optional :repository, :message, 1, "gitaly.Repository"
95
- optional :limit, :int32, 3
96
- end
97
- add_message "gitaly.ListAllLFSPointersResponse" do
98
- repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer"
10
+
11
+ descriptor_data = "\n\nblob.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"Z\n\x0eGetBlobRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x03\":\n\x0fGetBlobResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\"\xbc\x01\n\x0fGetBlobsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12<\n\x0erevision_paths\x18\x02 \x03(\x0b\x32$.gitaly.GetBlobsRequest.RevisionPath\x12\r\n\x05limit\x18\x03 \x01(\x03\x1a.\n\x0cRevisionPath\x12\x10\n\x08revision\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\x0c\"\xa1\x01\n\x10GetBlobsResponse\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\x12\x14\n\x0cis_submodule\x18\x04 \x01(\x08\x12\x0c\n\x04mode\x18\x05 \x01(\x05\x12\x10\n\x08revision\x18\x06 \x01(\t\x12\x0c\n\x04path\x18\x07 \x01(\x0c\x12 \n\x04type\x18\x08 \x01(\x0e\x32\x12.gitaly.ObjectType\"\x8b\x01\n\x10ListBlobsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\trevisions\x18\x02 \x03(\t\x12\r\n\x05limit\x18\x03 \x01(\r\x12\x13\n\x0b\x62ytes_limit\x18\x04 \x01(\x03\x12\x12\n\nwith_paths\x18\x05 \x01(\x08\"\x81\x01\n\x11ListBlobsResponse\x12-\n\x05\x62lobs\x18\x01 \x03(\x0b\x32\x1e.gitaly.ListBlobsResponse.Blob\x1a=\n\x04\x42lob\x12\x0b\n\x03oid\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12\x0c\n\x04path\x18\x04 \x01(\x0c\"g\n\x13ListAllBlobsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05limit\x18\x02 \x01(\r\x12\x13\n\x0b\x62ytes_limit\x18\x03 \x01(\x03\"y\n\x14ListAllBlobsResponse\x12\x30\n\x05\x62lobs\x18\x01 \x03(\x0b\x32!.gitaly.ListAllBlobsResponse.Blob\x1a/\n\x04\x42lob\x12\x0b\n\x03oid\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"5\n\nLFSPointer\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x12\x0b\n\x03oid\x18\x03 \x01(\t\"8\n\rNewBlobObject\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\x0c\"W\n\x15GetLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08\x62lob_ids\x18\x02 \x03(\t\"B\n\x16GetLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer\"h\n\x16ListLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\trevisions\x18\x02 \x03(\t\x12\r\n\x05limit\x18\x03 \x01(\x05\"C\n\x17ListLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer\"X\n\x19ListAllLFSPointersRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05limit\x18\x03 \x01(\x05\"F\n\x1aListAllLFSPointersResponse\x12(\n\x0clfs_pointers\x18\x01 \x03(\x0b\x32\x12.gitaly.LFSPointer2\xdd\x04\n\x0b\x42lobService\x12\x44\n\x07GetBlob\x12\x16.gitaly.GetBlobRequest\x1a\x17.gitaly.GetBlobResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12G\n\x08GetBlobs\x12\x17.gitaly.GetBlobsRequest\x1a\x18.gitaly.GetBlobsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12J\n\tListBlobs\x12\x18.gitaly.ListBlobsRequest\x1a\x19.gitaly.ListBlobsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12S\n\x0cListAllBlobs\x12\x1b.gitaly.ListAllBlobsRequest\x1a\x1c.gitaly.ListAllBlobsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12Y\n\x0eGetLFSPointers\x12\x1d.gitaly.GetLFSPointersRequest\x1a\x1e.gitaly.GetLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\\\n\x0fListLFSPointers\x12\x1e.gitaly.ListLFSPointersRequest\x1a\x1f.gitaly.ListLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x65\n\x12ListAllLFSPointers\x12!.gitaly.ListAllLFSPointersRequest\x1a\".gitaly.ListAllLFSPointersResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["gitaly.Repository", "shared.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
99
32
  end
100
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
101
36
  end
102
37
 
103
38
  module Gitaly
@@ -1,25 +1,38 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: cleanup.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'lint_pb'
5
8
  require 'shared_pb'
6
- require 'google/protobuf'
7
9
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("cleanup.proto", :syntax => :proto3) do
10
- add_message "gitaly.ApplyBfgObjectMapStreamRequest" do
11
- optional :repository, :message, 1, "gitaly.Repository"
12
- optional :object_map, :bytes, 2
13
- end
14
- add_message "gitaly.ApplyBfgObjectMapStreamResponse" do
15
- repeated :entries, :message, 1, "gitaly.ApplyBfgObjectMapStreamResponse.Entry"
16
- end
17
- add_message "gitaly.ApplyBfgObjectMapStreamResponse.Entry" do
18
- optional :type, :enum, 1, "gitaly.ObjectType"
19
- optional :old_oid, :string, 2
20
- optional :new_oid, :string, 3
10
+
11
+ descriptor_data = "\n\rcleanup.proto\x12\x06gitaly\x1a\nlint.proto\x1a\x0cshared.proto\"b\n\x1e\x41pplyBfgObjectMapStreamRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x12\n\nobject_map\x18\x02 \x01(\x0c\"\xae\x01\n\x1f\x41pplyBfgObjectMapStreamResponse\x12>\n\x07\x65ntries\x18\x01 \x03(\x0b\x32-.gitaly.ApplyBfgObjectMapStreamResponse.Entry\x1aK\n\x05\x45ntry\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.gitaly.ObjectType\x12\x0f\n\x07old_oid\x18\x02 \x01(\t\x12\x0f\n\x07new_oid\x18\x03 \x01(\t2\x88\x01\n\x0e\x43leanupService\x12v\n\x17\x41pplyBfgObjectMapStream\x12&.gitaly.ApplyBfgObjectMapStreamRequest\x1a\'.gitaly.ApplyBfgObjectMapStreamResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["gitaly.Repository", "shared.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
21
32
  end
22
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
23
36
  end
24
37
 
25
38
  module Gitaly
@@ -1,314 +1,40 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: commit.proto
3
4
 
5
+ require 'google/protobuf'
6
+
4
7
  require 'google/protobuf/timestamp_pb'
5
8
  require 'lint_pb'
6
9
  require 'shared_pb'
7
- require 'google/protobuf'
8
10
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("commit.proto", :syntax => :proto3) do
11
- add_message "gitaly.ListCommitsRequest" do
12
- optional :repository, :message, 1, "gitaly.Repository"
13
- repeated :revisions, :string, 2
14
- optional :pagination_params, :message, 3, "gitaly.PaginationParameter"
15
- optional :order, :enum, 4, "gitaly.ListCommitsRequest.Order"
16
- optional :reverse, :bool, 11
17
- optional :max_parents, :uint32, 5
18
- optional :disable_walk, :bool, 6
19
- optional :first_parent, :bool, 7
20
- optional :after, :message, 8, "google.protobuf.Timestamp"
21
- optional :before, :message, 9, "google.protobuf.Timestamp"
22
- optional :author, :bytes, 10
23
- optional :ignore_case, :bool, 12
24
- repeated :commit_message_patterns, :bytes, 13
25
- end
26
- add_enum "gitaly.ListCommitsRequest.Order" do
27
- value :NONE, 0
28
- value :TOPO, 1
29
- value :DATE, 2
30
- end
31
- add_message "gitaly.ListCommitsResponse" do
32
- repeated :commits, :message, 1, "gitaly.GitCommit"
33
- end
34
- add_message "gitaly.ListAllCommitsRequest" do
35
- optional :repository, :message, 1, "gitaly.Repository"
36
- optional :pagination_params, :message, 2, "gitaly.PaginationParameter"
37
- end
38
- add_message "gitaly.ListAllCommitsResponse" do
39
- repeated :commits, :message, 1, "gitaly.GitCommit"
40
- end
41
- add_message "gitaly.CommitStatsRequest" do
42
- optional :repository, :message, 1, "gitaly.Repository"
43
- optional :revision, :bytes, 2
44
- end
45
- add_message "gitaly.CommitStatsResponse" do
46
- optional :oid, :string, 1
47
- optional :additions, :int32, 2
48
- optional :deletions, :int32, 3
49
- end
50
- add_message "gitaly.CommitIsAncestorRequest" do
51
- optional :repository, :message, 1, "gitaly.Repository"
52
- optional :ancestor_id, :string, 2
53
- optional :child_id, :string, 3
54
- end
55
- add_message "gitaly.CommitIsAncestorResponse" do
56
- optional :value, :bool, 1
57
- end
58
- add_message "gitaly.TreeEntryRequest" do
59
- optional :repository, :message, 1, "gitaly.Repository"
60
- optional :revision, :bytes, 2
61
- optional :path, :bytes, 3
62
- optional :limit, :int64, 4
63
- optional :max_size, :int64, 5
64
- end
65
- add_message "gitaly.TreeEntryResponse" do
66
- optional :type, :enum, 1, "gitaly.TreeEntryResponse.ObjectType"
67
- optional :oid, :string, 2
68
- optional :size, :int64, 3
69
- optional :mode, :int32, 4
70
- optional :data, :bytes, 5
71
- end
72
- add_enum "gitaly.TreeEntryResponse.ObjectType" do
73
- value :COMMIT, 0
74
- value :BLOB, 1
75
- value :TREE, 2
76
- value :TAG, 3
77
- end
78
- add_message "gitaly.CountCommitsRequest" do
79
- optional :repository, :message, 1, "gitaly.Repository"
80
- optional :revision, :bytes, 2
81
- optional :after, :message, 3, "google.protobuf.Timestamp"
82
- optional :before, :message, 4, "google.protobuf.Timestamp"
83
- optional :path, :bytes, 5
84
- optional :max_count, :int32, 6
85
- optional :all, :bool, 7
86
- optional :first_parent, :bool, 8
87
- optional :global_options, :message, 9, "gitaly.GlobalOptions"
88
- end
89
- add_message "gitaly.CountCommitsResponse" do
90
- optional :count, :int32, 1
91
- end
92
- add_message "gitaly.CountDivergingCommitsRequest" do
93
- optional :repository, :message, 1, "gitaly.Repository"
94
- optional :from, :bytes, 2
95
- optional :to, :bytes, 3
96
- optional :max_count, :int32, 7
97
- end
98
- add_message "gitaly.CountDivergingCommitsResponse" do
99
- optional :left_count, :int32, 1
100
- optional :right_count, :int32, 2
101
- end
102
- add_message "gitaly.TreeEntry" do
103
- optional :oid, :string, 1
104
- optional :root_oid, :string, 2
105
- optional :path, :bytes, 3
106
- optional :type, :enum, 4, "gitaly.TreeEntry.EntryType"
107
- optional :mode, :int32, 5
108
- optional :commit_oid, :string, 6
109
- optional :flat_path, :bytes, 7
110
- end
111
- add_enum "gitaly.TreeEntry.EntryType" do
112
- value :BLOB, 0
113
- value :TREE, 1
114
- value :COMMIT, 3
115
- end
116
- add_message "gitaly.GetTreeEntriesRequest" do
117
- optional :repository, :message, 1, "gitaly.Repository"
118
- optional :revision, :bytes, 2
119
- optional :path, :bytes, 3
120
- optional :recursive, :bool, 4
121
- optional :sort, :enum, 5, "gitaly.GetTreeEntriesRequest.SortBy"
122
- optional :pagination_params, :message, 6, "gitaly.PaginationParameter"
123
- optional :skip_flat_paths, :bool, 7
124
- end
125
- add_enum "gitaly.GetTreeEntriesRequest.SortBy" do
126
- value :DEFAULT, 0
127
- value :TREES_FIRST, 1
128
- end
129
- add_message "gitaly.GetTreeEntriesResponse" do
130
- repeated :entries, :message, 1, "gitaly.TreeEntry"
131
- optional :pagination_cursor, :message, 2, "gitaly.PaginationCursor"
132
- end
133
- add_message "gitaly.ListFilesRequest" do
134
- optional :repository, :message, 1, "gitaly.Repository"
135
- optional :revision, :bytes, 2
136
- end
137
- add_message "gitaly.ListFilesResponse" do
138
- repeated :paths, :bytes, 1
139
- end
140
- add_message "gitaly.FindCommitRequest" do
141
- optional :repository, :message, 1, "gitaly.Repository"
142
- optional :revision, :bytes, 2
143
- optional :trailers, :bool, 3
144
- end
145
- add_message "gitaly.FindCommitResponse" do
146
- optional :commit, :message, 1, "gitaly.GitCommit"
147
- end
148
- add_message "gitaly.ListCommitsByOidRequest" do
149
- optional :repository, :message, 1, "gitaly.Repository"
150
- repeated :oid, :string, 2
151
- end
152
- add_message "gitaly.ListCommitsByOidResponse" do
153
- repeated :commits, :message, 1, "gitaly.GitCommit"
154
- end
155
- add_message "gitaly.ListCommitsByRefNameRequest" do
156
- optional :repository, :message, 1, "gitaly.Repository"
157
- repeated :ref_names, :bytes, 2
158
- end
159
- add_message "gitaly.ListCommitsByRefNameResponse" do
160
- repeated :commit_refs, :message, 2, "gitaly.ListCommitsByRefNameResponse.CommitForRef"
161
- end
162
- add_message "gitaly.ListCommitsByRefNameResponse.CommitForRef" do
163
- optional :commit, :message, 1, "gitaly.GitCommit"
164
- optional :ref_name, :bytes, 2
165
- end
166
- add_message "gitaly.FindAllCommitsRequest" do
167
- optional :repository, :message, 1, "gitaly.Repository"
168
- optional :revision, :bytes, 2
169
- optional :max_count, :int32, 3
170
- optional :skip, :int32, 4
171
- optional :order, :enum, 5, "gitaly.FindAllCommitsRequest.Order"
172
- end
173
- add_enum "gitaly.FindAllCommitsRequest.Order" do
174
- value :NONE, 0
175
- value :TOPO, 1
176
- value :DATE, 2
177
- end
178
- add_message "gitaly.FindAllCommitsResponse" do
179
- repeated :commits, :message, 1, "gitaly.GitCommit"
180
- end
181
- add_message "gitaly.FindCommitsRequest" do
182
- optional :repository, :message, 1, "gitaly.Repository"
183
- optional :revision, :bytes, 2
184
- optional :limit, :int32, 3
185
- optional :offset, :int32, 4
186
- repeated :paths, :bytes, 5
187
- optional :follow, :bool, 6
188
- optional :skip_merges, :bool, 7
189
- optional :disable_walk, :bool, 8
190
- optional :after, :message, 9, "google.protobuf.Timestamp"
191
- optional :before, :message, 10, "google.protobuf.Timestamp"
192
- optional :all, :bool, 11
193
- optional :first_parent, :bool, 12
194
- optional :author, :bytes, 13
195
- optional :order, :enum, 14, "gitaly.FindCommitsRequest.Order"
196
- optional :global_options, :message, 15, "gitaly.GlobalOptions"
197
- optional :trailers, :bool, 16
198
- optional :include_shortstat, :bool, 17
199
- repeated :include_referenced_by, :bytes, 18
200
- end
201
- add_enum "gitaly.FindCommitsRequest.Order" do
202
- value :NONE, 0
203
- value :TOPO, 1
204
- end
205
- add_message "gitaly.FindCommitsResponse" do
206
- repeated :commits, :message, 1, "gitaly.GitCommit"
207
- end
208
- add_message "gitaly.CommitLanguagesRequest" do
209
- optional :repository, :message, 1, "gitaly.Repository"
210
- optional :revision, :bytes, 2
211
- end
212
- add_message "gitaly.CommitLanguagesResponse" do
213
- repeated :languages, :message, 1, "gitaly.CommitLanguagesResponse.Language"
214
- end
215
- add_message "gitaly.CommitLanguagesResponse.Language" do
216
- optional :name, :string, 1
217
- optional :share, :float, 2
218
- optional :color, :string, 3
219
- optional :bytes, :uint64, 5
220
- end
221
- add_message "gitaly.RawBlameRequest" do
222
- optional :repository, :message, 1, "gitaly.Repository"
223
- optional :revision, :bytes, 2
224
- optional :path, :bytes, 3
225
- optional :range, :bytes, 4
226
- end
227
- add_message "gitaly.RawBlameResponse" do
228
- optional :data, :bytes, 1
229
- end
230
- add_message "gitaly.LastCommitForPathRequest" do
231
- optional :repository, :message, 1, "gitaly.Repository"
232
- optional :revision, :bytes, 2
233
- optional :path, :bytes, 3
234
- optional :literal_pathspec, :bool, 4
235
- optional :global_options, :message, 5, "gitaly.GlobalOptions"
236
- end
237
- add_message "gitaly.LastCommitForPathResponse" do
238
- optional :commit, :message, 1, "gitaly.GitCommit"
239
- end
240
- add_message "gitaly.ListLastCommitsForTreeRequest" do
241
- optional :repository, :message, 1, "gitaly.Repository"
242
- optional :revision, :string, 2
243
- optional :path, :bytes, 3
244
- optional :limit, :int32, 4
245
- optional :offset, :int32, 5
246
- optional :literal_pathspec, :bool, 6
247
- optional :global_options, :message, 7, "gitaly.GlobalOptions"
248
- end
249
- add_message "gitaly.ListLastCommitsForTreeResponse" do
250
- repeated :commits, :message, 1, "gitaly.ListLastCommitsForTreeResponse.CommitForTree"
251
- end
252
- add_message "gitaly.ListLastCommitsForTreeResponse.CommitForTree" do
253
- optional :commit, :message, 2, "gitaly.GitCommit"
254
- optional :path_bytes, :bytes, 4
255
- end
256
- add_message "gitaly.CommitsByMessageRequest" do
257
- optional :repository, :message, 1, "gitaly.Repository"
258
- optional :revision, :bytes, 2
259
- optional :offset, :int32, 3
260
- optional :limit, :int32, 4
261
- optional :path, :bytes, 5
262
- optional :query, :string, 6
263
- optional :global_options, :message, 7, "gitaly.GlobalOptions"
264
- end
265
- add_message "gitaly.CommitsByMessageResponse" do
266
- repeated :commits, :message, 1, "gitaly.GitCommit"
267
- end
268
- add_message "gitaly.FilterShasWithSignaturesRequest" do
269
- optional :repository, :message, 1, "gitaly.Repository"
270
- repeated :shas, :bytes, 2
271
- end
272
- add_message "gitaly.FilterShasWithSignaturesResponse" do
273
- repeated :shas, :bytes, 1
274
- end
275
- add_message "gitaly.ExtractCommitSignatureRequest" do
276
- optional :repository, :message, 1, "gitaly.Repository"
277
- optional :commit_id, :string, 2
278
- end
279
- add_message "gitaly.ExtractCommitSignatureResponse" do
280
- optional :signature, :bytes, 1
281
- optional :signed_text, :bytes, 2
282
- end
283
- add_message "gitaly.GetCommitSignaturesRequest" do
284
- optional :repository, :message, 1, "gitaly.Repository"
285
- repeated :commit_ids, :string, 2
286
- end
287
- add_message "gitaly.GetCommitSignaturesResponse" do
288
- optional :commit_id, :string, 1
289
- optional :signature, :bytes, 2
290
- optional :signed_text, :bytes, 3
291
- end
292
- add_message "gitaly.GetCommitMessagesRequest" do
293
- optional :repository, :message, 1, "gitaly.Repository"
294
- repeated :commit_ids, :string, 2
295
- end
296
- add_message "gitaly.GetCommitMessagesResponse" do
297
- optional :commit_id, :string, 1
298
- optional :message, :bytes, 2
299
- end
300
- add_message "gitaly.CheckObjectsExistRequest" do
301
- optional :repository, :message, 1, "gitaly.Repository"
302
- repeated :revisions, :bytes, 2
303
- end
304
- add_message "gitaly.CheckObjectsExistResponse" do
305
- repeated :revisions, :message, 1, "gitaly.CheckObjectsExistResponse.RevisionExistence"
306
- end
307
- add_message "gitaly.CheckObjectsExistResponse.RevisionExistence" do
308
- optional :name, :bytes, 1
309
- optional :exists, :bool, 2
11
+
12
+ descriptor_data = "\n\x0c\x63ommit.proto\x12\x06gitaly\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\nlint.proto\x1a\x0cshared.proto\"\xd4\x03\n\x12ListCommitsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\trevisions\x18\x02 \x03(\t\x12\x36\n\x11pagination_params\x18\x03 \x01(\x0b\x32\x1b.gitaly.PaginationParameter\x12/\n\x05order\x18\x04 \x01(\x0e\x32 .gitaly.ListCommitsRequest.Order\x12\x0f\n\x07reverse\x18\x0b \x01(\x08\x12\x13\n\x0bmax_parents\x18\x05 \x01(\r\x12\x14\n\x0c\x64isable_walk\x18\x06 \x01(\x08\x12\x14\n\x0c\x66irst_parent\x18\x07 \x01(\x08\x12)\n\x05\x61\x66ter\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x06\x62\x65\x66ore\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06\x61uthor\x18\n \x01(\x0c\x12\x13\n\x0bignore_case\x18\x0c \x01(\x08\x12\x1f\n\x17\x63ommit_message_patterns\x18\r \x03(\x0c\"%\n\x05Order\x12\x08\n\x04NONE\x10\x00\x12\x08\n\x04TOPO\x10\x01\x12\x08\n\x04\x44\x41TE\x10\x02\"9\n\x13ListCommitsResponse\x12\"\n\x07\x63ommits\x18\x01 \x03(\x0b\x32\x11.gitaly.GitCommit\"}\n\x15ListAllCommitsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x36\n\x11pagination_params\x18\x02 \x01(\x0b\x32\x1b.gitaly.PaginationParameter\"<\n\x16ListAllCommitsResponse\x12\"\n\x07\x63ommits\x18\x01 \x03(\x0b\x32\x11.gitaly.GitCommit\"T\n\x12\x43ommitStatsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\"H\n\x13\x43ommitStatsResponse\x12\x0b\n\x03oid\x18\x01 \x01(\t\x12\x11\n\tadditions\x18\x02 \x01(\x05\x12\x11\n\tdeletions\x18\x03 \x01(\x05\"n\n\x17\x43ommitIsAncestorRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x13\n\x0b\x61ncestor_id\x18\x02 \x01(\t\x12\x10\n\x08\x63hild_id\x18\x03 \x01(\t\")\n\x18\x43ommitIsAncestorResponse\x12\r\n\x05value\x18\x01 \x01(\x08\"\x81\x01\n\x10TreeEntryRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\x0c\n\x04path\x18\x03 \x01(\x0c\x12\r\n\x05limit\x18\x04 \x01(\x03\x12\x10\n\x08max_size\x18\x05 \x01(\x03\"\xb5\x01\n\x11TreeEntryResponse\x12\x32\n\x04type\x18\x01 \x01(\x0e\x32$.gitaly.TreeEntryResponse.ObjectType\x12\x0b\n\x03oid\x18\x02 \x01(\t\x12\x0c\n\x04size\x18\x03 \x01(\x03\x12\x0c\n\x04mode\x18\x04 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\"5\n\nObjectType\x12\n\n\x06\x43OMMIT\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x08\n\x04TREE\x10\x02\x12\x07\n\x03TAG\x10\x03\"\x9f\x02\n\x13\x43ountCommitsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12)\n\x05\x61\x66ter\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x06\x62\x65\x66ore\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04path\x18\x05 \x01(\x0c\x12\x11\n\tmax_count\x18\x06 \x01(\x05\x12\x0b\n\x03\x61ll\x18\x07 \x01(\x08\x12\x14\n\x0c\x66irst_parent\x18\x08 \x01(\x08\x12-\n\x0eglobal_options\x18\t \x01(\x0b\x32\x15.gitaly.GlobalOptions\"%\n\x14\x43ountCommitsResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\"\x8b\x01\n\x1c\x43ountDivergingCommitsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x66rom\x18\x02 \x01(\x0c\x12\n\n\x02to\x18\x03 \x01(\x0c\x12\x11\n\tmax_count\x18\x07 \x01(\x05J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07\"H\n\x1d\x43ountDivergingCommitsResponse\x12\x12\n\nleft_count\x18\x01 \x01(\x05\x12\x13\n\x0bright_count\x18\x02 \x01(\x05\"\xc3\x01\n\tTreeEntry\x12\x0b\n\x03oid\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\x0c\x12)\n\x04type\x18\x04 \x01(\x0e\x32\x1b.gitaly.TreeEntry.EntryType\x12\x0c\n\x04mode\x18\x05 \x01(\x05\x12\x12\n\ncommit_oid\x18\x06 \x01(\t\x12\x11\n\tflat_path\x18\x07 \x01(\x0c\"+\n\tEntryType\x12\x08\n\x04\x42LOB\x10\x00\x12\x08\n\x04TREE\x10\x01\x12\n\n\x06\x43OMMIT\x10\x03J\x04\x08\x02\x10\x03R\x08root_oid\"\xa5\x02\n\x15GetTreeEntriesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\x0c\n\x04path\x18\x03 \x01(\x0c\x12\x11\n\trecursive\x18\x04 \x01(\x08\x12\x32\n\x04sort\x18\x05 \x01(\x0e\x32$.gitaly.GetTreeEntriesRequest.SortBy\x12\x36\n\x11pagination_params\x18\x06 \x01(\x0b\x32\x1b.gitaly.PaginationParameter\x12\x17\n\x0fskip_flat_paths\x18\x07 \x01(\x08\"&\n\x06SortBy\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0f\n\x0bTREES_FIRST\x10\x01\"q\n\x16GetTreeEntriesResponse\x12\"\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x11.gitaly.TreeEntry\x12\x33\n\x11pagination_cursor\x18\x02 \x01(\x0b\x32\x18.gitaly.PaginationCursor\"R\n\x10ListFilesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\"\"\n\x11ListFilesResponse\x12\r\n\x05paths\x18\x01 \x03(\x0c\"e\n\x11\x46indCommitRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\x10\n\x08trailers\x18\x03 \x01(\x08\"7\n\x12\x46indCommitResponse\x12!\n\x06\x63ommit\x18\x01 \x01(\x0b\x32\x11.gitaly.GitCommit\"T\n\x17ListCommitsByOidRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03oid\x18\x02 \x03(\t\">\n\x18ListCommitsByOidResponse\x12\"\n\x07\x63ommits\x18\x01 \x03(\x0b\x32\x11.gitaly.GitCommit\"^\n\x1bListCommitsByRefNameRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\tref_names\x18\x02 \x03(\x0c\"\xb1\x01\n\x1cListCommitsByRefNameResponse\x12\x46\n\x0b\x63ommit_refs\x18\x02 \x03(\x0b\x32\x31.gitaly.ListCommitsByRefNameResponse.CommitForRef\x1a\x43\n\x0c\x43ommitForRef\x12!\n\x06\x63ommit\x18\x01 \x01(\x0b\x32\x11.gitaly.GitCommit\x12\x10\n\x08ref_name\x18\x02 \x01(\x0cJ\x04\x08\x01\x10\x02\"\xd3\x01\n\x15\x46indAllCommitsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\x11\n\tmax_count\x18\x03 \x01(\x05\x12\x0c\n\x04skip\x18\x04 \x01(\x05\x12\x32\n\x05order\x18\x05 \x01(\x0e\x32#.gitaly.FindAllCommitsRequest.Order\"%\n\x05Order\x12\x08\n\x04NONE\x10\x00\x12\x08\n\x04TOPO\x10\x01\x12\x08\n\x04\x44\x41TE\x10\x02\"<\n\x16\x46indAllCommitsResponse\x12\"\n\x07\x63ommits\x18\x01 \x03(\x0b\x32\x11.gitaly.GitCommit\"\x90\x04\n\x12\x46indCommitsRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\r\n\x05limit\x18\x03 \x01(\x05\x12\x0e\n\x06offset\x18\x04 \x01(\x05\x12\r\n\x05paths\x18\x05 \x03(\x0c\x12\x0e\n\x06\x66ollow\x18\x06 \x01(\x08\x12\x13\n\x0bskip_merges\x18\x07 \x01(\x08\x12\x14\n\x0c\x64isable_walk\x18\x08 \x01(\x08\x12)\n\x05\x61\x66ter\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x06\x62\x65\x66ore\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0b\n\x03\x61ll\x18\x0b \x01(\x08\x12\x14\n\x0c\x66irst_parent\x18\x0c \x01(\x08\x12\x0e\n\x06\x61uthor\x18\r \x01(\x0c\x12/\n\x05order\x18\x0e \x01(\x0e\x32 .gitaly.FindCommitsRequest.Order\x12-\n\x0eglobal_options\x18\x0f \x01(\x0b\x32\x15.gitaly.GlobalOptions\x12\x10\n\x08trailers\x18\x10 \x01(\x08\x12\x19\n\x11include_shortstat\x18\x11 \x01(\x08\x12\x1d\n\x15include_referenced_by\x18\x12 \x03(\x0c\"\x1b\n\x05Order\x12\x08\n\x04NONE\x10\x00\x12\x08\n\x04TOPO\x10\x01\"9\n\x13\x46indCommitsResponse\x12\"\n\x07\x63ommits\x18\x01 \x03(\x0b\x32\x11.gitaly.GitCommit\"X\n\x16\x43ommitLanguagesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\"\xaf\x01\n\x17\x43ommitLanguagesResponse\x12;\n\tlanguages\x18\x01 \x03(\x0b\x32(.gitaly.CommitLanguagesResponse.Language\x1aW\n\x08Language\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05share\x18\x02 \x01(\x02\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\r\n\x05\x62ytes\x18\x05 \x01(\x04J\x04\x08\x04\x10\x05R\nfile_count\"n\n\x0fRawBlameRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\x0c\n\x04path\x18\x03 \x01(\x0c\x12\r\n\x05range\x18\x04 \x01(\x0c\" \n\x10RawBlameResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\xb1\x01\n\x18LastCommitForPathRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\x0c\n\x04path\x18\x03 \x01(\x0c\x12\x18\n\x10literal_pathspec\x18\x04 \x01(\x08\x12-\n\x0eglobal_options\x18\x05 \x01(\x0b\x32\x15.gitaly.GlobalOptions\">\n\x19LastCommitForPathResponse\x12!\n\x06\x63ommit\x18\x01 \x01(\x0b\x32\x11.gitaly.GitCommit\"\xd9\x01\n\x1dListLastCommitsForTreeRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\x0c\x12\r\n\x05limit\x18\x04 \x01(\x05\x12\x0e\n\x06offset\x18\x05 \x01(\x05\x12\x1c\n\x10literal_pathspec\x18\x06 \x01(\x08\x42\x02\x18\x01\x12-\n\x0eglobal_options\x18\x07 \x01(\x0b\x32\x15.gitaly.GlobalOptions\"\xbb\x01\n\x1eListLastCommitsForTreeResponse\x12\x45\n\x07\x63ommits\x18\x01 \x03(\x0b\x32\x34.gitaly.ListLastCommitsForTreeResponse.CommitForTree\x1aR\n\rCommitForTree\x12!\n\x06\x63ommit\x18\x02 \x01(\x0b\x32\x11.gitaly.GitCommit\x12\x12\n\npath_bytes\x18\x04 \x01(\x0cJ\x04\x08\x01\x10\x02J\x04\x08\x03\x10\x04\"\xc4\x01\n\x17\x43ommitsByMessageRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x10\n\x08revision\x18\x02 \x01(\x0c\x12\x0e\n\x06offset\x18\x03 \x01(\x05\x12\r\n\x05limit\x18\x04 \x01(\x05\x12\x0c\n\x04path\x18\x05 \x01(\x0c\x12\r\n\x05query\x18\x06 \x01(\t\x12-\n\x0eglobal_options\x18\x07 \x01(\x0b\x32\x15.gitaly.GlobalOptions\">\n\x18\x43ommitsByMessageResponse\x12\"\n\x07\x63ommits\x18\x01 \x03(\x0b\x32\x11.gitaly.GitCommit\"]\n\x1f\x46ilterShasWithSignaturesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04shas\x18\x02 \x03(\x0c\"0\n FilterShasWithSignaturesResponse\x12\x0c\n\x04shas\x18\x01 \x03(\x0c\"`\n\x1d\x45xtractCommitSignatureRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\tcommit_id\x18\x02 \x01(\t\"H\n\x1e\x45xtractCommitSignatureResponse\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x13\n\x0bsigned_text\x18\x02 \x01(\x0c\"^\n\x1aGetCommitSignaturesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x12\n\ncommit_ids\x18\x02 \x03(\t\"X\n\x1bGetCommitSignaturesResponse\x12\x11\n\tcommit_id\x18\x01 \x01(\t\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x13\n\x0bsigned_text\x18\x03 \x01(\x0c\"\\\n\x18GetCommitMessagesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x12\n\ncommit_ids\x18\x02 \x03(\t\"?\n\x19GetCommitMessagesResponse\x12\x11\n\tcommit_id\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\x0c\"[\n\x18\x43heckObjectsExistRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x11\n\trevisions\x18\x02 \x03(\x0c\"\x96\x01\n\x19\x43heckObjectsExistResponse\x12\x46\n\trevisions\x18\x01 \x03(\x0b\x32\x33.gitaly.CheckObjectsExistResponse.RevisionExistence\x1a\x31\n\x11RevisionExistence\x12\x0c\n\x04name\x18\x01 \x01(\x0c\x12\x0e\n\x06\x65xists\x18\x02 \x01(\x08\x32\xf1\x10\n\rCommitService\x12P\n\x0bListCommits\x12\x1a.gitaly.ListCommitsRequest\x1a\x1b.gitaly.ListCommitsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12Y\n\x0eListAllCommits\x12\x1d.gitaly.ListAllCommitsRequest\x1a\x1e.gitaly.ListAllCommitsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12]\n\x10\x43ommitIsAncestor\x12\x1f.gitaly.CommitIsAncestorRequest\x1a .gitaly.CommitIsAncestorResponse\"\x06\xfa\x97(\x02\x08\x02\x12J\n\tTreeEntry\x12\x18.gitaly.TreeEntryRequest\x1a\x19.gitaly.TreeEntryResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12Q\n\x0c\x43ountCommits\x12\x1b.gitaly.CountCommitsRequest\x1a\x1c.gitaly.CountCommitsResponse\"\x06\xfa\x97(\x02\x08\x02\x12l\n\x15\x43ountDivergingCommits\x12$.gitaly.CountDivergingCommitsRequest\x1a%.gitaly.CountDivergingCommitsResponse\"\x06\xfa\x97(\x02\x08\x02\x12Y\n\x0eGetTreeEntries\x12\x1d.gitaly.GetTreeEntriesRequest\x1a\x1e.gitaly.GetTreeEntriesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12J\n\tListFiles\x12\x18.gitaly.ListFilesRequest\x1a\x19.gitaly.ListFilesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12K\n\nFindCommit\x12\x19.gitaly.FindCommitRequest\x1a\x1a.gitaly.FindCommitResponse\"\x06\xfa\x97(\x02\x08\x02\x12N\n\x0b\x43ommitStats\x12\x1a.gitaly.CommitStatsRequest\x1a\x1b.gitaly.CommitStatsResponse\"\x06\xfa\x97(\x02\x08\x02\x12Y\n\x0e\x46indAllCommits\x12\x1d.gitaly.FindAllCommitsRequest\x1a\x1e.gitaly.FindAllCommitsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12P\n\x0b\x46indCommits\x12\x1a.gitaly.FindCommitsRequest\x1a\x1b.gitaly.FindCommitsResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12Z\n\x0f\x43ommitLanguages\x12\x1e.gitaly.CommitLanguagesRequest\x1a\x1f.gitaly.CommitLanguagesResponse\"\x06\xfa\x97(\x02\x08\x02\x12G\n\x08RawBlame\x12\x17.gitaly.RawBlameRequest\x1a\x18.gitaly.RawBlameResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12`\n\x11LastCommitForPath\x12 .gitaly.LastCommitForPathRequest\x1a!.gitaly.LastCommitForPathResponse\"\x06\xfa\x97(\x02\x08\x02\x12q\n\x16ListLastCommitsForTree\x12%.gitaly.ListLastCommitsForTreeRequest\x1a&.gitaly.ListLastCommitsForTreeResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12_\n\x10\x43ommitsByMessage\x12\x1f.gitaly.CommitsByMessageRequest\x1a .gitaly.CommitsByMessageResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12_\n\x10ListCommitsByOid\x12\x1f.gitaly.ListCommitsByOidRequest\x1a .gitaly.ListCommitsByOidResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12k\n\x14ListCommitsByRefName\x12#.gitaly.ListCommitsByRefNameRequest\x1a$.gitaly.ListCommitsByRefNameResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12y\n\x18\x46ilterShasWithSignatures\x12\'.gitaly.FilterShasWithSignaturesRequest\x1a(.gitaly.FilterShasWithSignaturesResponse\"\x06\xfa\x97(\x02\x08\x02(\x01\x30\x01\x12h\n\x13GetCommitSignatures\x12\".gitaly.GetCommitSignaturesRequest\x1a#.gitaly.GetCommitSignaturesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x62\n\x11GetCommitMessages\x12 .gitaly.GetCommitMessagesRequest\x1a!.gitaly.GetCommitMessagesResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12\x64\n\x11\x43heckObjectsExist\x12 .gitaly.CheckObjectsExistRequest\x1a!.gitaly.CheckObjectsExistResponse\"\x06\xfa\x97(\x02\x08\x02(\x01\x30\x01\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["gitaly.Repository", "shared.proto"],
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
310
34
  end
311
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
312
38
  end
313
39
 
314
40
  module Gitaly