hgitaly 2.6.0__tar.gz → 2.7.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. {hgitaly-2.6.0 → hgitaly-2.7.1}/.hgtags +3 -0
  2. {hgitaly-2.6.0 → hgitaly-2.7.1}/PKG-INFO +1 -1
  3. hgitaly-2.7.1/hgitaly/VERSION +1 -0
  4. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/commit.py +9 -0
  5. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/mercurial_operations.py +12 -11
  6. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/operations.py +13 -1
  7. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/repository.py +4 -2
  8. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/server.py +11 -0
  9. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_commit.py +1 -0
  10. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_mercurial_operations.py +51 -0
  11. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_operations.py +5 -3
  12. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_repository_service.py +4 -4
  13. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_server.py +8 -0
  14. hgitaly-2.7.1/hgitaly/stub/commit_pb2.py +251 -0
  15. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/errors_pb2.py +3 -1
  16. hgitaly-2.7.1/hgitaly/stub/repository_pb2.py +396 -0
  17. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/repository_pb2_grpc.py +2 -2
  18. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly.egg-info/PKG-INFO +1 -1
  19. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/commit.proto +3 -0
  20. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/errors.proto +3 -0
  21. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/repository.proto +12 -2
  22. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/ssh.proto +3 -0
  23. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly/version.rb +1 -1
  24. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_commit.py +9 -0
  25. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_operations.py +21 -4
  26. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_server.py +13 -0
  27. hgitaly-2.6.0/hgitaly/VERSION +0 -1
  28. hgitaly-2.6.0/hgitaly/stub/commit_pb2.py +0 -251
  29. hgitaly-2.6.0/hgitaly/stub/repository_pb2.py +0 -393
  30. {hgitaly-2.6.0 → hgitaly-2.7.1}/.coveragerc +0 -0
  31. {hgitaly-2.6.0 → hgitaly-2.7.1}/.gitlab-ci.yml +0 -0
  32. {hgitaly-2.6.0 → hgitaly-2.7.1}/.hgignore +0 -0
  33. {hgitaly-2.6.0 → hgitaly-2.7.1}/LICENSE +0 -0
  34. {hgitaly-2.6.0 → hgitaly-2.7.1}/MANIFEST.in +0 -0
  35. {hgitaly-2.6.0 → hgitaly-2.7.1}/README.md +0 -0
  36. {hgitaly-2.6.0 → hgitaly-2.7.1}/ci/heptapod-sftp-push +0 -0
  37. {hgitaly-2.6.0 → hgitaly-2.7.1}/ci/heptapod-sign-package +0 -0
  38. {hgitaly-2.6.0 → hgitaly-2.7.1}/ci/heptapod_known_hosts.ssh +0 -0
  39. {hgitaly-2.6.0 → hgitaly-2.7.1}/ci/upload-rhgitaly +0 -0
  40. {hgitaly-2.6.0 → hgitaly-2.7.1}/conftest.py +0 -0
  41. {hgitaly-2.6.0 → hgitaly-2.7.1}/dev-requirements.txt +0 -0
  42. {hgitaly-2.6.0 → hgitaly-2.7.1}/examples/client.py +0 -0
  43. {hgitaly-2.6.0 → hgitaly-2.7.1}/examples/client_list_lcft.py +0 -0
  44. {hgitaly-2.6.0 → hgitaly-2.7.1}/generate-stubs +0 -0
  45. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgext3rd/__init__.py +0 -0
  46. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgext3rd/hgitaly/__init__.py +0 -0
  47. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgext3rd/hgitaly/revset.py +0 -0
  48. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgext3rd/hgitaly/tests/__init__.py +0 -0
  49. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
  50. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
  51. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/__init__.py +0 -0
  52. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/branch.py +0 -0
  53. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/changelog.py +0 -0
  54. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/diff.py +0 -0
  55. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/errors.py +0 -0
  56. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/feature.py +0 -0
  57. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/file_content.py +0 -0
  58. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/file_context.py +0 -0
  59. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/git.py +0 -0
  60. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/gitlab_ref.py +0 -0
  61. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/license_detector/GPL-2.sample +0 -0
  62. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/license_detector/__init__.py +0 -0
  63. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/license_detector/spdx-licenses.json +0 -0
  64. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/linguist/__init__.py +0 -0
  65. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/linguist/languages.json +0 -0
  66. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/logging.py +0 -0
  67. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/manifest.py +0 -0
  68. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/message.py +0 -0
  69. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/oid.py +0 -0
  70. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/pagination.py +0 -0
  71. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/path.py +0 -0
  72. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/peer.py +0 -0
  73. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/procutil.py +0 -0
  74. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/repository.py +0 -0
  75. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/revision.py +0 -0
  76. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/revset.py +0 -0
  77. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/scripts.py +0 -0
  78. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/__init__.py +0 -0
  79. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/address.py +0 -0
  80. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/mono.py +0 -0
  81. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/prefork.py +0 -0
  82. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/tests/__init__.py +0 -0
  83. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/tests/test_address.py +0 -0
  84. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/tests/test_mono.py +0 -0
  85. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/tests/test_prefork.py +0 -0
  86. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/tests/test_worker.py +0 -0
  87. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/server/worker.py +0 -0
  88. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/__init__.py +0 -0
  89. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/analysis.py +0 -0
  90. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/blob.py +0 -0
  91. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/diff.py +0 -0
  92. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/interceptors.py +0 -0
  93. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/mercurial_changeset.py +0 -0
  94. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/mercurial_repository.py +0 -0
  95. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/ref.py +0 -0
  96. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/__init__.py +0 -0
  97. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/fixture.py +0 -0
  98. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_analysis.py +0 -0
  99. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_blob.py +0 -0
  100. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_default_branch.py +0 -0
  101. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_diff.py +0 -0
  102. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
  103. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_mercurial_repository.py +0 -0
  104. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/service/tests/test_ref.py +0 -0
  105. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/servicer.py +0 -0
  106. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/ssh.py +0 -0
  107. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stream.py +0 -0
  108. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/__init__.py +0 -0
  109. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/analysis_pb2.py +0 -0
  110. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
  111. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/blob_pb2.py +0 -0
  112. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/blob_pb2_grpc.py +0 -0
  113. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/commit_pb2_grpc.py +0 -0
  114. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/diff_pb2.py +0 -0
  115. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/diff_pb2_grpc.py +0 -0
  116. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/errors_pb2_grpc.py +0 -0
  117. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/lint_pb2.py +0 -0
  118. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/lint_pb2_grpc.py +0 -0
  119. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
  120. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
  121. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
  122. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
  123. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/mercurial_repository_pb2.py +0 -0
  124. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
  125. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/operations_pb2.py +0 -0
  126. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/operations_pb2_grpc.py +0 -0
  127. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/ref_pb2.py +0 -0
  128. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/ref_pb2_grpc.py +0 -0
  129. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/server_pb2.py +0 -0
  130. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/server_pb2_grpc.py +0 -0
  131. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/shared_pb2.py +0 -0
  132. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/stub/shared_pb2_grpc.py +0 -0
  133. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tag.py +0 -0
  134. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/__init__.py +0 -0
  135. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/bundle.py +0 -0
  136. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/context.py +0 -0
  137. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/data/authorized_keys +0 -0
  138. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/data/backup_additional_no_git.tar +0 -0
  139. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/data/id_ecdsa_user +0 -0
  140. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/data/known_hosts +0 -0
  141. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/data/ssh_host_ecdsa_key +0 -0
  142. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/data/ssh_host_ecdsa_key.pub +0 -0
  143. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/data/sshd_config +0 -0
  144. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/grpc.py +0 -0
  145. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/ssh.py +0 -0
  146. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/sshd.py +0 -0
  147. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/tests/__init__.py +0 -0
  148. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/testing/tests/test_sshd.py +0 -0
  149. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/__init__.py +0 -0
  150. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/common.py +0 -0
  151. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_branch.py +0 -0
  152. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_diff.py +0 -0
  153. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_errors.py +0 -0
  154. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_feature.py +0 -0
  155. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_file_context.py +0 -0
  156. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_gitlab_ref.py +0 -0
  157. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_license_detector.py +0 -0
  158. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_linguist.py +0 -0
  159. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_manifest.py +0 -0
  160. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_messages.py +0 -0
  161. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_oid.py +0 -0
  162. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_peer.py +0 -0
  163. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_repository.py +0 -0
  164. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_revision.py +0 -0
  165. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_revset.py +0 -0
  166. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_servicer.py +0 -0
  167. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_stream.py +0 -0
  168. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_tag.py +0 -0
  169. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/tests/test_workdir.py +0 -0
  170. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/util.py +0 -0
  171. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly/workdir.py +0 -0
  172. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly.egg-info/SOURCES.txt +0 -0
  173. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly.egg-info/dependency_links.txt +0 -0
  174. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly.egg-info/entry_points.txt +0 -0
  175. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly.egg-info/requires.txt +0 -0
  176. {hgitaly-2.6.0 → hgitaly-2.7.1}/hgitaly.egg-info/top_level.txt +0 -0
  177. {hgitaly-2.6.0 → hgitaly-2.7.1}/install-requirements.txt +0 -0
  178. {hgitaly-2.6.0 → hgitaly-2.7.1}/lint +0 -0
  179. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/analysis.proto +0 -0
  180. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/blob.proto +0 -0
  181. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/cleanup.proto +0 -0
  182. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/cluster.proto +0 -0
  183. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/conflicts.proto +0 -0
  184. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/diff.proto +0 -0
  185. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/hook.proto +0 -0
  186. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/internal.proto +0 -0
  187. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/lint.proto +0 -0
  188. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/log.proto +0 -0
  189. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/mercurial-changeset.proto +0 -0
  190. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/mercurial-operations.proto +0 -0
  191. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/mercurial-repository.proto +0 -0
  192. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/namespace.proto +0 -0
  193. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/objectpool.proto +0 -0
  194. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/operations.proto +0 -0
  195. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/packfile.proto +0 -0
  196. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/partition.proto +0 -0
  197. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/praefect.proto +0 -0
  198. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/ref.proto +0 -0
  199. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/remote.proto +0 -0
  200. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/server.proto +0 -0
  201. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/service_config.proto +0 -0
  202. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/shared.proto +0 -0
  203. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/smarthttp.proto +0 -0
  204. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/transaction.proto +0 -0
  205. {hgitaly-2.6.0 → hgitaly-2.7.1}/protos/wiki.proto +0 -0
  206. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/.ruby-version +0 -0
  207. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/Gemfile +0 -0
  208. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/README.md +0 -0
  209. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/generate-grpc-lib +0 -0
  210. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/hgitaly.gemspec +0 -0
  211. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly/mercurial-changeset_pb.rb +0 -0
  212. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly/mercurial-changeset_services_pb.rb +0 -0
  213. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly/mercurial-operations_pb.rb +0 -0
  214. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly/mercurial-operations_services_pb.rb +0 -0
  215. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly/mercurial-repository_pb.rb +0 -0
  216. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly/mercurial-repository_services_pb.rb +0 -0
  217. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/lib/hgitaly.rb +0 -0
  218. {hgitaly-2.6.0 → hgitaly-2.7.1}/ruby/run.rb +0 -0
  219. {hgitaly-2.6.0 → hgitaly-2.7.1}/run-all-tests +0 -0
  220. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/Cargo.lock +0 -0
  221. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/Cargo.toml +0 -0
  222. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/Makefile +0 -0
  223. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/build-from-tarball.sh +0 -0
  224. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/check-line-width +0 -0
  225. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/README.md +0 -0
  226. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/mercurial.patch +0 -0
  227. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/any.proto +0 -0
  228. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/api.proto +0 -0
  229. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/compiler/plugin.proto +0 -0
  230. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/descriptor.proto +0 -0
  231. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/duration.proto +0 -0
  232. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/empty.proto +0 -0
  233. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/field_mask.proto +0 -0
  234. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/source_context.proto +0 -0
  235. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/struct.proto +0 -0
  236. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/timestamp.proto +0 -0
  237. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/type.proto +0 -0
  238. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/dependencies/proto/google/protobuf/wrappers.proto +0 -0
  239. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/go-enry.rev +0 -0
  240. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/lint +0 -0
  241. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/mercurial.rev +0 -0
  242. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/Cargo.toml +0 -0
  243. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/build.rs +0 -0
  244. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/clippy.toml +0 -0
  245. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/config.rs +0 -0
  246. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/errors.rs +0 -0
  247. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/generated/README.md +0 -0
  248. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/git.rs +0 -0
  249. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/gitlab/mod.rs +0 -0
  250. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/gitlab/reference.rs +0 -0
  251. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/gitlab/revision.rs +0 -0
  252. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/gitlab/state.rs +0 -0
  253. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/glob.rs +0 -0
  254. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/lib.rs +0 -0
  255. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/main.rs +0 -0
  256. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/mercurial.rs +0 -0
  257. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/message.rs +0 -0
  258. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/metadata.rs +0 -0
  259. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/oid.rs +0 -0
  260. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/process.rs +0 -0
  261. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/repository.rs +0 -0
  262. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/analysis.rs +0 -0
  263. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/blob.rs +0 -0
  264. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/commit/find_commits.rs +0 -0
  265. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/commit/get_tree_entries.rs +0 -0
  266. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/commit/last_commits.rs +0 -0
  267. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/commit/mod.rs +0 -0
  268. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/commit/tree_entry.rs +0 -0
  269. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/diff.rs +0 -0
  270. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/mercurial_repository.rs +0 -0
  271. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/mod.rs +0 -0
  272. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/ref.rs +0 -0
  273. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/repository.rs +0 -0
  274. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/service/server.rs +0 -0
  275. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/sidecar.rs +0 -0
  276. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/streaming.rs +0 -0
  277. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rhgitaly/src/util.rs +0 -0
  278. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/rs-enry.rev +0 -0
  279. {hgitaly-2.6.0 → hgitaly-2.7.1}/rust/src-tarball.sh +0 -0
  280. {hgitaly-2.6.0 → hgitaly-2.7.1}/setup.cfg +0 -0
  281. {hgitaly-2.6.0 → hgitaly-2.7.1}/setup.py +0 -0
  282. {hgitaly-2.6.0 → hgitaly-2.7.1}/test-requirements.txt +0 -0
  283. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/__init__.py +0 -0
  284. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/comparison.py +0 -0
  285. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/conftest.py +0 -0
  286. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/gitaly.py +0 -0
  287. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
  288. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/rhgitaly.py +0 -0
  289. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_blob_tree.py +0 -0
  290. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_comparison.py +0 -0
  291. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_diff.py +0 -0
  292. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_gitaly_server.py +0 -0
  293. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_mercurial_repository.py +0 -0
  294. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_ref.py +0 -0
  295. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_repository_service.py +0 -0
  296. {hgitaly-2.6.0 → hgitaly-2.7.1}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
