hgitaly 17.11.2__tar.gz → 17.11.4__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 (308) hide show
  1. {hgitaly-17.11.2 → hgitaly-17.11.4}/.hgtags +3 -0
  2. {hgitaly-17.11.2 → hgitaly-17.11.4}/PKG-INFO +1 -1
  3. hgitaly-17.11.4/hgitaly/VERSION +1 -0
  4. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/scripts.py +2 -0
  5. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/commit.py +20 -1
  6. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_commit.py +29 -3
  7. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/ssh.py +1 -0
  8. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly.egg-info/PKG-INFO +1 -1
  9. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/Cargo.lock +483 -29
  10. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/Cargo.toml +2 -0
  11. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/remote.rs +125 -1
  12. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_commit.py +28 -0
  13. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_remote.py +37 -0
  14. hgitaly-17.11.2/hgitaly/VERSION +0 -1
  15. {hgitaly-17.11.2 → hgitaly-17.11.4}/.coveragerc +0 -0
  16. {hgitaly-17.11.2 → hgitaly-17.11.4}/.gitlab-ci.yml +0 -0
  17. {hgitaly-17.11.2 → hgitaly-17.11.4}/.hgignore +0 -0
  18. {hgitaly-17.11.2 → hgitaly-17.11.4}/LICENSE +0 -0
  19. {hgitaly-17.11.2 → hgitaly-17.11.4}/MANIFEST.in +0 -0
  20. {hgitaly-17.11.2 → hgitaly-17.11.4}/README.md +0 -0
  21. {hgitaly-17.11.2 → hgitaly-17.11.4}/ci/heptapod-sftp-push +0 -0
  22. {hgitaly-17.11.2 → hgitaly-17.11.4}/ci/heptapod-sign-package +0 -0
  23. {hgitaly-17.11.2 → hgitaly-17.11.4}/ci/heptapod_known_hosts.ssh +0 -0
  24. {hgitaly-17.11.2 → hgitaly-17.11.4}/ci/upload-rhgitaly +0 -0
  25. {hgitaly-17.11.2 → hgitaly-17.11.4}/conftest.py +0 -0
  26. {hgitaly-17.11.2 → hgitaly-17.11.4}/dev-requirements.txt +0 -0
  27. {hgitaly-17.11.2 → hgitaly-17.11.4}/examples/client.py +0 -0
  28. {hgitaly-17.11.2 → hgitaly-17.11.4}/examples/client_list_lcft.py +0 -0
  29. {hgitaly-17.11.2 → hgitaly-17.11.4}/generate-stubs +0 -0
  30. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgext3rd/__init__.py +0 -0
  31. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgext3rd/hgitaly/__init__.py +0 -0
  32. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgext3rd/hgitaly/revset.py +0 -0
  33. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgext3rd/hgitaly/tests/__init__.py +0 -0
  34. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
  35. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
  36. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/__init__.py +0 -0
  37. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/branch.py +0 -0
  38. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/changelog.py +0 -0
  39. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/diff.py +0 -0
  40. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/errors.py +0 -0
  41. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/feature.py +0 -0
  42. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/file_content.py +0 -0
  43. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/file_context.py +0 -0
  44. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/git.py +0 -0
  45. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/gitlab_ref.py +0 -0
  46. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/identification.py +0 -0
  47. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/license_detector/GPL-2.sample +0 -0
  48. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/license_detector/__init__.py +0 -0
  49. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/license_detector/spdx-licenses.json +0 -0
  50. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/linguist/__init__.py +0 -0
  51. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/linguist/languages.json +0 -0
  52. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/logging.py +0 -0
  53. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/manifest.py +0 -0
  54. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/message.py +0 -0
  55. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/oid.py +0 -0
  56. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/pagination.py +0 -0
  57. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/path.py +0 -0
  58. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/peer.py +0 -0
  59. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/procutil.py +0 -0
  60. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/repository.py +0 -0
  61. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/revision.py +0 -0
  62. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/revset.py +0 -0
  63. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/__init__.py +0 -0
  64. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/address.py +0 -0
  65. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/mono.py +0 -0
  66. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/prefork.py +0 -0
  67. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/tests/__init__.py +0 -0
  68. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/tests/test_address.py +0 -0
  69. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/tests/test_mono.py +0 -0
  70. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/tests/test_prefork.py +0 -0
  71. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/tests/test_worker.py +0 -0
  72. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/server/worker.py +0 -0
  73. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/__init__.py +0 -0
  74. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/analysis.py +0 -0
  75. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/blob.py +0 -0
  76. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/diff.py +0 -0
  77. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/interceptors.py +0 -0
  78. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/mercurial_changeset.py +0 -0
  79. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/mercurial_operations.py +0 -0
  80. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/mercurial_repository.py +0 -0
  81. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/operations.py +0 -0
  82. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/ref.py +0 -0
  83. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/repository.py +0 -0
  84. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/server.py +0 -0
  85. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/__init__.py +0 -0
  86. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/fixture.py +0 -0
  87. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_analysis.py +0 -0
  88. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_blob.py +0 -0
  89. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_default_branch.py +0 -0
  90. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_diff.py +0 -0
  91. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
  92. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_mercurial_operations.py +0 -0
  93. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_mercurial_repository.py +0 -0
  94. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_operations.py +0 -0
  95. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_ref.py +0 -0
  96. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_repository_service.py +0 -0
  97. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/service/tests/test_server.py +0 -0
  98. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/servicer.py +0 -0
  99. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/ssh.py +0 -0
  100. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stream.py +0 -0
  101. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/__init__.py +0 -0
  102. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/analysis_pb2.py +0 -0
  103. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
  104. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/blob_pb2.py +0 -0
  105. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/blob_pb2_grpc.py +0 -0
  106. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/commit_pb2.py +0 -0
  107. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/commit_pb2_grpc.py +0 -0
  108. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/diff_pb2.py +0 -0
  109. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/diff_pb2_grpc.py +0 -0
  110. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/errors_pb2.py +0 -0
  111. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/errors_pb2_grpc.py +0 -0
  112. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/lint_pb2.py +0 -0
  113. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/lint_pb2_grpc.py +0 -0
  114. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_aux_git_pb2.py +0 -0
  115. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_aux_git_pb2_grpc.py +0 -0
  116. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
  117. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
  118. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
  119. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
  120. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_repository_pb2.py +0 -0
  121. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
  122. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/operations_pb2.py +0 -0
  123. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/operations_pb2_grpc.py +0 -0
  124. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/ref_pb2.py +0 -0
  125. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/ref_pb2_grpc.py +0 -0
  126. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/remote_pb2.py +0 -0
  127. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/remote_pb2_grpc.py +0 -0
  128. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/repository_pb2.py +0 -0
  129. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/repository_pb2_grpc.py +0 -0
  130. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/server_pb2.py +0 -0
  131. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/server_pb2_grpc.py +0 -0
  132. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/shared_pb2.py +0 -0
  133. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/stub/shared_pb2_grpc.py +0 -0
  134. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tag.py +0 -0
  135. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/__init__.py +0 -0
  136. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/bundle.py +0 -0
  137. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/context.py +0 -0
  138. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/authorized_keys +0 -0
  139. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/backup_additional_no_git.tar +0 -0
  140. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/id_ecdsa_user +0 -0
  141. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/known_hosts +0 -0
  142. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/ssh_host_ecdsa_key +0 -0
  143. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/ssh_host_ecdsa_key.pub +0 -0
  144. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/ssh_host_ed25519 +0 -0
  145. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/ssh_host_ed25519.pub +0 -0
  146. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/data/sshd_config +0 -0
  147. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/grpc.py +0 -0
  148. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/multiprocessing.py +0 -0
  149. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/sshd.py +0 -0
  150. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/storage.py +0 -0
  151. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/tests/__init__.py +0 -0
  152. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/testing/tests/test_sshd.py +0 -0
  153. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/__init__.py +0 -0
  154. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/common.py +0 -0
  155. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_branch.py +0 -0
  156. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_diff.py +0 -0
  157. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_errors.py +0 -0
  158. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_feature.py +0 -0
  159. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_file_context.py +0 -0
  160. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_gitlab_ref.py +0 -0
  161. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_identification.py +0 -0
  162. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_license_detector.py +0 -0
  163. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_linguist.py +0 -0
  164. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_manifest.py +0 -0
  165. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_messages.py +0 -0
  166. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_oid.py +0 -0
  167. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_peer.py +0 -0
  168. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_repository.py +0 -0
  169. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_revision.py +0 -0
  170. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_revset.py +0 -0
  171. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_servicer.py +0 -0
  172. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_stream.py +0 -0
  173. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_tag.py +0 -0
  174. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/tests/test_workdir.py +0 -0
  175. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/util.py +0 -0
  176. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly/workdir.py +0 -0
  177. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly.egg-info/SOURCES.txt +0 -0
  178. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly.egg-info/dependency_links.txt +0 -0
  179. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly.egg-info/entry_points.txt +0 -0
  180. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly.egg-info/requires.txt +0 -0
  181. {hgitaly-17.11.2 → hgitaly-17.11.4}/hgitaly.egg-info/top_level.txt +0 -0
  182. {hgitaly-17.11.2 → hgitaly-17.11.4}/install-requirements.txt +0 -0
  183. {hgitaly-17.11.2 → hgitaly-17.11.4}/lint +0 -0
  184. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/analysis.proto +0 -0
  185. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/blob.proto +0 -0
  186. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/cleanup.proto +0 -0
  187. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/cluster.proto +0 -0
  188. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/commit.proto +0 -0
  189. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/conflicts.proto +0 -0
  190. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/diff.proto +0 -0
  191. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/errors.proto +0 -0
  192. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/hook.proto +0 -0
  193. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/internal.proto +0 -0
  194. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/lint.proto +0 -0
  195. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/log.proto +0 -0
  196. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/mercurial-changeset.proto +0 -0
  197. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/mercurial-operations.proto +0 -0
  198. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/mercurial-repository.proto +0 -0
  199. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/namespace.proto +0 -0
  200. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/objectpool.proto +0 -0
  201. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/operations.proto +0 -0
  202. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/packfile.proto +0 -0
  203. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/partition.proto +0 -0
  204. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/praefect.proto +0 -0
  205. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/ref.proto +0 -0
  206. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/remote.proto +0 -0
  207. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/repository.proto +0 -0
  208. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/server.proto +0 -0
  209. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/service_config.proto +0 -0
  210. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/shared.proto +0 -0
  211. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/smarthttp.proto +0 -0
  212. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/ssh.proto +0 -0
  213. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/transaction.proto +0 -0
  214. {hgitaly-17.11.2 → hgitaly-17.11.4}/protos/wiki.proto +0 -0
  215. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/.ruby-version +0 -0
  216. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/Gemfile +0 -0
  217. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/README.md +0 -0
  218. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/generate-grpc-lib +0 -0
  219. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/hgitaly.gemspec +0 -0
  220. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly/mercurial-changeset_pb.rb +0 -0
  221. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly/mercurial-changeset_services_pb.rb +0 -0
  222. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly/mercurial-operations_pb.rb +0 -0
  223. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly/mercurial-operations_services_pb.rb +0 -0
  224. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly/mercurial-repository_pb.rb +0 -0
  225. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly/mercurial-repository_services_pb.rb +0 -0
  226. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly/version.rb +0 -0
  227. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/lib/hgitaly.rb +0 -0
  228. {hgitaly-17.11.2 → hgitaly-17.11.4}/ruby/run.rb +0 -0
  229. {hgitaly-17.11.2 → hgitaly-17.11.4}/run-all-tests +0 -0
  230. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/Cargo.toml +0 -0
  231. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/Makefile +0 -0
  232. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/build-from-tarball.sh +0 -0
  233. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/check-line-width +0 -0
  234. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/README.md +0 -0
  235. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/mercurial.patch +0 -0
  236. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/any.proto +0 -0
  237. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/api.proto +0 -0
  238. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/compiler/plugin.proto +0 -0
  239. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/descriptor.proto +0 -0
  240. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/duration.proto +0 -0
  241. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/empty.proto +0 -0
  242. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/field_mask.proto +0 -0
  243. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/source_context.proto +0 -0
  244. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/struct.proto +0 -0
  245. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/timestamp.proto +0 -0
  246. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/type.proto +0 -0
  247. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/dependencies/proto/google/protobuf/wrappers.proto +0 -0
  248. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/go-enry.rev +0 -0
  249. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/lint +0 -0
  250. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/mercurial.rev +0 -0
  251. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/build.rs +0 -0
  252. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/clippy.toml +0 -0
  253. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/config.rs +0 -0
  254. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/errors.rs +0 -0
  255. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/generated/README.md +0 -0
  256. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/git.rs +0 -0
  257. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/gitlab/mod.rs +0 -0
  258. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/gitlab/reference.rs +0 -0
  259. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/gitlab/revision.rs +0 -0
  260. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/gitlab/state.rs +0 -0
  261. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/glob.rs +0 -0
  262. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/lib.rs +0 -0
  263. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/main.rs +0 -0
  264. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/mercurial.rs +0 -0
  265. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/message.rs +0 -0
  266. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/metadata.rs +0 -0
  267. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/oid.rs +0 -0
  268. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/process.rs +0 -0
  269. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/repository/spawner.rs +0 -0
  270. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/analysis.rs +0 -0
  271. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/blob.rs +0 -0
  272. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/commit/find_commits.rs +0 -0
  273. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/commit/get_tree_entries.rs +0 -0
  274. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/commit/last_commits.rs +0 -0
  275. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/commit/tree_entry.rs +0 -0
  276. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/diff.rs +0 -0
  277. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/mercurial_repository.rs +0 -0
  278. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/mod.rs +0 -0
  279. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/ref.rs +0 -0
  280. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/repository.rs +0 -0
  281. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/service/server.rs +0 -0
  282. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/sidecar.rs +0 -0
  283. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/ssh.rs +0 -0
  284. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/streaming.rs +0 -0
  285. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rhgitaly/src/util.rs +0 -0
  286. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/rs-enry.rev +0 -0
  287. {hgitaly-17.11.2 → hgitaly-17.11.4}/rust/src-tarball.sh +0 -0
  288. {hgitaly-17.11.2 → hgitaly-17.11.4}/setup.cfg +0 -0
  289. {hgitaly-17.11.2 → hgitaly-17.11.4}/setup.py +0 -0
  290. {hgitaly-17.11.2 → hgitaly-17.11.4}/test-requirements.txt +0 -0
  291. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/__init__.py +0 -0
  292. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/comparison.py +0 -0
  293. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/conftest.py +0 -0
  294. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/gitaly.py +0 -0
  295. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
  296. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/rhgitaly.py +0 -0
  297. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_blob_tree.py +0 -0
  298. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_comparison.py +0 -0
  299. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_diff.py +0 -0
  300. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_gitaly_server.py +0 -0
  301. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_mercurial_aux_git.py +0 -0
  302. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_mercurial_operations.py +0 -0
  303. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_mercurial_repository.py +0 -0
  304. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_operations.py +0 -0
  305. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_ref.py +0 -0
  306. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_repository_service.py +0 -0
  307. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
  308. {hgitaly-17.11.2 → hgitaly-17.11.4}/tests_with_gitaly/test_server.py +0 -0
