hgitaly 18.4.0__tar.gz → 18.5.0.dev0__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 (171) hide show
  1. {hgitaly-18.4.0/hgitaly.egg-info → hgitaly-18.5.0.dev0}/PKG-INFO +3 -3
  2. hgitaly-18.5.0.dev0/hgitaly/VERSION +1 -0
  3. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_aux_git_pb2.py +12 -3
  4. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_aux_git_pb2_grpc.py +45 -0
  5. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0/hgitaly.egg-info}/PKG-INFO +3 -3
  6. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly.egg-info/requires.txt +2 -2
  7. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/install-requirements.txt +2 -2
  8. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_mercurial_aux_git.py +42 -0
  9. hgitaly-18.4.0/hgitaly/VERSION +0 -1
  10. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/LICENSE +0 -0
  11. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/MANIFEST.in +0 -0
  12. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/README.md +0 -0
  13. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgext3rd/__init__.py +0 -0
  14. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgext3rd/hgitaly/__init__.py +0 -0
  15. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgext3rd/hgitaly/revset.py +0 -0
  16. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgext3rd/hgitaly/tests/__init__.py +0 -0
  17. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
  18. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
  19. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/__init__.py +0 -0
  20. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/branch.py +0 -0
  21. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/changelog.py +0 -0
  22. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/diff.py +0 -0
  23. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/errors.py +0 -0
  24. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/feature.py +0 -0
  25. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/file_content.py +0 -0
  26. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/file_context.py +0 -0
  27. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/git.py +0 -0
  28. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/gitlab_ref.py +0 -0
  29. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/identification.py +0 -0
  30. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/logging.py +0 -0
  31. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/manifest.py +0 -0
  32. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/message.py +0 -0
  33. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/oid.py +0 -0
  34. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/pagination.py +0 -0
  35. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/path.py +0 -0
  36. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/peer.py +0 -0
  37. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/procutil.py +0 -0
  38. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/repository.py +0 -0
  39. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/revision.py +0 -0
  40. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/revset.py +0 -0
  41. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/scripts.py +0 -0
  42. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/__init__.py +0 -0
  43. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/address.py +0 -0
  44. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/mono.py +0 -0
  45. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/prefork.py +0 -0
  46. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/tests/__init__.py +0 -0
  47. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/tests/test_address.py +0 -0
  48. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/tests/test_mono.py +0 -0
  49. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/tests/test_prefork.py +0 -0
  50. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/tests/test_worker.py +0 -0
  51. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/server/worker.py +0 -0
  52. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/__init__.py +0 -0
  53. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/analysis.py +0 -0
  54. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/blob.py +0 -0
  55. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/commit.py +0 -0
  56. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/diff.py +0 -0
  57. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/interceptors.py +0 -0
  58. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/mercurial_changeset.py +0 -0
  59. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/mercurial_operations.py +0 -0
  60. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/mercurial_repository.py +0 -0
  61. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/operations.py +0 -0
  62. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/ref.py +0 -0
  63. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/repository.py +0 -0
  64. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/server.py +0 -0
  65. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/__init__.py +0 -0
  66. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/fixture.py +0 -0
  67. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_analysis.py +0 -0
  68. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_blob.py +0 -0
  69. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_commit.py +0 -0
  70. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_default_branch.py +0 -0
  71. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_diff.py +0 -0
  72. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
  73. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_mercurial_operations.py +0 -0
  74. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_mercurial_repository.py +0 -0
  75. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_operations.py +0 -0
  76. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_ref.py +0 -0
  77. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_repository_service.py +0 -0
  78. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/service/tests/test_server.py +0 -0
  79. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/servicer.py +0 -0
  80. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/ssh.py +0 -0
  81. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stream.py +0 -0
  82. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/__init__.py +0 -0
  83. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/analysis_pb2.py +0 -0
  84. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
  85. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/blob_pb2.py +0 -0
  86. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/blob_pb2_grpc.py +0 -0
  87. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/commit_pb2.py +0 -0
  88. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/commit_pb2_grpc.py +0 -0
  89. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/diff_pb2.py +0 -0
  90. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/diff_pb2_grpc.py +0 -0
  91. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/errors_pb2.py +0 -0
  92. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/errors_pb2_grpc.py +0 -0
  93. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/lint_pb2.py +0 -0
  94. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/lint_pb2_grpc.py +0 -0
  95. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
  96. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
  97. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
  98. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
  99. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_repository_pb2.py +0 -0
  100. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
  101. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/operations_pb2.py +0 -0
  102. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/operations_pb2_grpc.py +0 -0
  103. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/ref_pb2.py +0 -0
  104. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/ref_pb2_grpc.py +0 -0
  105. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/remote_pb2.py +0 -0
  106. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/remote_pb2_grpc.py +0 -0
  107. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/repository_pb2.py +0 -0
  108. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/repository_pb2_grpc.py +0 -0
  109. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/server_pb2.py +0 -0
  110. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/server_pb2_grpc.py +0 -0
  111. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/shared_pb2.py +0 -0
  112. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/stub/shared_pb2_grpc.py +0 -0
  113. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tag.py +0 -0
  114. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/__init__.py +0 -0
  115. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/bundle.py +0 -0
  116. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/context.py +0 -0
  117. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/grpc.py +0 -0
  118. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/multiprocessing.py +0 -0
  119. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/repo.py +0 -0
  120. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/ssh.py +0 -0
  121. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/sshd.py +0 -0
  122. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/storage.py +0 -0
  123. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/tests/__init__.py +0 -0
  124. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/testing/tests/test_sshd.py +0 -0
  125. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/__init__.py +0 -0
  126. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/common.py +0 -0
  127. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_branch.py +0 -0
  128. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_diff.py +0 -0
  129. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_errors.py +0 -0
  130. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_feature.py +0 -0
  131. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_file_context.py +0 -0
  132. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_gitlab_ref.py +0 -0
  133. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_identification.py +0 -0
  134. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_manifest.py +0 -0
  135. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_messages.py +0 -0
  136. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_oid.py +0 -0
  137. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_peer.py +0 -0
  138. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_repository.py +0 -0
  139. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_revision.py +0 -0
  140. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_revset.py +0 -0
  141. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_servicer.py +0 -0
  142. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_stream.py +0 -0
  143. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_tag.py +0 -0
  144. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/tests/test_workdir.py +0 -0
  145. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/util.py +0 -0
  146. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly/workdir.py +0 -0
  147. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly.egg-info/SOURCES.txt +0 -0
  148. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly.egg-info/dependency_links.txt +0 -0
  149. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly.egg-info/entry_points.txt +0 -0
  150. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/hgitaly.egg-info/top_level.txt +0 -0
  151. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/setup.cfg +0 -0
  152. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/setup.py +0 -0
  153. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/__init__.py +0 -0
  154. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/comparison.py +0 -0
  155. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/conftest.py +0 -0
  156. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/gitaly.py +0 -0
  157. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
  158. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/rhgitaly.py +0 -0
  159. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_blob_tree.py +0 -0
  160. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_commit.py +0 -0
  161. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_comparison.py +0 -0
  162. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_diff.py +0 -0
  163. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_gitaly_server.py +0 -0
  164. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_mercurial_operations.py +0 -0
  165. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_mercurial_repository.py +0 -0
  166. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_operations.py +0 -0
  167. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_ref.py +0 -0
  168. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_remote.py +0 -0
  169. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_repository_service.py +0 -0
  170. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
  171. {hgitaly-18.4.0 → hgitaly-18.5.0.dev0}/tests_with_gitaly/test_server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 18.4.0