@@ -118,3 +118,6 @@ a118debbf0a0deaa94b02ed0007ab2ef0f2b73c3 2.4.0
118
118
  c1b00e1bc1bf0a2d41907b345c48cf795f910a4f 2.5.0
119
119
  136dff98ddc1315e6db9479d9b6dd2c2204c2e5f 2.5.1
120
120
  7dbcba18d83708ff81d8cec9696a86d24ed5d20a 2.5.2
121
+ 3a83836b7408f1318a80f1ba97051086596edd12 2.5.3
122
+ b956f11f1342d8aada221b747ee16e1328037fcd 2.6.0
123
+ fe4e6866234771c53963b6e53b7fedd755eb11d1 2.7.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 2.6.0
3
+ Version: 2.7.1
4
4
  Summary: Server-side implementation of Gitaly protocol for Mercurial
5
5
  Home-page: https://foss.heptapod.net/heptapod/hgitaly
6
6
  Author: Georges Racinet
@@ -0,0 +1 @@
1
+ 2.7.1
@@ -950,6 +950,15 @@ class CommitServicer(CommitServiceServicer, HGitalyServicer):
950
950
  # or [=\n"
951
951
  context.abort(StatusCode.INTERNAL, "Invalid filter: " + str(exc))
952
952
 
953
+ # `skip` has to be interpreted before pagination
954
+ # smartset.slice insists on having a "last" value:
955
+ # it constructs a list internally, which would be a performance
956
+ # issue to skip the first 3 revisions of a million-sized revset.
957
+ # Too bad there is no cheap way to consume the revset as an iterator.
958
+ # Anyway we'd do that in a Rust implementation if ever needed.
959
+ if request.skip > 0:
960
+ revs = revs.slice(request.skip, len(revs))
961
+
953
962
  # according to protocol comment, the page token