@@ -131,6 +131,7 @@ c9f24d13c3f7bbfc5453a4b92f33f0e96c212b51 2.7.2
131
131
  574bfafe236c29f35131537fb4b8616cfbecab95 2.9.0
132
132
  0f117ee61f169f9f9e56eadc340bdeeecb27259c 2.10.0
133
133
  7d3440ddf010e5860660e5b82444ca2defbd60d1 2.11.0
134
+ cb9ce85c2136fd2c68f6cd7684c72ac33e659678 2.11.1
134
135
  d6cce24d89a8a37cd85398f063203d3075c1afd1 17.8.0
135
136
  646eb4769d16649b8daff17647e1e92ec81e68c8 17.8.1
136
137
  cb5acb3e763e63d908e6eec319b17a7faaabbe7c 17.8.2
@@ -143,3 +144,5 @@ c964e44bbddc2d8fd41fd72a685535dc7c793150 17.9.2
143
144
  fdf0201ab1df3afbb372f4dd1005009ca37be713 17.11.0a0
144
145
  035b7b7e03a1c34fea4bc7995d54d2c8d088c3f7 17.11.0
145
146
  82eb6e9f12cb5a63bcd6a1f5e9c5ff26fb17b0f6 17.11.1
147
+ 12035ca6dd36b033c1ef3ff0e1d8f3c954d00edf 17.11.2
148
+ 02fe8d2e369a2349531e3ff9735477cf37f95c72 17.11.3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 17.11.2
3
+ Version: 17.11.4
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
+ 17.11.4
@@ -159,6 +159,7 @@ def stats(): # pragma no cover
159
159
  'timing:median',