3
+ Version: 18.5.0.dev0
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
@@ -12,8 +12,8 @@ Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
13
  Requires-Dist: heptapod>=5.3.0dev0
14
14
  Requires-Dist: protobuf~=6.31.1
15
- Requires-Dist: grpcio~=1.74.0
16
- Requires-Dist: grpcio-status~=1.74.0
15
+ Requires-Dist: grpcio~=1.75.0
16
+ Requires-Dist: grpcio-status~=1.75.0
17
17
  Requires-Dist: grpc-interceptor
18
18
  Requires-Dist: grpcio-health-checking
19
19
  Requires-Dist: hg-loggingmod>=0.4.1
@@ -0,0 +1 @@
1
+ 18.5.0dev0
@@ -24,21 +24,30 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
  from . import lint_pb2 as lint__pb2
26
26
  from . import repository_pb2 as repository__pb2
27
+ from . import shared_pb2 as shared__pb2
27
28
 
28
29
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17mercurial-aux-git.proto\x12\x07hgitaly\x1a\nlint.proto\x1a\x10repository.proto2\xcd\x02\n\x16MercurialAuxGitService\x12Y\n\x12\x41uxGitCreateBundle\x12\x1b.gitaly.CreateBundleRequest\x1a\x1c.gitaly.CreateBundleResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12y\n\x16\x41uxGitCreateFromBundle\x12).gitaly.CreateRepositoryFromBundleRequest\x1a*.gitaly.CreateRepositoryFromBundleResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x12]\n\x14\x41uxGitRepositorySize\x12\x1d.gitaly.RepositorySizeRequest\x1a\x1e.gitaly.RepositorySizeResponse\"\x06\xfa\x97(\x02\x08\x01\x62\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17mercurial-aux-git.proto\x12\x07hgitaly\x1a\nlint.proto\x1a\x10repository.proto\x1a\x0cshared.proto\"h\n\x1a\x41uxGitCommitMappingRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0b\n\x03ids\x18\x02 \x03(\t\x12\x0f\n\x07reverse\x18\x03 \x01(\x08\"*\n\x1b\x41uxGitCommitMappingResponse\x12\x0b\n\x03ids\x18\x02 \x03(\t2\xb7\x03\n\x16MercurialAuxGitService\x12Y\n\x12\x41uxGitCreateBundle\x12\x1b.gitaly.CreateBundleRequest\x1a\x1c.gitaly.CreateBundleResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12y\n\x16\x41uxGitCreateFromBundle\x12).gitaly.CreateRepositoryFromBundleRequest\x1a*.gitaly.CreateRepositoryFromBundleResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x12]\n\x14\x41uxGitRepositorySize\x12\x1d.gitaly.RepositorySizeRequest\x1a\x1e.gitaly.RepositorySizeResponse\"\x06\xfa\x97(\x02\x08\x01\x12h\n\x13\x41uxGitCommitMapping\x12#.hgitaly.AuxGitCommitMappingRequest\x1a$.hgitaly.AuxGitCommitMappingResponse\"\x06\xfa\x97(\x02\x08\x02\x62\x06proto3')
30
31
 