954
963
  # is the last commit OID already sent (similar to blob/tree requests)
955
964
  cursor = request.pagination_params.page_token
@@ -285,18 +285,19 @@ class MercurialOperationsServicer(MercurialOperationsServiceServicer,
285
285
  new_oid=current_head_id,
286
286
  )))
287
287
 
288
- if ancestor(to_merge, current_head) == current_head.rev():
288
+ same_branch = to_merge.branch() == current_head.branch()
289
+ linear = ancestor(to_merge, current_head) == current_head.rev()
290
+ if same_branch and linear and not request.semi_linear:
289
291
  # fast-forwardable!
290
- if not request.semi_linear:
291
- logger.info("This is actually a fast-forward, all checks "
292
- "passed, now publishing %r, mirroring to Git=%r",
293
- to_merge, with_hg_git)
294
- self.publish(to_merge, context)
295
- return MergeBranchResponse(
296
- branch_update=OperationBranchUpdate(
297
- commit_id=to_merge.hex().decode('ascii'),
298
- ))
299
- elif request.semi_linear:
292
+ logger.info("This is actually a fast-forward, all checks "
293
+ "passed, now publishing %r, mirroring to Git=%r",
294
+ to_merge, with_hg_git)
295
+ self.publish(to_merge, context)
296
+ return MergeBranchResponse(
297
+ branch_update=OperationBranchUpdate(
298
+ commit_id=to_merge.hex().decode('ascii'),
299
+ ))
300
+ elif request.semi_linear and not linear:
300
301
  structured_abort(
301
302
  context, StatusCode.FAILED_PRECONDITION,
302
303
  "Not fast-forwardable",
@@ -38,6 +38,7 @@ from ..servicer import HGitalyServicer
38
38
 
39
39
  from ..stub.operations_pb2 import (
40
40
  OperationBranchUpdate,
41
+ UserFFBranchError,
41
42
  UserFFBranchRequest,
42
43
  UserFFBranchResponse,
43
44
  UserSquashRequest,
@@ -45,6 +46,7 @@ from ..stub.operations_pb2 import (
45
46
  UserSquashError,
46
47
  )
47
48
  from ..stub.errors_pb2 import (
49
+ ReferenceUpdateError,
48
50
  ResolveRevisionError,
49
51
  )
50
52
  from ..stub.operations_pb2_grpc import OperationServiceServicer
@@ -214,7 +216,17 @@ class OperationServicer(OperationServiceServicer, HGitalyServicer):
214
216
  context.abort(StatusCode.INVALID_ARGUMENT,
215
217
  "cannot resolve expected old object ID: "
216
218
  "reference not found")
217
- return UserFFBranchResponse()
219
+ # no point trying to match the Gitaly error details: we
220
+ # have the much better structured error
221
+ structured_abort(context,
222
+ StatusCode.FAILED_PRECONDITION,
223
+ "expected_old_oid mismatch",
224
+ UserFFBranchError(
225
+ reference_update=ReferenceUpdateError(
226
+ # Gitaly doesn't fill in `reference_name`
227
+ old_oid=old_id,
228
+ new_oid=to_publish.hex().decode('ascii'),
229
+ )))
218
230
 
219
231
  if ancestor(to_publish, current_head) != current_head.rev():
220
232
  context.abort(StatusCode.FAILED_PRECONDITION,
@@ -768,10 +768,12 @@ def render_git_grep_matches(buf, ref, path, enum_lines):
768
768
  :param enum_lines: iterable of pairs `(line_no, line)`
769
769
  """
770
770
  for lineno, line in enum_lines:
771
- buf.write(b'%s:%s\x00%d\x00%s\n' % (ref, path, lineno, line))
771
+ buf.write(b'%s:%s\x00%d\x00%s' % (ref, path, lineno, line))
772
+ if not line.endswith(b'\n'):
773
+ buf.write(b'\n')
772
774
 
773
775
 
774
- SPLITLINES_RX = re.compile(br'(.*?)(\r\n?|\n|\Z)', re.MULTILINE)
776
+ SPLITLINES_RX = re.compile(br'(.*?(\r\n?|\n|\Z))', re.MULTILINE)
775
777
 
776
778
 
777
779
  def grep_file(rx, data, context_width=2):
@@ -11,6 +11,8 @@ from ..servicer import HGitalyServicer
11
11
  from ..stub.server_pb2 import (
12
12
  ServerInfoRequest,
13
13
  ServerInfoResponse,
14
+ ServerSignatureRequest,
15
+ ServerSignatureResponse,
14
16
  )
15
17
  from ..stub.server_pb2_grpc import ServerServiceServicer
16
18
 
@@ -23,3 +25,12 @@ class ServerServicer(ServerServiceServicer, HGitalyServicer):
23
25
  request: ServerInfoRequest,
24
26
  context) -> ServerInfoResponse:
25
27
  return ServerInfoResponse(server_version=__version__)
28
+
29
+ def ServerSignature(self,
30
+ request: ServerSignatureRequest,
31
+ context) -> ServerSignatureResponse:
32
+ # Gitaly's signing key path configuration is optional (defaults to
33
+ # empty string, see `gitaly.toml.example`). We return the same value
34
+ # as Gitaly does in that case, since Mercurial signing is currently
35
+ # not implemented.
36
+ return ServerSignatureResponse()
@@ -1353,6 +1353,7 @@ def test_list_commits(commit_fixture_empty_repo):
1353
1353
 
1354
1354
  assert list_commits(sha4, caret(ctx1)) == [sha4, sha3, sha2]
1355
1355
  assert list_commits(sha4, caret(ctx1), reverse=True) == [sha2, sha3, sha4]
1356
+ assert list_commits(sha4, caret(ctx1), skip=1) == [sha3, sha2]
1356
1357
 
1357
1358
  # limit and page token
1358
1359
  assert list_commits(sha4, limit=2) == [sha4, sha3]
@@ -22,6 +22,7 @@ from hgext3rd.heptapod.branch import (
22
22
  )
23
23
  from heptapod.testhelpers.git import GitRepo
24
24
 
25
+ from hgitaly.changelog import ancestor
25
26
  from hgitaly.errors import (
26
27
  parse_assert_structured_error,
27
28
  )
@@ -459,6 +460,56 @@ def test_merge_branch(operations_fixture, project_mode):
459
460
  assert conflict_error.conflicting_files == [b'foo']
460
461
 
461
462
 
463
+ @parametrize('project_mode', ('hg-git-project',
464
+ 'native-project-without-git',
465
+ 'native-project-with-git',
466
+ ))
467
+ @parametrize('semi_lin_req', ('semi_linear_req', 'classical_req'))
468
+ def test_merge_linear_named_branch(operations_fixture,
469
+ project_mode,
470
+ semi_lin_req):
471
+ fixture = operations_fixture
472
+ merge = fixture.merge_branch
473
+
474
+ fixture.hg_native = project_mode != 'hg-git-project'
475
+ if fixture.hg_native:
476
+ fixture.with_hg_git_mirroring = (
477
+ project_mode == 'native-project-with-git'
478
+ )
479
+ wrapper = fixture.repo_wrapper
480
+
481
+ gl_branch = b'branch/default'
482
+
483
+ # because of the config set by fixture, this leads in all cases to
484
+ # creation of a Git repo and its `branch/default` Git branch
485
+ ctx0 = wrapper.commit_file('foo')
486
+
487
+ linear_branch = b'linear'
488
+ linear_branch_ctx = wrapper.commit_file('foolin',
489
+ branch=linear_branch,
490
+ parent=ctx0)
491
+ # just checking what we just did
492
+ assert ancestor(linear_branch_ctx, ctx0) == ctx0.rev()
493
+
494
+ merge_msg = b"Actual merge for a named branch that makes linear history"
495
+ resp = merge(branch=gl_branch,
496
+ commit_id=linear_branch_ctx.hex().decode('ascii'),
497
+ semi_linear=semi_lin_req == 'semi_linear_req',
498
+ hg_perms=PUBLISH_PERM,
499
+ message=merge_msg)
500
+ wrapper.reload()
501
+
502
+ merge_sha = resp.branch_update.commit_id
503
+ assert merge_sha
504
+ merge_changeset = wrapper.repo[merge_sha.encode()]
505
+ assert merge_changeset.branch() == b'default'
506
+ assert merge_changeset.phase() == phases.public
507
+ assert gitlab_branches(wrapper.repo)[gl_branch] == merge_changeset.hex()
508
+ assert merge_changeset.p1().hex() == ctx0.hex()
509
+ assert merge_changeset.p2().hex() == linear_branch_ctx.hex()
510
+ assert merge_changeset.description() == merge_msg
511
+
512
+
462
513
  @parametrize('project_mode', ('hg-git-project',
463
514
  'native-project-without-git',
464
515
  'native-project-with-git',
@@ -23,7 +23,6 @@ from hgext3rd.heptapod.branch import (
23
23
  from hgitaly.stub.operations_pb2 import (
24
24
  OperationBranchUpdate,
25
25
  UserFFBranchRequest,
26
- UserFFBranchResponse,
27
26
  UserSquashRequest,
28
27
  )
29
28
  from hgitaly.stub.operations_pb2_grpc import (
@@ -256,8 +255,11 @@ def test_user_ff_branch(operations_fixture, project_mode):
256
255
  assert 'parse commit ID' in exc_info.value.details()
257
256
 
258
257
  # old oid mismatch
259
- assert ff_branch(branch=gl_branch, commit_id=sha2,
260
- expected_old_oid=sha0) == UserFFBranchResponse()
258
+ with pytest.raises(RpcError) as exc_info:
259
+ ff_branch(branch=gl_branch, commit_id=sha2, expected_old_oid=sha0)
260
+ assert exc_info.value.code() == StatusCode.FAILED_PRECONDITION
261
+ assert exc_info.value.details() == "expected_old_oid mismatch"
262
+
261
263
  assert fixture.list_refs() == before_refs
262
264
 
263
265
  # Actual call expected to succeed
@@ -772,8 +772,8 @@ def test_search_files_by_content(fixture_with_repo):
772
772
 
773
773
  # more than two lines before match
774
774
  assert search(query="^ba4.c") == [
775
- [b'branch/default:sub/ba4\x002\x00l2',
776
- b'branch/default:sub/ba4\x003\x00l3',
775
+ [b'branch/default:sub/ba4\x002\x00l2\r',
776
+ b'branch/default:sub/ba4\x003\x00l3\r',
777
777
  b'branch/default:sub/ba4\x004\x00ba4 content',
778
778
  b'branch/default:sub/ba4\x005\x00l5',
779
779
  b'',
@@ -784,8 +784,8 @@ def test_search_files_by_content(fixture_with_repo):
784
784
  # two matches, with overlapping context or not
785
785
  assert search(query="^l1|ba4.c") == [
786
786
  [b'branch/default:sub/ba4\x001\x00l1',
787
- b'branch/default:sub/ba4\x002\x00l2',
788
- b'branch/default:sub/ba4\x003\x00l3',
787
+ b'branch/default:sub/ba4\x002\x00l2\r',
788
+ b'branch/default:sub/ba4\x003\x00l3\r',
789
789
  b'branch/default:sub/ba4\x004\x00ba4 content',
790
790
  b'branch/default:sub/ba4\x005\x00l5',
791
791
  b'',
@@ -9,6 +9,7 @@ from pkg_resources import parse_version
9
9
 
10
10
  from hgitaly.stub.server_pb2 import (
11
11
  ServerInfoRequest,
12
+ ServerSignatureRequest,
12
13
  )
13
14
  from hgitaly.stub.server_pb2_grpc import ServerServiceStub
14
15
 
@@ -21,3 +22,10 @@ def test_server_info(grpc_channel):
21
22
  assert version
22
23
  assert re.match(r'\d+[.]\d+[.]\d+',
23
24
  parse_version(version).base_version) is not None
25
+
26
+
27
+ def test_server_signature(grpc_channel):
28
+ grpc_stub = ServerServiceStub(grpc_channel)
29
+
30
+ resp = grpc_stub.ServerSignature(ServerSignatureRequest())
31
+ assert resp.public_key == b''
@@ -0,0 +1,251 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: commit.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from . import errors_pb2 as errors__pb2
15
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
16
+ from . import lint_pb2 as lint__pb2
17
+ from . import shared_pb2 as shared__pb2
18
+
19
+
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x63ommit.proto\x12\x06gitaly\x1a\x0c\x65rrors.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\nlint.proto\x1a\x0cshared.proto\"\xe2\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\x12\x0c\n\x04skip\x18\x0e \x01(\r\"%\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\"w\n\x13GetTreeEntriesError\x12\x34\n\x0cresolve_tree\x18\x01 \x01(\x0b\x32\x1c.gitaly.ResolveRevisionErrorH\x00\x12!\n\x04path\x18\x02 \x01(\x0b\x32\x11.gitaly.PathErrorH\x00\x42\x07\n\x05\x65rror\"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\"\x94\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\x18\n\x0c\x64isable_walk\x18\x08 \x01(\x08\x42\x02\x18\x01\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\"\xba\x01\n\x10\x46indCommitsError\x12,\n\nbad_object\x18\x01 \x01(\x0b\x32\x16.gitaly.BadObjectErrorH\x00\x12\x38\n\rambiguous_ref\x18\x02 \x01(\x0b\x32\x1f.gitaly.AmbiguousReferenceErrorH\x00\x12\x35\n\rinvalid_range\x18\x03 \x01(\x0b\x32\x1c.gitaly.InvalidRevisionRangeH\x00\x42\x07\n\x05\x65rror\"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\"\xb5\x01\n\rRawBlameError\x12\x33\n\x0epath_not_found\x18\x01 \x01(\x0b\x32\x19.gitaly.PathNotFoundErrorH\x00\x12=\n\x0cout_of_range\x18\x02 \x01(\x0b\x32%.gitaly.RawBlameError.OutOfRangeErrorH\x00\x1a\'\n\x0fOutOfRangeError\x12\x14\n\x0c\x61\x63tual_lines\x18\x01 \x01(\x04\x42\x07\n\x05\x65rror\"\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\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\"\x80\x02\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\x12:\n\x06signer\x18\x04 \x01(\x0e\x32*.gitaly.GetCommitSignaturesResponse.Signer\x12$\n\x06\x61uthor\x18\x05 \x01(\x0b\x32\x14.gitaly.CommitAuthor\"D\n\x06Signer\x12\x16\n\x12SIGNER_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSIGNER_USER\x10\x01\x12\x11\n\rSIGNER_SYSTEM\x10\x02\"\\\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')
21
+
22
+ _globals = globals()
23
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
24
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'commit_pb2', _globals)
25
+ if _descriptor._USE_C_DESCRIPTORS == False:
26
+
27
+ DESCRIPTOR._options = None
28
+ DESCRIPTOR._serialized_options = b'Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb'
29
+ _LISTCOMMITSREQUEST.fields_by_name['repository']._options = None
30
+ _LISTCOMMITSREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
31
+ _LISTALLCOMMITSREQUEST.fields_by_name['repository']._options = None
32
+ _LISTALLCOMMITSREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
33
+ _COMMITSTATSREQUEST.fields_by_name['repository']._options = None
34
+ _COMMITSTATSREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
35
+ _COMMITISANCESTORREQUEST.fields_by_name['repository']._options = None
36
+ _COMMITISANCESTORREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
37
+ _TREEENTRYREQUEST.fields_by_name['repository']._options = None
38
+ _TREEENTRYREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
39
+ _COUNTCOMMITSREQUEST.fields_by_name['repository']._options = None
40
+ _COUNTCOMMITSREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
41
+ _COUNTDIVERGINGCOMMITSREQUEST.fields_by_name['repository']._options = None
42
+ _COUNTDIVERGINGCOMMITSREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
43
+ _GETTREEENTRIESREQUEST.fields_by_name['repository']._options = None
44
+ _GETTREEENTRIESREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
45
+ _LISTFILESREQUEST.fields_by_name['repository']._options = None
46
+ _LISTFILESREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
47
+ _FINDCOMMITREQUEST.fields_by_name['repository']._options = None
48
+ _FINDCOMMITREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
49
+ _LISTCOMMITSBYOIDREQUEST.fields_by_name['repository']._options = None
50
+ _LISTCOMMITSBYOIDREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
51
+ _LISTCOMMITSBYREFNAMEREQUEST.fields_by_name['repository']._options = None
52
+ _LISTCOMMITSBYREFNAMEREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
53
+ _FINDALLCOMMITSREQUEST.fields_by_name['repository']._options = None
54
+ _FINDALLCOMMITSREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
55
+ _FINDCOMMITSREQUEST.fields_by_name['repository']._options = None
56
+ _FINDCOMMITSREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
57
+ _FINDCOMMITSREQUEST.fields_by_name['disable_walk']._options = None
58
+ _FINDCOMMITSREQUEST.fields_by_name['disable_walk']._serialized_options = b'\030\001'
59
+ _COMMITLANGUAGESREQUEST.fields_by_name['repository']._options = None
60
+ _COMMITLANGUAGESREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
61
+ _RAWBLAMEREQUEST.fields_by_name['repository']._options = None
62
+ _RAWBLAMEREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
63
+ _LASTCOMMITFORPATHREQUEST.fields_by_name['repository']._options = None
64
+ _LASTCOMMITFORPATHREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
65
+ _LISTLASTCOMMITSFORTREEREQUEST.fields_by_name['repository']._options = None
66
+ _LISTLASTCOMMITSFORTREEREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
67
+ _LISTLASTCOMMITSFORTREEREQUEST.fields_by_name['literal_pathspec']._options = None
68
+ _LISTLASTCOMMITSFORTREEREQUEST.fields_by_name['literal_pathspec']._serialized_options = b'\030\001'
69
+ _COMMITSBYMESSAGEREQUEST.fields_by_name['repository']._options = None
70
+ _COMMITSBYMESSAGEREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
71
+ _FILTERSHASWITHSIGNATURESREQUEST.fields_by_name['repository']._options = None
72
+ _FILTERSHASWITHSIGNATURESREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
73
+ _GETCOMMITSIGNATURESREQUEST.fields_by_name['repository']._options = None
74
+ _GETCOMMITSIGNATURESREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
75
+ _GETCOMMITMESSAGESREQUEST.fields_by_name['repository']._options = None
76
+ _GETCOMMITMESSAGESREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
77
+ _CHECKOBJECTSEXISTREQUEST.fields_by_name['repository']._options = None
78
+ _CHECKOBJECTSEXISTREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
79
+ _COMMITSERVICE.methods_by_name['ListCommits']._options = None
80
+ _COMMITSERVICE.methods_by_name['ListCommits']._serialized_options = b'\372\227(\002\010\002'
81
+ _COMMITSERVICE.methods_by_name['ListAllCommits']._options = None
82
+ _COMMITSERVICE.methods_by_name['ListAllCommits']._serialized_options = b'\372\227(\002\010\002'
83
+ _COMMITSERVICE.methods_by_name['CommitIsAncestor']._options = None
84
+ _COMMITSERVICE.methods_by_name['CommitIsAncestor']._serialized_options = b'\372\227(\002\010\002'
85
+ _COMMITSERVICE.methods_by_name['TreeEntry']._options = None
86
+ _COMMITSERVICE.methods_by_name['TreeEntry']._serialized_options = b'\372\227(\002\010\002'
87
+ _COMMITSERVICE.methods_by_name['CountCommits']._options = None
88
+ _COMMITSERVICE.methods_by_name['CountCommits']._serialized_options = b'\372\227(\002\010\002'
89
+ _COMMITSERVICE.methods_by_name['CountDivergingCommits']._options = None
90
+ _COMMITSERVICE.methods_by_name['CountDivergingCommits']._serialized_options = b'\372\227(\002\010\002'
91
+ _COMMITSERVICE.methods_by_name['GetTreeEntries']._options = None
92
+ _COMMITSERVICE.methods_by_name['GetTreeEntries']._serialized_options = b'\372\227(\002\010\002'
93
+ _COMMITSERVICE.methods_by_name['ListFiles']._options = None
94
+ _COMMITSERVICE.methods_by_name['ListFiles']._serialized_options = b'\372\227(\002\010\002'
95
+ _COMMITSERVICE.methods_by_name['FindCommit']._options = None
96
+ _COMMITSERVICE.methods_by_name['FindCommit']._serialized_options = b'\372\227(\002\010\002'
97
+ _COMMITSERVICE.methods_by_name['CommitStats']._options = None
98
+ _COMMITSERVICE.methods_by_name['CommitStats']._serialized_options = b'\372\227(\002\010\002'
99
+ _COMMITSERVICE.methods_by_name['FindAllCommits']._options = None
100
+ _COMMITSERVICE.methods_by_name['FindAllCommits']._serialized_options = b'\372\227(\002\010\002'
101
+ _COMMITSERVICE.methods_by_name['FindCommits']._options = None
102
+ _COMMITSERVICE.methods_by_name['FindCommits']._serialized_options = b'\372\227(\002\010\002'
103
+ _COMMITSERVICE.methods_by_name['CommitLanguages']._options = None
104
+ _COMMITSERVICE.methods_by_name['CommitLanguages']._serialized_options = b'\372\227(\002\010\002'
105
+ _COMMITSERVICE.methods_by_name['RawBlame']._options = None
106
+ _COMMITSERVICE.methods_by_name['RawBlame']._serialized_options = b'\372\227(\002\010\002'
107
+ _COMMITSERVICE.methods_by_name['LastCommitForPath']._options = None
108
+ _COMMITSERVICE.methods_by_name['LastCommitForPath']._serialized_options = b'\372\227(\002\010\002'
109
+ _COMMITSERVICE.methods_by_name['ListLastCommitsForTree']._options = None
110
+ _COMMITSERVICE.methods_by_name['ListLastCommitsForTree']._serialized_options = b'\372\227(\002\010\002'
111
+ _COMMITSERVICE.methods_by_name['CommitsByMessage']._options = None
112
+ _COMMITSERVICE.methods_by_name['CommitsByMessage']._serialized_options = b'\372\227(\002\010\002'
113
+ _COMMITSERVICE.methods_by_name['ListCommitsByOid']._options = None
114
+ _COMMITSERVICE.methods_by_name['ListCommitsByOid']._serialized_options = b'\372\227(\002\010\002'
115
+ _COMMITSERVICE.methods_by_name['ListCommitsByRefName']._options = None
116
+ _COMMITSERVICE.methods_by_name['ListCommitsByRefName']._serialized_options = b'\372\227(\002\010\002'
117
+ _COMMITSERVICE.methods_by_name['FilterShasWithSignatures']._options = None
118
+ _COMMITSERVICE.methods_by_name['FilterShasWithSignatures']._serialized_options = b'\372\227(\002\010\002'
119
+ _COMMITSERVICE.methods_by_name['GetCommitSignatures']._options = None
120
+ _COMMITSERVICE.methods_by_name['GetCommitSignatures']._serialized_options = b'\372\227(\002\010\002'
121
+ _COMMITSERVICE.methods_by_name['GetCommitMessages']._options = None
122
+ _COMMITSERVICE.methods_by_name['GetCommitMessages']._serialized_options = b'\372\227(\002\010\002'
123
+ _COMMITSERVICE.methods_by_name['CheckObjectsExist']._options = None
124
+ _COMMITSERVICE.methods_by_name['CheckObjectsExist']._serialized_options = b'\372\227(\002\010\002'
125
+ _globals['_LISTCOMMITSREQUEST']._serialized_start=98
126
+ _globals['_LISTCOMMITSREQUEST']._serialized_end=580
127
+ _globals['_LISTCOMMITSREQUEST_ORDER']._serialized_start=543
128
+ _globals['_LISTCOMMITSREQUEST_ORDER']._serialized_end=580
129
+ _globals['_LISTCOMMITSRESPONSE']._serialized_start=582
130
+ _globals['_LISTCOMMITSRESPONSE']._serialized_end=639
131
+ _globals['_LISTALLCOMMITSREQUEST']._serialized_start=641
132
+ _globals['_LISTALLCOMMITSREQUEST']._serialized_end=766
133
+ _globals['_LISTALLCOMMITSRESPONSE']._serialized_start=768
134
+ _globals['_LISTALLCOMMITSRESPONSE']._serialized_end=828
135
+ _globals['_COMMITSTATSREQUEST']._serialized_start=830
136
+ _globals['_COMMITSTATSREQUEST']._serialized_end=914
137
+ _globals['_COMMITSTATSRESPONSE']._serialized_start=916
138
+ _globals['_COMMITSTATSRESPONSE']._serialized_end=988
139
+ _globals['_COMMITISANCESTORREQUEST']._serialized_start=990
140
+ _globals['_COMMITISANCESTORREQUEST']._serialized_end=1100
141
+ _globals['_COMMITISANCESTORRESPONSE']._serialized_start=1102
142
+ _globals['_COMMITISANCESTORRESPONSE']._serialized_end=1143
143
+ _globals['_TREEENTRYREQUEST']._serialized_start=1146
144
+ _globals['_TREEENTRYREQUEST']._serialized_end=1275
145
+ _globals['_TREEENTRYRESPONSE']._serialized_start=1278
146
+ _globals['_TREEENTRYRESPONSE']._serialized_end=1459
147
+ _globals['_TREEENTRYRESPONSE_OBJECTTYPE']._serialized_start=1406
148
+ _globals['_TREEENTRYRESPONSE_OBJECTTYPE']._serialized_end=1459
149
+ _globals['_COUNTCOMMITSREQUEST']._serialized_start=1462
150
+ _globals['_COUNTCOMMITSREQUEST']._serialized_end=1749
151
+ _globals['_COUNTCOMMITSRESPONSE']._serialized_start=1751
152
+ _globals['_COUNTCOMMITSRESPONSE']._serialized_end=1788
153
+ _globals['_COUNTDIVERGINGCOMMITSREQUEST']._serialized_start=1791
154
+ _globals['_COUNTDIVERGINGCOMMITSREQUEST']._serialized_end=1930
155
+ _globals['_COUNTDIVERGINGCOMMITSRESPONSE']._serialized_start=1932
156
+ _globals['_COUNTDIVERGINGCOMMITSRESPONSE']._serialized_end=2004
157
+ _globals['_TREEENTRY']._serialized_start=2007
158
+ _globals['_TREEENTRY']._serialized_end=2202
159
+ _globals['_TREEENTRY_ENTRYTYPE']._serialized_start=2143
160
+ _globals['_TREEENTRY_ENTRYTYPE']._serialized_end=2186
161
+ _globals['_GETTREEENTRIESREQUEST']._serialized_start=2205
162
+ _globals['_GETTREEENTRIESREQUEST']._serialized_end=2498
163
+ _globals['_GETTREEENTRIESREQUEST_SORTBY']._serialized_start=2460
164
+ _globals['_GETTREEENTRIESREQUEST_SORTBY']._serialized_end=2498
165
+ _globals['_GETTREEENTRIESRESPONSE']._serialized_start=2500
166
+ _globals['_GETTREEENTRIESRESPONSE']._serialized_end=2613
167
+ _globals['_GETTREEENTRIESERROR']._serialized_start=2615
168
+ _globals['_GETTREEENTRIESERROR']._serialized_end=2734
169
+ _globals['_LISTFILESREQUEST']._serialized_start=2736
170
+ _globals['_LISTFILESREQUEST']._serialized_end=2818
171
+ _globals['_LISTFILESRESPONSE']._serialized_start=2820
172
+ _globals['_LISTFILESRESPONSE']._serialized_end=2854
173
+ _globals['_FINDCOMMITREQUEST']._serialized_start=2856
174
+ _globals['_FINDCOMMITREQUEST']._serialized_end=2957
175
+ _globals['_FINDCOMMITRESPONSE']._serialized_start=2959
176
+ _globals['_FINDCOMMITRESPONSE']._serialized_end=3014
177
+ _globals['_LISTCOMMITSBYOIDREQUEST']._serialized_start=3016
178
+ _globals['_LISTCOMMITSBYOIDREQUEST']._serialized_end=3100
179
+ _globals['_LISTCOMMITSBYOIDRESPONSE']._serialized_start=3102
180
+ _globals['_LISTCOMMITSBYOIDRESPONSE']._serialized_end=3164
181
+ _globals['_LISTCOMMITSBYREFNAMEREQUEST']._serialized_start=3166
182
+ _globals['_LISTCOMMITSBYREFNAMEREQUEST']._serialized_end=3260
183
+ _globals['_LISTCOMMITSBYREFNAMERESPONSE']._serialized_start=3263
184
+ _globals['_LISTCOMMITSBYREFNAMERESPONSE']._serialized_end=3440
185
+ _globals['_LISTCOMMITSBYREFNAMERESPONSE_COMMITFORREF']._serialized_start=3367
186
+ _globals['_LISTCOMMITSBYREFNAMERESPONSE_COMMITFORREF']._serialized_end=3434
187
+ _globals['_FINDALLCOMMITSREQUEST']._serialized_start=3443
188
+ _globals['_FINDALLCOMMITSREQUEST']._serialized_end=3654
189
+ _globals['_FINDALLCOMMITSREQUEST_ORDER']._serialized_start=543
190
+ _globals['_FINDALLCOMMITSREQUEST_ORDER']._serialized_end=580
191
+ _globals['_FINDALLCOMMITSRESPONSE']._serialized_start=3656
192
+ _globals['_FINDALLCOMMITSRESPONSE']._serialized_end=3716
193
+ _globals['_FINDCOMMITSREQUEST']._serialized_start=3719
194
+ _globals['_FINDCOMMITSREQUEST']._serialized_end=4251
195
+ _globals['_FINDCOMMITSREQUEST_ORDER']._serialized_start=543
196
+ _globals['_FINDCOMMITSREQUEST_ORDER']._serialized_end=570
197
+ _globals['_FINDCOMMITSRESPONSE']._serialized_start=4253
198
+ _globals['_FINDCOMMITSRESPONSE']._serialized_end=4310
199
+ _globals['_FINDCOMMITSERROR']._serialized_start=4313
200
+ _globals['_FINDCOMMITSERROR']._serialized_end=4499
201
+ _globals['_COMMITLANGUAGESREQUEST']._serialized_start=4501
202
+ _globals['_COMMITLANGUAGESREQUEST']._serialized_end=4589
203
+ _globals['_COMMITLANGUAGESRESPONSE']._serialized_start=4592
204
+ _globals['_COMMITLANGUAGESRESPONSE']._serialized_end=4767
205
+ _globals['_COMMITLANGUAGESRESPONSE_LANGUAGE']._serialized_start=4680
206
+ _globals['_COMMITLANGUAGESRESPONSE_LANGUAGE']._serialized_end=4767
207
+ _globals['_RAWBLAMEREQUEST']._serialized_start=4769
208
+ _globals['_RAWBLAMEREQUEST']._serialized_end=4879
209
+ _globals['_RAWBLAMERESPONSE']._serialized_start=4881
210
+ _globals['_RAWBLAMERESPONSE']._serialized_end=4913
211
+ _globals['_RAWBLAMEERROR']._serialized_start=4916
212
+ _globals['_RAWBLAMEERROR']._serialized_end=5097
213
+ _globals['_RAWBLAMEERROR_OUTOFRANGEERROR']._serialized_start=5049
214
+ _globals['_RAWBLAMEERROR_OUTOFRANGEERROR']._serialized_end=5088
215
+ _globals['_LASTCOMMITFORPATHREQUEST']._serialized_start=5100
216
+ _globals['_LASTCOMMITFORPATHREQUEST']._serialized_end=5277
217
+ _globals['_LASTCOMMITFORPATHRESPONSE']._serialized_start=5279
218
+ _globals['_LASTCOMMITFORPATHRESPONSE']._serialized_end=5341
219
+ _globals['_LISTLASTCOMMITSFORTREEREQUEST']._serialized_start=5344
220
+ _globals['_LISTLASTCOMMITSFORTREEREQUEST']._serialized_end=5561
221
+ _globals['_LISTLASTCOMMITSFORTREERESPONSE']._serialized_start=5564
222
+ _globals['_LISTLASTCOMMITSFORTREERESPONSE']._serialized_end=5751
223
+ _globals['_LISTLASTCOMMITSFORTREERESPONSE_COMMITFORTREE']._serialized_start=5669
224
+ _globals['_LISTLASTCOMMITSFORTREERESPONSE_COMMITFORTREE']._serialized_end=5751
225
+ _globals['_COMMITSBYMESSAGEREQUEST']._serialized_start=5754
226
+ _globals['_COMMITSBYMESSAGEREQUEST']._serialized_end=5950
227
+ _globals['_COMMITSBYMESSAGERESPONSE']._serialized_start=5952
228
+ _globals['_COMMITSBYMESSAGERESPONSE']._serialized_end=6014
229
+ _globals['_FILTERSHASWITHSIGNATURESREQUEST']._serialized_start=6016
230
+ _globals['_FILTERSHASWITHSIGNATURESREQUEST']._serialized_end=6109
231
+ _globals['_FILTERSHASWITHSIGNATURESRESPONSE']._serialized_start=6111
232
+ _globals['_FILTERSHASWITHSIGNATURESRESPONSE']._serialized_end=6159
233
+ _globals['_GETCOMMITSIGNATURESREQUEST']._serialized_start=6161
234
+ _globals['_GETCOMMITSIGNATURESREQUEST']._serialized_end=6255
235
+ _globals['_GETCOMMITSIGNATURESRESPONSE']._serialized_start=6258
236
+ _globals['_GETCOMMITSIGNATURESRESPONSE']._serialized_end=6514
237
+ _globals['_GETCOMMITSIGNATURESRESPONSE_SIGNER']._serialized_start=6446
238
+ _globals['_GETCOMMITSIGNATURESRESPONSE_SIGNER']._serialized_end=6514
239
+ _globals['_GETCOMMITMESSAGESREQUEST']._serialized_start=6516
240
+ _globals['_GETCOMMITMESSAGESREQUEST']._serialized_end=6608
241
+ _globals['_GETCOMMITMESSAGESRESPONSE']._serialized_start=6610
242
+ _globals['_GETCOMMITMESSAGESRESPONSE']._serialized_end=6673
243
+ _globals['_CHECKOBJECTSEXISTREQUEST']._serialized_start=6675
244
+ _globals['_CHECKOBJECTSEXISTREQUEST']._serialized_end=6766
245
+ _globals['_CHECKOBJECTSEXISTRESPONSE']._serialized_start=6769
246
+ _globals['_CHECKOBJECTSEXISTRESPONSE']._serialized_end=6919
247
+ _globals['_CHECKOBJECTSEXISTRESPONSE_REVISIONEXISTENCE']._serialized_start=6870
248
+ _globals['_CHECKOBJECTSEXISTRESPONSE_REVISIONEXISTENCE']._serialized_end=6919
249
+ _globals['_COMMITSERVICE']._serialized_start=6922
250
+ _globals['_COMMITSERVICE']._serialized_end=9083
251
+ # @@protoc_insertion_point(module_scope)
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
14
14
  from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
15
15
 
16
16
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x65rrors.proto\x12\x06gitaly\x1a\x1egoogle/protobuf/duration.proto\"]\n\x10\x41\x63\x63\x65ssCheckError\x12\x15\n\rerror_message\x18\x01 \x01(\t\x12\x10\n\x08protocol\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12\x0f\n\x07\x63hanges\x18\x04 \x01(\x0c\"\xae\x02\n\nIndexError\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x30\n\nerror_type\x18\x02 \x01(\x0e\x32\x1c.gitaly.IndexError.ErrorType\"\xdf\x01\n\tErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x45RROR_TYPE_EMPTY_PATH\x10\x01\x12\x1b\n\x17\x45RROR_TYPE_INVALID_PATH\x10\x02\x12\x1f\n\x1b\x45RROR_TYPE_DIRECTORY_EXISTS\x10\x03\x12\"\n\x1e\x45RROR_TYPE_DIRECTORY_TRAVERSAL\x10\x04\x12\x1a\n\x16\x45RROR_TYPE_FILE_EXISTS\x10\x05\x12\x1d\n\x19\x45RROR_TYPE_FILE_NOT_FOUND\x10\x06\"%\n\x15InvalidRefFormatError\x12\x0c\n\x04refs\x18\x02 \x03(\x0c\"C\n\x10NotAncestorError\x12\x17\n\x0fparent_revision\x18\x01 \x01(\x0c\x12\x16\n\x0e\x63hild_revision\x18\x02 \x01(\x0c\"\x1c\n\x1a\x43hangesAlreadyAppliedError\"O\n\x12MergeConflictError\x12\x19\n\x11\x63onflicting_files\x18\x01 \x03(\x0c\x12\x1e\n\x16\x63onflicting_commit_ids\x18\x02 \x03(\t\"%\n\x15ReferencesLockedError\x12\x0c\n\x04refs\x18\x01 \x03(\x0c\";\n\x14ReferenceExistsError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x0b\n\x03oid\x18\x02 \x01(\t\"0\n\x16ReferenceNotFoundError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\"k\n\x1bReferenceStateMismatchError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x1a\n\x12\x65xpected_object_id\x18\x02 \x01(\x0c\x12\x18\n\x10\x61\x63tual_object_id\x18\x03 \x01(\x0c\"P\n\x14ReferenceUpdateError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x0f\n\x07old_oid\x18\x02 \x01(\t\x12\x0f\n\x07new_oid\x18\x03 \x01(\t\"(\n\x14ResolveRevisionError\x12\x10\n\x08revision\x18\x01 \x01(\x0c\"S\n\nLimitError\x12\x15\n\rerror_message\x18\x01 \x01(\t\x12.\n\x0bretry_after\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd8\x01\n\x0f\x43ustomHookError\x12\x0e\n\x06stdout\x18\x01 \x01(\x0c\x12\x0e\n\x06stderr\x18\x02 \x01(\x0c\x12\x33\n\thook_type\x18\x03 \x01(\x0e\x32 .gitaly.CustomHookError.HookType\"p\n\x08HookType\x12\x19\n\x15HOOK_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14HOOK_TYPE_PRERECEIVE\x10\x01\x12\x14\n\x10HOOK_TYPE_UPDATE\x10\x02\x12\x19\n\x15HOOK_TYPE_POSTRECEIVE\x10\x03\"\xf8\x01\n\tPathError\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12/\n\nerror_type\x18\x02 \x01(\x0e\x32\x1b.gitaly.PathError.ErrorType\"\xab\x01\n\tErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x45RROR_TYPE_EMPTY_PATH\x10\x01\x12/\n+ERROR_TYPE_RELATIVE_PATH_ESCAPES_REPOSITORY\x10\x02\x12\x1c\n\x18\x45RROR_TYPE_ABSOLUTE_PATH\x10\x03\x12\x18\n\x14\x45RROR_TYPE_LONG_PATH\x10\x04\"!\n\x11PathNotFoundError\x12\x0c\n\x04path\x18\x01 \x01(\x0c\",\n\x17\x41mbiguousReferenceError\x12\x11\n\treference\x18\x01 \x01(\x0c\"!\n\x0e\x42\x61\x64ObjectError\x12\x0f\n\x07\x62\x61\x64_oid\x18\x01 \x01(\x0c\"%\n\x14InvalidRevisionRange\x12\r\n\x05range\x18\x01 \x01(\x0c\x42\x34Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3')
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0c\x65rrors.proto\x12\x06gitaly\x1a\x1egoogle/protobuf/duration.proto\"]\n\x10\x41\x63\x63\x65ssCheckError\x12\x15\n\rerror_message\x18\x01 \x01(\t\x12\x10\n\x08protocol\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12\x0f\n\x07\x63hanges\x18\x04 \x01(\x0c\"\xae\x02\n\nIndexError\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12\x30\n\nerror_type\x18\x02 \x01(\x0e\x32\x1c.gitaly.IndexError.ErrorType\"\xdf\x01\n\tErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x45RROR_TYPE_EMPTY_PATH\x10\x01\x12\x1b\n\x17\x45RROR_TYPE_INVALID_PATH\x10\x02\x12\x1f\n\x1b\x45RROR_TYPE_DIRECTORY_EXISTS\x10\x03\x12\"\n\x1e\x45RROR_TYPE_DIRECTORY_TRAVERSAL\x10\x04\x12\x1a\n\x16\x45RROR_TYPE_FILE_EXISTS\x10\x05\x12\x1d\n\x19\x45RROR_TYPE_FILE_NOT_FOUND\x10\x06\"%\n\x15InvalidRefFormatError\x12\x0c\n\x04refs\x18\x02 \x03(\x0c\"C\n\x10NotAncestorError\x12\x17\n\x0fparent_revision\x18\x01 \x01(\x0c\x12\x16\n\x0e\x63hild_revision\x18\x02 \x01(\x0c\"\x1c\n\x1a\x43hangesAlreadyAppliedError\"O\n\x12MergeConflictError\x12\x19\n\x11\x63onflicting_files\x18\x01 \x03(\x0c\x12\x1e\n\x16\x63onflicting_commit_ids\x18\x02 \x03(\t\"%\n\x15ReferencesLockedError\x12\x0c\n\x04refs\x18\x01 \x03(\x0c\";\n\x14ReferenceExistsError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x0b\n\x03oid\x18\x02 \x01(\t\"0\n\x16ReferenceNotFoundError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\"k\n\x1bReferenceStateMismatchError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x1a\n\x12\x65xpected_object_id\x18\x02 \x01(\x0c\x12\x18\n\x10\x61\x63tual_object_id\x18\x03 \x01(\x0c\"P\n\x14ReferenceUpdateError\x12\x16\n\x0ereference_name\x18\x01 \x01(\x0c\x12\x0f\n\x07old_oid\x18\x02 \x01(\t\x12\x0f\n\x07new_oid\x18\x03 \x01(\t\"(\n\x14ResolveRevisionError\x12\x10\n\x08revision\x18\x01 \x01(\x0c\"S\n\nLimitError\x12\x15\n\rerror_message\x18\x01 \x01(\t\x12.\n\x0bretry_after\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xd8\x01\n\x0f\x43ustomHookError\x12\x0e\n\x06stdout\x18\x01 \x01(\x0c\x12\x0e\n\x06stderr\x18\x02 \x01(\x0c\x12\x33\n\thook_type\x18\x03 \x01(\x0e\x32 .gitaly.CustomHookError.HookType\"p\n\x08HookType\x12\x19\n\x15HOOK_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14HOOK_TYPE_PRERECEIVE\x10\x01\x12\x14\n\x10HOOK_TYPE_UPDATE\x10\x02\x12\x19\n\x15HOOK_TYPE_POSTRECEIVE\x10\x03\"\xf8\x01\n\tPathError\x12\x0c\n\x04path\x18\x01 \x01(\x0c\x12/\n\nerror_type\x18\x02 \x01(\x0e\x32\x1b.gitaly.PathError.ErrorType\"\xab\x01\n\tErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x45RROR_TYPE_EMPTY_PATH\x10\x01\x12/\n+ERROR_TYPE_RELATIVE_PATH_ESCAPES_REPOSITORY\x10\x02\x12\x1c\n\x18\x45RROR_TYPE_ABSOLUTE_PATH\x10\x03\x12\x18\n\x14\x45RROR_TYPE_LONG_PATH\x10\x04\"!\n\x11PathNotFoundError\x12\x0c\n\x04path\x18\x01 \x01(\x0c\",\n\x17\x41mbiguousReferenceError\x12\x11\n\treference\x18\x01 \x01(\x0c\"!\n\x0e\x42\x61\x64ObjectError\x12\x0f\n\x07\x62\x61\x64_oid\x18\x01 \x01(\x0c\"%\n\x14InvalidRevisionRange\x12\r\n\x05range\x18\x01 \x01(\x0c\"\x15\n\x13RemoteNotFoundErrorB4Z2gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypbb\x06proto3')
18
18
 
19
19
  _globals = globals()
20
20
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -67,4 +67,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
67
67
  _globals['_BADOBJECTERROR']._serialized_end=1727
68
68
  _globals['_INVALIDREVISIONRANGE']._serialized_start=1729
69
69
  _globals['_INVALIDREVISIONRANGE']._serialized_end=1766
70
+ _globals['_REMOTENOTFOUNDERROR']._serialized_start=1768
71
+ _globals['_REMOTENOTFOUNDERROR']._serialized_end=1789
70
72
  # @@protoc_insertion_point(module_scope)