160
160
  'timing:worst_decile',
161
161
  'timing:worst_centile',
162
+ 'timing:total',
162
163
  ),
163
164
  default='calls')
164
165
 
@@ -210,6 +211,7 @@ def stats(): # pragma no cover
210
211
  timing = req_stats['completion_stats_ms'] = dict(
211
212
  mean=statistics.mean(succ),
212
213
  median=statistics.median(succ),
214
+ total=sum(s for s in succ),
213
215
  )
214
216
  if nb_succ > 1:
215
217
  timing['standard_deviation'] = statistics.pstdev(succ)
@@ -903,6 +903,8 @@ class CommitServicer(CommitServiceServicer, HGitalyServicer):
903
903
  context.abort(StatusCode.INTERNAL,
904
904
  "Revision %r could not be resolved" % exc.args[0])
905
905
 
906
+ walk = not request.disable_walk
907
+
906
908
  if positive is VISIBLE_CHANGESETS:
907
909
  # do not switch to unfiltered view!
908
910
  if negative:
@@ -916,8 +918,10 @@ class CommitServicer(CommitServiceServicer, HGitalyServicer):
916
918
  repo = repo.unfiltered()
917
919
  if negative:
918
920
  revset = b'only(%ls, %ls)'
919
- else:
921
+ elif walk:
920
922
  revset = b'::%ls'