31
32
  _globals = globals()
32
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
34
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mercurial_aux_git_pb2', _globals)
34
35
  if not _descriptor._USE_C_DESCRIPTORS:
35
36
  DESCRIPTOR._loaded_options = None
37
+ _globals['_AUXGITCOMMITMAPPINGREQUEST'].fields_by_name['repository']._loaded_options = None
38
+ _globals['_AUXGITCOMMITMAPPINGREQUEST'].fields_by_name['repository']._serialized_options = b'\230\306,\001'
36
39
  _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitCreateBundle']._loaded_options = None
37
40
  _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitCreateBundle']._serialized_options = b'\372\227(\002\010\002'
38
41
  _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitCreateFromBundle']._loaded_options = None
39
42
  _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitCreateFromBundle']._serialized_options = b'\372\227(\002\010\001'
40
43
  _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitRepositorySize']._loaded_options = None
41
44
  _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitRepositorySize']._serialized_options = b'\372\227(\002\010\001'
42
- _globals['_MERCURIALAUXGITSERVICE']._serialized_start=67
43
- _globals['_MERCURIALAUXGITSERVICE']._serialized_end=400
45
+ _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitCommitMapping']._loaded_options = None
46
+ _globals['_MERCURIALAUXGITSERVICE'].methods_by_name['AuxGitCommitMapping']._serialized_options = b'\372\227(\002\010\002'
47
+ _globals['_AUXGITCOMMITMAPPINGREQUEST']._serialized_start=80
48
+ _globals['_AUXGITCOMMITMAPPINGREQUEST']._serialized_end=184
49
+ _globals['_AUXGITCOMMITMAPPINGRESPONSE']._serialized_start=186
50
+ _globals['_AUXGITCOMMITMAPPINGRESPONSE']._serialized_end=228
51
+ _globals['_MERCURIALAUXGITSERVICE']._serialized_start=231
52
+ _globals['_MERCURIALAUXGITSERVICE']._serialized_end=670
44
53
  # @@protoc_insertion_point(module_scope)
@@ -3,6 +3,7 @@
3
3
  import grpc
4
4
  import warnings
5
5
 
6
+ from . import mercurial_aux_git_pb2 as mercurial__aux__git__pb2
6
7
  from . import repository_pb2 as repository__pb2
7
8
 
8
9
  GRPC_GENERATED_VERSION = '1.74.0'
@@ -54,6 +55,11 @@ class MercurialAuxGitServiceStub(object):
54
55
  request_serializer=repository__pb2.RepositorySizeRequest.SerializeToString,
55
56
  response_deserializer=repository__pb2.RepositorySizeResponse.FromString,
56
57
  _registered_method=True)
58
+ self.AuxGitCommitMapping = channel.unary_unary(
59
+ '/hgitaly.MercurialAuxGitService/AuxGitCommitMapping',
60
+ request_serializer=mercurial__aux__git__pb2.AuxGitCommitMappingRequest.SerializeToString,
61
+ response_deserializer=mercurial__aux__git__pb2.AuxGitCommitMappingResponse.FromString,
62
+ _registered_method=True)
57
63
 
58
64
 
59
65
  class MercurialAuxGitServiceServicer(object):
@@ -82,6 +88,13 @@ class MercurialAuxGitServiceServicer(object):
82
88
  context.set_details('Method not implemented!')
83
89
  raise NotImplementedError('Method not implemented!')
84
90
 
91
+ def AuxGitCommitMapping(self, request, context):
92
+ """/ Resolve Mercurial commit ID from Git commit ID and conversely
93
+ """
94
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
95
+ context.set_details('Method not implemented!')
96
+ raise NotImplementedError('Method not implemented!')
97
+
85
98
 
86
99
  def add_MercurialAuxGitServiceServicer_to_server(servicer, server):
87
100
  rpc_method_handlers = {
@@ -100,6 +113,11 @@ def add_MercurialAuxGitServiceServicer_to_server(servicer, server):
100
113
  request_deserializer=repository__pb2.RepositorySizeRequest.FromString,
101
114
  response_serializer=repository__pb2.RepositorySizeResponse.SerializeToString,
102
115
  ),
116
+ 'AuxGitCommitMapping': grpc.unary_unary_rpc_method_handler(
117
+ servicer.AuxGitCommitMapping,
118
+ request_deserializer=mercurial__aux__git__pb2.AuxGitCommitMappingRequest.FromString,
119
+ response_serializer=mercurial__aux__git__pb2.AuxGitCommitMappingResponse.SerializeToString,
120
+ ),
103
121
  }
104
122
  generic_handler = grpc.method_handlers_generic_handler(
105
123
  'hgitaly.MercurialAuxGitService', rpc_method_handlers)
@@ -196,3 +214,30 @@ class MercurialAuxGitService(object):
196
214
  timeout,
197
215
  metadata,
198
216
  _registered_method=True)
217
+
218
+ @staticmethod
219
+ def AuxGitCommitMapping(request,
220
+ target,
221
+ options=(),
222
+ channel_credentials=None,
223
+ call_credentials=None,
224
+ insecure=False,
225
+ compression=None,
226
+ wait_for_ready=None,
227
+ timeout=None,
228
+ metadata=None):
229
+ return grpc.experimental.unary_unary(
230
+ request,
231
+ target,
232
+ '/hgitaly.MercurialAuxGitService/AuxGitCommitMapping',
233
+ mercurial__aux__git__pb2.AuxGitCommitMappingRequest.SerializeToString,
234
+ mercurial__aux__git__pb2.AuxGitCommitMappingResponse.FromString,
235
+ options,
236
+ channel_credentials,
237
+ insecure,
238
+ call_credentials,
239
+ compression,
240
+ wait_for_ready,
241
+ timeout,
242
+ metadata,
243
+ _registered_method=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 18.4.0
3
+ Version: 18.5.0.dev0
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
@@ -12,8 +12,8 @@ Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
13
  Requires-Dist: heptapod>=5.3.0dev0
14
14
  Requires-Dist: protobuf~=6.31.1
15
- Requires-Dist: grpcio~=1.74.0
16
- Requires-Dist: grpcio-status~=1.74.0
15
+ Requires-Dist: grpcio~=1.75.0
16
+ Requires-Dist: grpcio-status~=1.75.0
17
17
  Requires-Dist: grpc-interceptor
18
18
  Requires-Dist: grpcio-health-checking
19
19
  Requires-Dist: hg-loggingmod>=0.4.1
@@ -1,7 +1,7 @@
1
1
  heptapod>=5.3.0dev0
2
2
  protobuf~=6.31.1
3
- grpcio~=1.74.0
4
- grpcio-status~=1.74.0
3
+ grpcio~=1.75.0
4
+ grpcio-status~=1.75.0
5
5
  grpc-interceptor
6
6
  grpcio-health-checking
7
7
  hg-loggingmod>=0.4.1
@@ -1,7 +1,7 @@
1
1
  heptapod>=5.3.0dev0
2
2
  protobuf~=6.31.1
3
- grpcio~=1.74.0
4
- grpcio-status~=1.74.0
3
+ grpcio~=1.75.0
4
+ grpcio-status~=1.75.0
5
5
  grpc-interceptor
6
6
  grpcio-health-checking
7
7
  hg-loggingmod>=0.4.1
@@ -6,6 +6,9 @@ from hgitaly.stub.repository_pb2 import (
6
6
  CreateRepositoryFromBundleRequest,
7
7
  RepositorySizeRequest,
8
8
  )
9
+ from hgitaly.stub.mercurial_aux_git_pb2 import (
10
+ AuxGitCommitMappingRequest,
11
+ )
9
12
  from hgitaly.stub.mercurial_aux_git_pb2_grpc import MercurialAuxGitServiceStub
10
13
  from hgitaly.testing.storage import stowed_away_git_repo_path
11
14
 
@@ -98,3 +101,42 @@ def test_repository_size(gitaly_rhgitaly_comparison_native):
98
101
  )