923
+ else:
924
+ revset = b'%ls'
921
925
 
922
926
  msg_patterns = request.commit_message_patterns
923
927
  ignore_case = request.ignore_case
@@ -930,6 +934,21 @@ class CommitServicer(CommitServiceServicer, HGitalyServicer):
930
934
  else:
931
935
  revset += b' and ' + greps[0]
932
936
 
937
+ after = request.after.ToSeconds()
938
+ before = request.before.ToSeconds()
939
+ date = getdate(after, before)
940
+ if date is not None:
941
+ revset += b" and date('%s')" % date.encode('ascii')
942
+
943
+ author = request.author
944
+ if author:
945
+ revset += b" and user(r're:%s')" % author
946
+
947
+ # no octopuses in Mercurial, hence max_parents > 1 does not filter
948
+ # anything
949
+ if request.max_parents == 1:
950
+ revset += b" and not merge()"
951
+
933
952
  Order = ListCommitsRequest.Order
934
953
  reverse = request.reverse
935
954
 
@@ -1337,7 +1337,7 @@ def test_list_commits(commit_fixture_empty_repo):
1337
1337
  wrapper.update(ctx0.rev())
1338
1338
  wrapper.command(b'mv', wrapper.repo.root + b'/foo',
1339
1339
  wrapper.repo.root + b'/zoo')
1340
- ts = int(time.time())
1340
+ ts = int(time.time() - 50)
1341
1341
  sha2 = wrapper.commit([b'foo', b'zoo'],
1342
1342
  message=b"rename foo to zoo",
1343
1343
  utc_timestamp=ts - 10,).hex()
@@ -1346,7 +1346,9 @@ def test_list_commits(commit_fixture_empty_repo):
1346
1346
  user='testuser <testuser@heptapod.test')
1347
1347
  sha3 = ctx3.hex()
1348
1348
  wrapper.update(2)
1349
- ctx4 = wrapper.merge_commit(ctx3, message=b'merge with stable')
1349
+ ctx4 = wrapper.merge_commit(ctx3, message=b'merge with stable',
1350
+ utc_timestamp=ts+20)
1351
+
1350
1352
  sha4 = ctx4.hex()
1351
1353
 
1352
1354
  def caret(ctx):
@@ -1365,11 +1367,15 @@ def test_list_commits(commit_fixture_empty_repo):
1365
1367
  # orderings
1366
1368
  Order = ListCommitsRequest.Order
1367
1369
  assert list_commits(sha4, order=Order.TOPO) == [sha4, sha3, sha2, sha0]
1368
- assert list_commits(sha4, order=Order.DATE) == [sha2, sha0, sha4, sha3]
1370
+ # having no explicit date, ctx0 looks to be the most recent one.
1371
+ assert list_commits(sha4, order=Order.DATE) == [sha2, sha3, sha4, sha0]
1369
1372
 
1370
1373
  # no result
1371
1374
  assert list_commits(sha4, caret(ctx4)) == []
1372
1375
 
1376
+ # disable walk
1377
+ assert list_commits(sha4, disable_walk=True) == [sha4]
1378
+
1373
1379
  # message patterns
1374
1380
  assert list_commits(sha4, commit_message_patterns=[b'foo']) == [sha2]
1375
1381
  assert set(
@@ -1379,6 +1385,26 @@ def test_list_commits(commit_fixture_empty_repo):
1379
1385
  commit_message_patterns=[b'FOO'],
1380
1386
  ignore_case=True) == [sha2]
1381
1387
 
1388
+ # max_parents
1389
+ assert list_commits(sha4, max_parents=2) == list_commits(sha4)
1390
+ assert list_commits(sha4, max_parents=3) == list_commits(sha4)
1391
+ assert list_commits(sha4, max_parents=1) == [sha3, sha2, sha0]
1392
+
1393
+ # dates
1394
+ date, date2 = Timestamp(), Timestamp()
1395
+ date.FromSeconds(ts+10)
1396
+ assert list_commits(sha4, before=date) == [sha3, sha2]
1397
+ assert list_commits(sha4, after=date) == [sha4, sha3, sha0]
1398
+ # gracinet: given that before is < and after is > I didn't expect
1399
+ # after=before to return anything, but `hg help dates` says that
1400
+ # the `to` range specifier is inclusive.
1401
+ assert list_commits(sha4, after=date, before=date) == [sha3]
1402
+ date2.FromSeconds(ts+40)
1403
+ assert list_commits(sha4, after=date, before=date2) == [sha4, sha3]
1404
+
1405
+ # author regexp
1406
+ assert list_commits(sha4, author=b't.stuser') == [sha3]
1407
+
1382
1408
  # unknown revision, including special cases:
1383
1409
  for unknown in ('branch/unknown',
1384
1410
  'f' * 39, # wdir node id, prefix
@@ -9,6 +9,7 @@ from pathlib import Path
9
9
  import sys
10
10
 
11
11
 
12
+ # TODO move up to hgitaly.testing
12
13
  def hg_exe_path(): # pragma no cover
13
14
  """Return a Mercurial executable path consistent with these tests.
14
15
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 17.11.2
3
+ Version: 17.11.4
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