99
102
  # results may vary according to how system reports size of small files
100
103
  assert rpc_helper.rpc('hg').size > 20
104
+
105
+
106
+ def test_commit_mapping(gitaly_rhgitaly_comparison_native):
107
+ fixture = gitaly_rhgitaly_comparison_native
108
+ wrapper = fixture.hg_repo_wrapper
109
+ src_git_repo = fixture.git_repo
110
+ cs0 = wrapper.write_commit('foo')
111
+ hg_sha0 = cs0.hex().decode()
112
+ cs1 = wrapper.write_commit('bar', parent=cs0, branch='other')
113
+ hg_sha1 = cs1.hex().decode()
114
+ wrapper.command('hpd-export-native-to-git')
115
+ # export worked
116
+ git_branches = src_git_repo.branches()
117
+ assert set(git_branches) == {b'branch/default', b'branch/other'}
118
+ git_sha0 = git_branches[b'branch/default']['sha'].decode()
119
+ git_sha1 = git_branches[b'branch/other']['sha'].decode()
120
+
121
+ rpc_helper = fixture.rpc_helper(
122
+ hg_server='rhgitaly',
123
+ stub_cls=MercurialAuxGitServiceStub,
124
+ method_name='AuxGitCommitMapping',
125
+ request_cls=AuxGitCommitMappingRequest,
126
+ )
127
+
128
+ unknown = '12fe34ca' * 5
129
+
130
+ def rpc(*ids, **kw):
131
+ return rpc_helper.rpc('hg', ids=ids, **kw).ids
132
+
133
+ assert rpc(git_sha0) == [hg_sha0]
134
+ assert rpc(git_sha1, git_sha0) == [hg_sha1, hg_sha0]
135
+ assert rpc(git_sha0, git_sha0) == [hg_sha0, hg_sha0]
136
+ assert rpc(git_sha0, git_sha1) == [hg_sha0, hg_sha1]
137
+ assert rpc(hg_sha0, hg_sha1, reverse=True) == [git_sha0, git_sha1]
138
+
139
+ assert rpc(unknown) == ['']
140
+ assert rpc(unknown, reverse=True) == ['']
141
+ assert rpc(git_sha0, unknown) == [hg_sha0, '']
142
+ assert rpc(unknown, git_sha0) == ['', hg_sha0]
@@ -1 +0,0 @@
1
- 18.4.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes