hgitaly 17.8.3__tar.gz → 17.8.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 (312) hide show
  1. {hgitaly-17.8.3 → hgitaly-17.8.4}/PKG-INFO +1 -1
  2. hgitaly-17.8.4/hgitaly/VERSION +1 -0
  3. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/repository.py +24 -1
  4. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_mercurial_repository.py +12 -1
  5. hgitaly-17.8.4/hgitaly/stub/mercurial_repository_pb2.py +128 -0
  6. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly.egg-info/PKG-INFO +1 -1
  7. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly.egg-info/SOURCES.txt +0 -139
  8. hgitaly-17.8.3/.coveragerc +0 -5
  9. hgitaly-17.8.3/.gitlab-ci.yml +0 -150
  10. hgitaly-17.8.3/.hgignore +0 -34
  11. hgitaly-17.8.3/.hgtags +0 -136
  12. hgitaly-17.8.3/ci/heptapod-sftp-push +0 -31
  13. hgitaly-17.8.3/ci/heptapod-sign-package +0 -34
  14. hgitaly-17.8.3/ci/heptapod_known_hosts.ssh +0 -4
  15. hgitaly-17.8.3/ci/upload-rhgitaly +0 -43
  16. hgitaly-17.8.3/conftest.py +0 -92
  17. hgitaly-17.8.3/dev-requirements.txt +0 -2
  18. hgitaly-17.8.3/examples/client.py +0 -48
  19. hgitaly-17.8.3/examples/client_list_lcft.py +0 -55
  20. hgitaly-17.8.3/generate-stubs +0 -34
  21. hgitaly-17.8.3/hgitaly/VERSION +0 -1
  22. hgitaly-17.8.3/hgitaly/license_detector/GPL-2.sample +0 -339
  23. hgitaly-17.8.3/hgitaly/stub/mercurial_repository_pb2.py +0 -126
  24. hgitaly-17.8.3/hgitaly/testing/data/authorized_keys +0 -1
  25. hgitaly-17.8.3/hgitaly/testing/data/backup_additional_no_git.tar +0 -0
  26. hgitaly-17.8.3/hgitaly/testing/data/id_ecdsa_user +0 -38
  27. hgitaly-17.8.3/hgitaly/testing/data/known_hosts +0 -2
  28. hgitaly-17.8.3/hgitaly/testing/data/ssh_host_ecdsa_key +0 -9
  29. hgitaly-17.8.3/hgitaly/testing/data/ssh_host_ecdsa_key.pub +0 -1
  30. hgitaly-17.8.3/hgitaly/testing/data/ssh_host_ed25519 +0 -8
  31. hgitaly-17.8.3/hgitaly/testing/data/ssh_host_ed25519.pub +0 -1
  32. hgitaly-17.8.3/hgitaly/testing/data/sshd_config +0 -17
  33. hgitaly-17.8.3/lint +0 -3
  34. hgitaly-17.8.3/protos/analysis.proto +0 -62
  35. hgitaly-17.8.3/protos/blob.proto +0 -299
  36. hgitaly-17.8.3/protos/cleanup.proto +0 -88
  37. hgitaly-17.8.3/protos/cluster.proto +0 -107
  38. hgitaly-17.8.3/protos/commit.proto +0 -985
  39. hgitaly-17.8.3/protos/conflicts.proto +0 -137
  40. hgitaly-17.8.3/protos/diff.proto +0 -622
  41. hgitaly-17.8.3/protos/errors.proto +0 -228
  42. hgitaly-17.8.3/protos/hook.proto +0 -205
  43. hgitaly-17.8.3/protos/internal.proto +0 -37
  44. hgitaly-17.8.3/protos/lint.proto +0 -75
  45. hgitaly-17.8.3/protos/log.proto +0 -147
  46. hgitaly-17.8.3/protos/mercurial-aux-git.proto +0 -33
  47. hgitaly-17.8.3/protos/mercurial-changeset.proto +0 -96
  48. hgitaly-17.8.3/protos/mercurial-operations.proto +0 -163
  49. hgitaly-17.8.3/protos/mercurial-repository.proto +0 -358
  50. hgitaly-17.8.3/protos/namespace.proto +0 -98
  51. hgitaly-17.8.3/protos/objectpool.proto +0 -173
  52. hgitaly-17.8.3/protos/operations.proto +0 -1139
  53. hgitaly-17.8.3/protos/packfile.proto +0 -26
  54. hgitaly-17.8.3/protos/partition.proto +0 -70
  55. hgitaly-17.8.3/protos/praefect.proto +0 -222
  56. hgitaly-17.8.3/protos/ref.proto +0 -593
  57. hgitaly-17.8.3/protos/remote.proto +0 -153
  58. hgitaly-17.8.3/protos/repository.proto +0 -1342
  59. hgitaly-17.8.3/protos/server.proto +0 -123
  60. hgitaly-17.8.3/protos/service_config.proto +0 -86
  61. hgitaly-17.8.3/protos/shared.proto +0 -248
  62. hgitaly-17.8.3/protos/smarthttp.proto +0 -121
  63. hgitaly-17.8.3/protos/ssh.proto +0 -109
  64. hgitaly-17.8.3/protos/transaction.proto +0 -104
  65. hgitaly-17.8.3/protos/wiki.proto +0 -211
  66. hgitaly-17.8.3/ruby/.ruby-version +0 -1
  67. hgitaly-17.8.3/ruby/Gemfile +0 -5
  68. hgitaly-17.8.3/ruby/README.md +0 -48
  69. hgitaly-17.8.3/ruby/generate-grpc-lib +0 -63
  70. hgitaly-17.8.3/ruby/hgitaly.gemspec +0 -25
  71. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-aux-git_pb.rb +0 -15
  72. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-aux-git_services_pb.rb +0 -29
  73. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-changeset_pb.rb +0 -69
  74. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-changeset_services_pb.rb +0 -25
  75. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-operations_pb.rb +0 -103
  76. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-operations_services_pb.rb +0 -39
  77. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-repository_pb.rb +0 -156
  78. hgitaly-17.8.3/ruby/lib/hgitaly/mercurial-repository_services_pb.rb +0 -79
  79. hgitaly-17.8.3/ruby/lib/hgitaly/version.rb +0 -4
  80. hgitaly-17.8.3/ruby/lib/hgitaly.rb +0 -13
  81. hgitaly-17.8.3/ruby/run.rb +0 -39
  82. hgitaly-17.8.3/run-all-tests +0 -19
  83. hgitaly-17.8.3/rust/Cargo.lock +0 -2434
  84. hgitaly-17.8.3/rust/Cargo.toml +0 -3
  85. hgitaly-17.8.3/rust/Makefile +0 -69
  86. hgitaly-17.8.3/rust/build-from-tarball.sh +0 -30
  87. hgitaly-17.8.3/rust/check-line-width +0 -48
  88. hgitaly-17.8.3/rust/dependencies/README.md +0 -19
  89. hgitaly-17.8.3/rust/dependencies/mercurial.patch +0 -48
  90. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/any.proto +0 -158
  91. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/api.proto +0 -208
  92. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/compiler/plugin.proto +0 -183
  93. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/descriptor.proto +0 -911
  94. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/duration.proto +0 -116
  95. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/empty.proto +0 -52
  96. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/field_mask.proto +0 -245
  97. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/source_context.proto +0 -48
  98. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/struct.proto +0 -95
  99. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/timestamp.proto +0 -147
  100. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/type.proto +0 -187
  101. hgitaly-17.8.3/rust/dependencies/proto/google/protobuf/wrappers.proto +0 -123
  102. hgitaly-17.8.3/rust/go-enry.rev +0 -1
  103. hgitaly-17.8.3/rust/lint +0 -14
  104. hgitaly-17.8.3/rust/mercurial.rev +0 -1
  105. hgitaly-17.8.3/rust/rhgitaly/Cargo.toml +0 -44
  106. hgitaly-17.8.3/rust/rhgitaly/build.rs +0 -45
  107. hgitaly-17.8.3/rust/rhgitaly/clippy.toml +0 -6
  108. hgitaly-17.8.3/rust/rhgitaly/src/bundle.rs +0 -160
  109. hgitaly-17.8.3/rust/rhgitaly/src/config.rs +0 -140
  110. hgitaly-17.8.3/rust/rhgitaly/src/errors.rs +0 -123
  111. hgitaly-17.8.3/rust/rhgitaly/src/generated/README.md +0 -7
  112. hgitaly-17.8.3/rust/rhgitaly/src/git.rs +0 -293
  113. hgitaly-17.8.3/rust/rhgitaly/src/gitlab/mod.rs +0 -50
  114. hgitaly-17.8.3/rust/rhgitaly/src/gitlab/reference.rs +0 -83
  115. hgitaly-17.8.3/rust/rhgitaly/src/gitlab/revision.rs +0 -320
  116. hgitaly-17.8.3/rust/rhgitaly/src/gitlab/state.rs +0 -508
  117. hgitaly-17.8.3/rust/rhgitaly/src/glob.rs +0 -137
  118. hgitaly-17.8.3/rust/rhgitaly/src/lib.rs +0 -42
  119. hgitaly-17.8.3/rust/rhgitaly/src/main.rs +0 -121
  120. hgitaly-17.8.3/rust/rhgitaly/src/mercurial.rs +0 -1362
  121. hgitaly-17.8.3/rust/rhgitaly/src/message.rs +0 -469
  122. hgitaly-17.8.3/rust/rhgitaly/src/metadata.rs +0 -27
  123. hgitaly-17.8.3/rust/rhgitaly/src/oid.rs +0 -87
  124. hgitaly-17.8.3/rust/rhgitaly/src/process.rs +0 -39
  125. hgitaly-17.8.3/rust/rhgitaly/src/repository/spawner.rs +0 -559
  126. hgitaly-17.8.3/rust/rhgitaly/src/repository.rs +0 -544
  127. hgitaly-17.8.3/rust/rhgitaly/src/service/analysis.rs +0 -184
  128. hgitaly-17.8.3/rust/rhgitaly/src/service/blob.rs +0 -260
  129. hgitaly-17.8.3/rust/rhgitaly/src/service/commit/find_commits.rs +0 -202
  130. hgitaly-17.8.3/rust/rhgitaly/src/service/commit/get_tree_entries.rs +0 -291
  131. hgitaly-17.8.3/rust/rhgitaly/src/service/commit/last_commits.rs +0 -567
  132. hgitaly-17.8.3/rust/rhgitaly/src/service/commit/tree_entry.rs +0 -155
  133. hgitaly-17.8.3/rust/rhgitaly/src/service/commit.rs +0 -501
  134. hgitaly-17.8.3/rust/rhgitaly/src/service/diff.rs +0 -97
  135. hgitaly-17.8.3/rust/rhgitaly/src/service/mercurial_aux_git.rs +0 -186
  136. hgitaly-17.8.3/rust/rhgitaly/src/service/mercurial_repository.rs +0 -435
  137. hgitaly-17.8.3/rust/rhgitaly/src/service/mod.rs +0 -15
  138. hgitaly-17.8.3/rust/rhgitaly/src/service/ref.rs +0 -660
  139. hgitaly-17.8.3/rust/rhgitaly/src/service/remote.rs +0 -669
  140. hgitaly-17.8.3/rust/rhgitaly/src/service/repository.rs +0 -777
  141. hgitaly-17.8.3/rust/rhgitaly/src/service/server.rs +0 -34
  142. hgitaly-17.8.3/rust/rhgitaly/src/sidecar.rs +0 -186
  143. hgitaly-17.8.3/rust/rhgitaly/src/ssh.rs +0 -101
  144. hgitaly-17.8.3/rust/rhgitaly/src/streaming.rs +0 -401
  145. hgitaly-17.8.3/rust/rhgitaly/src/util.rs +0 -132
  146. hgitaly-17.8.3/rust/rs-enry.rev +0 -1
  147. hgitaly-17.8.3/rust/src-tarball.sh +0 -60
  148. hgitaly-17.8.3/test-requirements.txt +0 -8
  149. {hgitaly-17.8.3 → hgitaly-17.8.4}/LICENSE +0 -0
  150. {hgitaly-17.8.3 → hgitaly-17.8.4}/MANIFEST.in +0 -0
  151. {hgitaly-17.8.3 → hgitaly-17.8.4}/README.md +0 -0
  152. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgext3rd/__init__.py +0 -0
  153. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgext3rd/hgitaly/__init__.py +0 -0
  154. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgext3rd/hgitaly/revset.py +0 -0
  155. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgext3rd/hgitaly/tests/__init__.py +0 -0
  156. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
  157. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
  158. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/__init__.py +0 -0
  159. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/branch.py +0 -0
  160. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/changelog.py +0 -0
  161. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/diff.py +0 -0
  162. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/errors.py +0 -0
  163. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/feature.py +0 -0
  164. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/file_content.py +0 -0
  165. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/file_context.py +0 -0
  166. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/git.py +0 -0
  167. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/gitlab_ref.py +0 -0
  168. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/license_detector/__init__.py +0 -0
  169. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/license_detector/spdx-licenses.json +0 -0
  170. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/linguist/__init__.py +0 -0
  171. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/linguist/languages.json +0 -0
  172. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/logging.py +0 -0
  173. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/manifest.py +0 -0
  174. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/message.py +0 -0
  175. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/oid.py +0 -0
  176. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/pagination.py +0 -0
  177. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/path.py +0 -0
  178. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/peer.py +0 -0
  179. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/procutil.py +0 -0
  180. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/revision.py +0 -0
  181. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/revset.py +0 -0
  182. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/scripts.py +0 -0
  183. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/__init__.py +0 -0
  184. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/address.py +0 -0
  185. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/mono.py +0 -0
  186. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/prefork.py +0 -0
  187. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/tests/__init__.py +0 -0
  188. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/tests/test_address.py +0 -0
  189. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/tests/test_mono.py +0 -0
  190. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/tests/test_prefork.py +0 -0
  191. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/tests/test_worker.py +0 -0
  192. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/server/worker.py +0 -0
  193. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/__init__.py +0 -0
  194. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/analysis.py +0 -0
  195. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/blob.py +0 -0
  196. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/commit.py +0 -0
  197. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/diff.py +0 -0
  198. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/interceptors.py +0 -0
  199. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/mercurial_changeset.py +0 -0
  200. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/mercurial_operations.py +0 -0
  201. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/mercurial_repository.py +0 -0
  202. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/operations.py +0 -0
  203. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/ref.py +0 -0
  204. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/repository.py +0 -0
  205. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/server.py +0 -0
  206. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/__init__.py +0 -0
  207. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/fixture.py +0 -0
  208. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_analysis.py +0 -0
  209. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_blob.py +0 -0
  210. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_commit.py +0 -0
  211. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_default_branch.py +0 -0
  212. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_diff.py +0 -0
  213. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
  214. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_mercurial_operations.py +0 -0
  215. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_operations.py +0 -0
  216. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_ref.py +0 -0
  217. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_repository_service.py +0 -0
  218. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/service/tests/test_server.py +0 -0
  219. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/servicer.py +0 -0
  220. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/ssh.py +0 -0
  221. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stream.py +0 -0
  222. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/__init__.py +0 -0
  223. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/analysis_pb2.py +0 -0
  224. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
  225. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/blob_pb2.py +0 -0
  226. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/blob_pb2_grpc.py +0 -0
  227. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/commit_pb2.py +0 -0
  228. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/commit_pb2_grpc.py +0 -0
  229. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/diff_pb2.py +0 -0
  230. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/diff_pb2_grpc.py +0 -0
  231. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/errors_pb2.py +0 -0
  232. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/errors_pb2_grpc.py +0 -0
  233. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/lint_pb2.py +0 -0
  234. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/lint_pb2_grpc.py +0 -0
  235. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/mercurial_aux_git_pb2.py +0 -0
  236. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/mercurial_aux_git_pb2_grpc.py +0 -0
  237. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
  238. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
  239. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
  240. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
  241. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
  242. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/operations_pb2.py +0 -0
  243. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/operations_pb2_grpc.py +0 -0
  244. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/ref_pb2.py +0 -0
  245. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/ref_pb2_grpc.py +0 -0
  246. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/remote_pb2.py +0 -0
  247. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/remote_pb2_grpc.py +0 -0
  248. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/repository_pb2.py +0 -0
  249. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/repository_pb2_grpc.py +0 -0
  250. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/server_pb2.py +0 -0
  251. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/server_pb2_grpc.py +0 -0
  252. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/shared_pb2.py +0 -0
  253. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/stub/shared_pb2_grpc.py +0 -0
  254. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tag.py +0 -0
  255. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/__init__.py +0 -0
  256. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/bundle.py +0 -0
  257. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/context.py +0 -0
  258. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/grpc.py +0 -0
  259. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/ssh.py +0 -0
  260. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/sshd.py +0 -0
  261. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/storage.py +0 -0
  262. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/tests/__init__.py +0 -0
  263. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/testing/tests/test_sshd.py +0 -0
  264. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/__init__.py +0 -0
  265. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/common.py +0 -0
  266. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_branch.py +0 -0
  267. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_diff.py +0 -0
  268. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_errors.py +0 -0
  269. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_feature.py +0 -0
  270. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_file_context.py +0 -0
  271. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_gitlab_ref.py +0 -0
  272. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_license_detector.py +0 -0
  273. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_linguist.py +0 -0
  274. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_manifest.py +0 -0
  275. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_messages.py +0 -0
  276. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_oid.py +0 -0
  277. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_peer.py +0 -0
  278. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_repository.py +0 -0
  279. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_revision.py +0 -0
  280. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_revset.py +0 -0
  281. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_servicer.py +0 -0
  282. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_stream.py +0 -0
  283. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_tag.py +0 -0
  284. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/tests/test_workdir.py +0 -0
  285. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/util.py +0 -0
  286. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly/workdir.py +0 -0
  287. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly.egg-info/dependency_links.txt +0 -0
  288. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly.egg-info/entry_points.txt +0 -0
  289. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly.egg-info/requires.txt +0 -0
  290. {hgitaly-17.8.3 → hgitaly-17.8.4}/hgitaly.egg-info/top_level.txt +0 -0
  291. {hgitaly-17.8.3 → hgitaly-17.8.4}/install-requirements.txt +0 -0
  292. {hgitaly-17.8.3 → hgitaly-17.8.4}/setup.cfg +0 -0
  293. {hgitaly-17.8.3 → hgitaly-17.8.4}/setup.py +0 -0
  294. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/__init__.py +0 -0
  295. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/comparison.py +0 -0
  296. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/conftest.py +0 -0
  297. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/gitaly.py +0 -0
  298. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
  299. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/rhgitaly.py +0 -0
  300. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_blob_tree.py +0 -0
  301. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_commit.py +0 -0
  302. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_comparison.py +0 -0
  303. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_diff.py +0 -0
  304. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_gitaly_server.py +0 -0
  305. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_mercurial_aux_git.py +0 -0
  306. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_mercurial_repository.py +0 -0
  307. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_operations.py +0 -0
  308. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_ref.py +0 -0
  309. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_remote.py +0 -0
  310. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_repository_service.py +0 -0
  311. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
  312. {hgitaly-17.8.3 → hgitaly-17.8.4}/tests_with_gitaly/test_server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 17.8.3
3
+ Version: 17.8.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.8.4
@@ -20,6 +20,7 @@ from .stub.mercurial_repository_pb2 import (
20
20
  )
21
21
 
22
22
  AutoPublish = HeptapodConfigSection.AutoPublish
23
+ CloneBundles = HeptapodConfigSection.CloneBundles
23
24
 
24
25
  GITLAB_PROJECT_FULL_PATH_FILENAME = b'gitlab.project_full_path'
25
26
  MAIN_HGRC_FILE = b'hgrc'
@@ -29,6 +30,7 @@ HGRC_INCL_INHERIT_RX = re.compile(br'^%include (.*)/hgrc$', re.MULTILINE)
29
30
  HEPTAPOD_CONFIG_SECTION = b'heptapod'
30
31
  # TODO would be nice to import these from hgext3rd.heptapod
31
32
  HEPTAPOD_CONFIG_AUTO_PUBLISH = b'auto-publish'
33
+ HEPTAPOD_CONFIG_CLONE_BUNDLES = b'clone-bundles'
32
34
  HEPTAPOD_CONFIG_ALLOW_BOOKMARKS = b'allow-bookmarks'
33
35
  HEPTAPOD_CONFIG_ALLOW_MULTIPLE_HEADS = b'allow-multiple-heads'
34
36
  AUTO_PUBLISH_MAPPING = {
@@ -37,6 +39,14 @@ AUTO_PUBLISH_MAPPING = {
37
39
  b'all': AutoPublish.ALL,
38
40
  }
39
41
  AUTO_PUBLISH_REVERSE_MAPPING = {v: k for k, v in AUTO_PUBLISH_MAPPING.items()}
42
+ CLONE_BUNDLES_MAPPING = {
43
+ b'disabled': CloneBundles.DISABLED,
44
+ b'explicit': CloneBundles.EXPLICIT,
45
+ b'on-change': CloneBundles.ON_CHANGE,
46
+ }
47
+ CLONE_BUNDLES_REVERSE_MAPPING = {
48
+ v: k for k, v in CLONE_BUNDLES_MAPPING.items()
49
+ }
40
50
 
41
51
 
42
52
  def unbundle(repo, bundle_path: str, rails_sync=False):
@@ -94,6 +104,12 @@ def heptapod_ui_config(ui, as_recorded=False) -> HeptapodConfigSection:
94
104
  if auto_pub is not None or not as_recorded:
95
105
  fields['auto_publish'] = AUTO_PUBLISH_MAPPING.get(auto_pub)
96
106
 
107
+ clone_bundles = ui.config(HEPTAPOD_CONFIG_SECTION,
108
+ HEPTAPOD_CONFIG_CLONE_BUNDLES)
109
+
110
+ if clone_bundles is not None or not as_recorded:
111
+ fields['clone_bundles'] = CLONE_BUNDLES_MAPPING.get(clone_bundles)
112
+
97
113
  for field, key in (
98
114
  ('allow_multiple_heads', HEPTAPOD_CONFIG_ALLOW_MULTIPLE_HEADS),
99
115
  ('allow_bookmarks', HEPTAPOD_CONFIG_ALLOW_BOOKMARKS),
@@ -150,6 +166,12 @@ def replace_heptapod_managed_config(repo, items, by_line):
150
166
  fobj.write(AUTO_PUBLISH_REVERSE_MAPPING[auto_pub])
151
167
  fobj.write(b"\n")
152
168
 
169
+ clone_bundles = items.get('clone_bundles')
170
+ if clone_bundles is not None:
171
+ fobj.write(b"clone-bundles = ")
172
+ fobj.write(CLONE_BUNDLES_REVERSE_MAPPING[clone_bundles])
173
+ fobj.write(b"\n")
174
+
153
175
  for field in ('allow_bookmarks', 'allow_multiple_heads'):
154
176
  val = items.get(field)
155
177
  if val is None:
@@ -177,7 +199,8 @@ def set_managed_config(repo, heptapod: HeptapodConfigSection,
177
199
  remove_items, by_line):
178
200
  existing = heptapod_local_config(repo)
179
201
  items = {}
180
- for field in ('allow_bookmarks', 'allow_multiple_heads', 'auto_publish'):
202
+ for field in ('allow_bookmarks', 'allow_multiple_heads',
203
+ 'auto_publish', 'clone_bundles'):
181
204
  if field in remove_items:
182
205
  continue
183
206
 
@@ -39,6 +39,7 @@ from hgitaly.stub.mercurial_repository_pb2_grpc import (
39
39
  from .fixture import ServiceFixture
40
40
 
41
41
  AutoPublish = HeptapodConfigSection.AutoPublish
42
+ CloneBundles = HeptapodConfigSection.CloneBundles
42
43
 
43
44
  parametrize = pytest.mark.parametrize
44
45
 
@@ -183,6 +184,15 @@ def test_set_managed_config(config_fixture):
183
184
  assert section.auto_publish == AutoPublish.NOTHING
184
185
  assert get_config().heptapod.allow_multiple_heads is True # control
185
186
 
187
+ set_config(
188
+ heptapod=HeptapodConfigSection(clone_bundles=CloneBundles.EXPLICIT),
189
+ by_line="by user interested in bundles"
190
+ )
191
+ section = get_config(local=True).heptapod
192
+ assert not section.HasField('allow_multiple_heads')
193
+ assert section.HasField('clone_bundles')
194
+ assert section.clone_bundles == CloneBundles.EXPLICIT
195
+
186
196
  # to check whether the managed file actually overrides a setting
187
197
  # and even if inclusion is missing
188
198
  config_fixture.write_main_hgrc('[heptapod]', 'allow-bookmarks = yes', '',
@@ -210,7 +220,8 @@ def test_set_managed_config(config_fixture):
210
220
  assert get_config().heptapod.allow_bookmarks
211
221
 
212
222
  # removing everything and testing by_line
213
- set_config(remove_items=('allow_bookmarks', 'auto_publish'),
223
+ set_config(remove_items=('allow_bookmarks', 'auto_publish',
224
+ 'clone_bundles'),
214
225
  by_line='by erasor')
215
226
  managed_lines = config_fixture.hgrc_path().read_text().splitlines()
216
227
  assert not managed_lines[0].startswith('[')
@@ -0,0 +1,128 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: mercurial-repository.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 lint_pb2 as lint__pb2
15
+ from . import shared_pb2 as shared__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1amercurial-repository.proto\x12\x07hgitaly\x1a\nlint.proto\x1a\x0cshared.proto\"Y\n\x11InitConfigRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x16\n\x0enamespace_path\x18\x02 \x01(\t\"\x14\n\x12InitConfigResponse\"\xab\x03\n\x15HeptapodConfigSection\x12!\n\x14\x61llow_multiple_heads\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x0f\x61llow_bookmarks\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x45\n\x0c\x61uto_publish\x18\x04 \x01(\x0e\x32*.hgitaly.HeptapodConfigSection.AutoPublishH\x02\x88\x01\x01\x12G\n\rclone_bundles\x18\x05 \x01(\x0e\x32+.hgitaly.HeptapodConfigSection.CloneBundlesH\x03\x88\x01\x01\"6\n\x0b\x41utoPublish\x12\x11\n\rWITHOUT_TOPIC\x10\x00\x12\x0b\n\x07NOTHING\x10\x01\x12\x07\n\x03\x41LL\x10\x02\"9\n\x0c\x43loneBundles\x12\x0c\n\x08\x44ISABLED\x10\x00\x12\x0c\n\x08\x45XPLICIT\x10\x01\x12\r\n\tON_CHANGE\x10\x02\x42\x17\n\x15_allow_multiple_headsB\x12\n\x10_allow_bookmarksB\x0f\n\r_auto_publishB\x10\n\x0e_clone_bundles\"V\n\x17GetManagedConfigRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\r\n\x05local\x18\x02 \x01(\x08\"]\n\x18GetManagedConfigResponse\x12\x0f\n\x07inherit\x18\x01 \x01(\x08\x12\x30\n\x08heptapod\x18\x02 \x01(\x0b\x32\x1e.hgitaly.HeptapodConfigSection\"\xc2\x01\n\x17SetManagedConfigRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x14\n\x07inherit\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x30\n\x08heptapod\x18\x03 \x01(\x0b\x32\x1e.hgitaly.HeptapodConfigSection\x12\x14\n\x0cremove_items\x18\x04 \x03(\t\x12\x0f\n\x07\x62y_line\x18\x05 \x01(\tB\n\n\x08_inherit\"\x1a\n\x18SetManagedConfigResponse\"\x8d\x01\n\x14GetConfigItemRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12(\n\x07\x61s_type\x18\x02 \x01(\x0e\x32\x17.hgitaly.ConfigItemType\x12\x0f\n\x07section\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\"H\n\x15GetConfigItemResponse\x12\x13\n\tas_string\x18\x01 \x01(\tH\x00\x12\x11\n\x07\x61s_bool\x18\x02 \x01(\x08H\x00\x42\x07\n\x05value\">\n\x0eRecoverRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"%\n\x0fRecoverResponse\x12\x12\n\nnot_needed\x18\x01 \x01(\x08\"?\n\x0fOptimizeRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\"\x12\n\x10OptimizeResponse\"\x88\x01\n\x12ResetCachesRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x31\n\x06\x63\x61\x63hes\x18\x02 \x03(\x0e\x32!.hgitaly.ResetCachesRequest.Cache\"\x11\n\x05\x43\x61\x63he\x12\x08\n\x04TAGS\x10\x00\"\x15\n\x13ResetCachesResponse\"b\n\rMercurialPeer\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0f\n\x07ssh_key\x18\x05 \x01(\t\x12\x17\n\x0fssh_known_hosts\x18\x06 \x01(\t\x12\x1a\n\x12ssh_remote_command\x18\x07 \x01(\x0c\"\xa7\x01\n\x0bPushRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12+\n\x0bremote_peer\x18\x02 \x01(\x0b\x32\x16.hgitaly.MercurialPeer\x12%\n\x1donly_gitlab_branches_matching\x18\x03 \x03(\x0c\x12\x16\n\x0einclude_drafts\x18\x04 \x01(\x08\"&\n\x0cPushResponse\x12\x16\n\x0enew_changesets\x18\x01 \x01(\x08\"\xb8\x01\n\x0bPullRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12+\n\x0bremote_peer\x18\x02 \x01(\x0b\x32\x16.hgitaly.MercurialPeer\x12\x1a\n\x04user\x18\x04 \x01(\x0b\x32\x0c.gitaly.User\x12\x1b\n\x13mercurial_revisions\x18\x05 \x03(\x0cJ\x04\x08\x03\x10\x04R\x0fgitlab_branches\"&\n\x0cPullResponse\x12\x16\n\x0enew_changesets\x18\x01 \x01(\x08\"g\n\rHgCallRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x1a\n\x04user\x18\x02 \x01(\x0b\x32\x0c.gitaly.User\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\x0c\"3\n\x0eHgCallResponse\x12\x11\n\texit_code\x18\x01 \x01(\x05\x12\x0e\n\x06stdout\x18\x02 \x03(\x0c\"\xc2\x01\n\x13HousekeepingRequest\x12,\n\nrepository\x18\x01 \x01(\x0b\x32\x12.gitaly.RepositoryB\x04\x98\xc6,\x01\x12\x0c\n\x04\x66\x61il\x18\x02 \x01(\x08\x12\x0f\n\x07recover\x18\x03 \x01(\x08\x12\x31\n)working_directories_age_threshold_seconds\x18\x04 \x01(\r\x12+\n#working_directories_remove_unlisted\x18\x05 \x01(\x08\"\xa3\x01\n\x14HousekeepingResponse\x12\x13\n\x0brecover_run\x18\x01 \x01(\x08\x12)\n!recovered_interrupted_transaction\x18\x02 \x01(\x08\x12\x1e\n\x16working_directories_gc\x18\x03 \x01(\x08\x12+\n#working_directories_remove_unlisted\x18\x04 \x01(\x08*&\n\x0e\x43onfigItemType\x12\n\n\x06STRING\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x32\xfa\x06\n\x1aMercurialRepositoryService\x12M\n\nInitConfig\x12\x1a.hgitaly.InitConfigRequest\x1a\x1b.hgitaly.InitConfigResponse\"\x06\xfa\x97(\x02\x08\x01\x12V\n\rGetConfigItem\x12\x1d.hgitaly.GetConfigItemRequest\x1a\x1e.hgitaly.GetConfigItemResponse\"\x06\xfa\x97(\x02\x08\x02\x12\x44\n\x07Recover\x12\x17.hgitaly.RecoverRequest\x1a\x18.hgitaly.RecoverResponse\"\x06\xfa\x97(\x02\x08\x02\x12G\n\x08Optimize\x12\x18.hgitaly.OptimizeRequest\x1a\x19.hgitaly.OptimizeResponse\"\x06\xfa\x97(\x02\x08\x01\x12P\n\x0bResetCaches\x12\x1b.hgitaly.ResetCachesRequest\x1a\x1c.hgitaly.ResetCachesResponse\"\x06\xfa\x97(\x02\x08\x01\x12\x43\n\x06HgCall\x12\x16.hgitaly.HgCallRequest\x1a\x17.hgitaly.HgCallResponse\"\x06\xfa\x97(\x02\x08\x01\x30\x01\x12_\n\x10GetManagedConfig\x12 .hgitaly.GetManagedConfigRequest\x1a!.hgitaly.GetManagedConfigResponse\"\x06\xfa\x97(\x02\x08\x02\x12_\n\x10SetManagedConfig\x12 .hgitaly.SetManagedConfigRequest\x1a!.hgitaly.SetManagedConfigResponse\"\x06\xfa\x97(\x02\x08\x01\x12;\n\x04Push\x12\x14.hgitaly.PushRequest\x1a\x15.hgitaly.PushResponse\"\x06\xfa\x97(\x02\x08\x01\x12;\n\x04Pull\x12\x14.hgitaly.PullRequest\x1a\x15.hgitaly.PullResponse\"\x06\xfa\x97(\x02\x08\x01\x12S\n\x0cHousekeeping\x12\x1c.hgitaly.HousekeepingRequest\x1a\x1d.hgitaly.HousekeepingResponse\"\x06\xfa\x97(\x02\x08\x01\x62\x06proto3')
19
+
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mercurial_repository_pb2', _globals)
23
+ if _descriptor._USE_C_DESCRIPTORS == False:
24
+
25
+ DESCRIPTOR._options = None
26
+ _INITCONFIGREQUEST.fields_by_name['repository']._options = None
27
+ _INITCONFIGREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
28
+ _GETMANAGEDCONFIGREQUEST.fields_by_name['repository']._options = None
29
+ _GETMANAGEDCONFIGREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
30
+ _SETMANAGEDCONFIGREQUEST.fields_by_name['repository']._options = None
31
+ _SETMANAGEDCONFIGREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
32
+ _GETCONFIGITEMREQUEST.fields_by_name['repository']._options = None
33
+ _GETCONFIGITEMREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
34
+ _RECOVERREQUEST.fields_by_name['repository']._options = None
35
+ _RECOVERREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
36
+ _OPTIMIZEREQUEST.fields_by_name['repository']._options = None
37
+ _OPTIMIZEREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
38
+ _RESETCACHESREQUEST.fields_by_name['repository']._options = None
39
+ _RESETCACHESREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
40
+ _PUSHREQUEST.fields_by_name['repository']._options = None
41
+ _PUSHREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
42
+ _PULLREQUEST.fields_by_name['repository']._options = None
43
+ _PULLREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
44
+ _HGCALLREQUEST.fields_by_name['repository']._options = None
45
+ _HGCALLREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
46
+ _HOUSEKEEPINGREQUEST.fields_by_name['repository']._options = None
47
+ _HOUSEKEEPINGREQUEST.fields_by_name['repository']._serialized_options = b'\230\306,\001'
48
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['InitConfig']._options = None
49
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['InitConfig']._serialized_options = b'\372\227(\002\010\001'
50
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['GetConfigItem']._options = None
51
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['GetConfigItem']._serialized_options = b'\372\227(\002\010\002'
52
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Recover']._options = None
53
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Recover']._serialized_options = b'\372\227(\002\010\002'
54
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Optimize']._options = None
55
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Optimize']._serialized_options = b'\372\227(\002\010\001'
56
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['ResetCaches']._options = None
57
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['ResetCaches']._serialized_options = b'\372\227(\002\010\001'
58
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['HgCall']._options = None
59
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['HgCall']._serialized_options = b'\372\227(\002\010\001'
60
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['GetManagedConfig']._options = None
61
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['GetManagedConfig']._serialized_options = b'\372\227(\002\010\002'
62
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['SetManagedConfig']._options = None
63
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['SetManagedConfig']._serialized_options = b'\372\227(\002\010\001'
64
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Push']._options = None
65
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Push']._serialized_options = b'\372\227(\002\010\001'
66
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Pull']._options = None
67
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Pull']._serialized_options = b'\372\227(\002\010\001'
68
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Housekeeping']._options = None
69
+ _MERCURIALREPOSITORYSERVICE.methods_by_name['Housekeeping']._serialized_options = b'\372\227(\002\010\001'
70
+ _globals['_CONFIGITEMTYPE']._serialized_start=2642
71
+ _globals['_CONFIGITEMTYPE']._serialized_end=2680
72
+ _globals['_INITCONFIGREQUEST']._serialized_start=65
73
+ _globals['_INITCONFIGREQUEST']._serialized_end=154
74
+ _globals['_INITCONFIGRESPONSE']._serialized_start=156
75
+ _globals['_INITCONFIGRESPONSE']._serialized_end=176
76
+ _globals['_HEPTAPODCONFIGSECTION']._serialized_start=179
77
+ _globals['_HEPTAPODCONFIGSECTION']._serialized_end=606
78
+ _globals['_HEPTAPODCONFIGSECTION_AUTOPUBLISH']._serialized_start=413
79
+ _globals['_HEPTAPODCONFIGSECTION_AUTOPUBLISH']._serialized_end=467
80
+ _globals['_HEPTAPODCONFIGSECTION_CLONEBUNDLES']._serialized_start=469
81
+ _globals['_HEPTAPODCONFIGSECTION_CLONEBUNDLES']._serialized_end=526
82
+ _globals['_GETMANAGEDCONFIGREQUEST']._serialized_start=608
83
+ _globals['_GETMANAGEDCONFIGREQUEST']._serialized_end=694
84
+ _globals['_GETMANAGEDCONFIGRESPONSE']._serialized_start=696
85
+ _globals['_GETMANAGEDCONFIGRESPONSE']._serialized_end=789
86
+ _globals['_SETMANAGEDCONFIGREQUEST']._serialized_start=792
87
+ _globals['_SETMANAGEDCONFIGREQUEST']._serialized_end=986
88
+ _globals['_SETMANAGEDCONFIGRESPONSE']._serialized_start=988
89
+ _globals['_SETMANAGEDCONFIGRESPONSE']._serialized_end=1014
90
+ _globals['_GETCONFIGITEMREQUEST']._serialized_start=1017
91
+ _globals['_GETCONFIGITEMREQUEST']._serialized_end=1158
92
+ _globals['_GETCONFIGITEMRESPONSE']._serialized_start=1160
93
+ _globals['_GETCONFIGITEMRESPONSE']._serialized_end=1232
94
+ _globals['_RECOVERREQUEST']._serialized_start=1234
95
+ _globals['_RECOVERREQUEST']._serialized_end=1296
96
+ _globals['_RECOVERRESPONSE']._serialized_start=1298
97
+ _globals['_RECOVERRESPONSE']._serialized_end=1335
98
+ _globals['_OPTIMIZEREQUEST']._serialized_start=1337
99
+ _globals['_OPTIMIZEREQUEST']._serialized_end=1400
100
+ _globals['_OPTIMIZERESPONSE']._serialized_start=1402
101
+ _globals['_OPTIMIZERESPONSE']._serialized_end=1420
102
+ _globals['_RESETCACHESREQUEST']._serialized_start=1423
103
+ _globals['_RESETCACHESREQUEST']._serialized_end=1559
104
+ _globals['_RESETCACHESREQUEST_CACHE']._serialized_start=1542
105
+ _globals['_RESETCACHESREQUEST_CACHE']._serialized_end=1559
106
+ _globals['_RESETCACHESRESPONSE']._serialized_start=1561
107
+ _globals['_RESETCACHESRESPONSE']._serialized_end=1582
108
+ _globals['_MERCURIALPEER']._serialized_start=1584
109
+ _globals['_MERCURIALPEER']._serialized_end=1682
110
+ _globals['_PUSHREQUEST']._serialized_start=1685
111
+ _globals['_PUSHREQUEST']._serialized_end=1852
112
+ _globals['_PUSHRESPONSE']._serialized_start=1854
113
+ _globals['_PUSHRESPONSE']._serialized_end=1892
114
+ _globals['_PULLREQUEST']._serialized_start=1895
115
+ _globals['_PULLREQUEST']._serialized_end=2079
116
+ _globals['_PULLRESPONSE']._serialized_start=2081
117
+ _globals['_PULLRESPONSE']._serialized_end=2119
118
+ _globals['_HGCALLREQUEST']._serialized_start=2121
119
+ _globals['_HGCALLREQUEST']._serialized_end=2224
120
+ _globals['_HGCALLRESPONSE']._serialized_start=2226
121
+ _globals['_HGCALLRESPONSE']._serialized_end=2277
122
+ _globals['_HOUSEKEEPINGREQUEST']._serialized_start=2280
123
+ _globals['_HOUSEKEEPINGREQUEST']._serialized_end=2474
124
+ _globals['_HOUSEKEEPINGRESPONSE']._serialized_start=2477
125
+ _globals['_HOUSEKEEPINGRESPONSE']._serialized_end=2640
126
+ _globals['_MERCURIALREPOSITORYSERVICE']._serialized_start=2683
127
+ _globals['_MERCURIALREPOSITORYSERVICE']._serialized_end=3573
128
+ # @@protoc_insertion_point(module_scope)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 17.8.3
3
+ Version: 17.8.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
@@ -1,24 +1,8 @@
1
- .coveragerc
2
- .gitlab-ci.yml
3
- .hgignore
4
- .hgtags
5
1
  LICENSE
6
2
  MANIFEST.in
7
3
  README.md
8
- conftest.py
9
- dev-requirements.txt
10
- generate-stubs
11
4
  install-requirements.txt
12
- lint
13
- run-all-tests
14
5
  setup.py
15
- test-requirements.txt
16
- ci/heptapod-sftp-push
17
- ci/heptapod-sign-package
18
- ci/heptapod_known_hosts.ssh
19
- ci/upload-rhgitaly
20
- examples/client.py
21
- examples/client_list_lcft.py
22
6
  hgext3rd/__init__.py
23
7
  hgext3rd/hgitaly/__init__.py
24
8
  hgext3rd/hgitaly/revset.py
@@ -60,7 +44,6 @@ hgitaly.egg-info/dependency_links.txt
60
44
  hgitaly.egg-info/entry_points.txt
61
45
  hgitaly.egg-info/requires.txt
62
46
  hgitaly.egg-info/top_level.txt
63
- hgitaly/license_detector/GPL-2.sample
64
47
  hgitaly/license_detector/__init__.py
65
48
  hgitaly/license_detector/spdx-licenses.json
66
49
  hgitaly/linguist/__init__.py
@@ -142,15 +125,6 @@ hgitaly/testing/grpc.py
142
125
  hgitaly/testing/ssh.py
143
126
  hgitaly/testing/sshd.py
144
127
  hgitaly/testing/storage.py
145
- hgitaly/testing/data/authorized_keys
146
- hgitaly/testing/data/backup_additional_no_git.tar
147
- hgitaly/testing/data/id_ecdsa_user
148
- hgitaly/testing/data/known_hosts
149
- hgitaly/testing/data/ssh_host_ecdsa_key
150
- hgitaly/testing/data/ssh_host_ecdsa_key.pub
151
- hgitaly/testing/data/ssh_host_ed25519
152
- hgitaly/testing/data/ssh_host_ed25519.pub
153
- hgitaly/testing/data/sshd_config
154
128
  hgitaly/testing/tests/__init__.py
155
129
  hgitaly/testing/tests/test_sshd.py
156
130
  hgitaly/tests/__init__.py
@@ -174,119 +148,6 @@ hgitaly/tests/test_servicer.py
174
148
  hgitaly/tests/test_stream.py
175
149
  hgitaly/tests/test_tag.py
176
150
  hgitaly/tests/test_workdir.py
177
- protos/analysis.proto
178
- protos/blob.proto
179
- protos/cleanup.proto
180
- protos/cluster.proto
181
- protos/commit.proto
182
- protos/conflicts.proto
183
- protos/diff.proto
184
- protos/errors.proto
185
- protos/hook.proto
186
- protos/internal.proto
187
- protos/lint.proto
188
- protos/log.proto
189
- protos/mercurial-aux-git.proto
190
- protos/mercurial-changeset.proto
191
- protos/mercurial-operations.proto
192
- protos/mercurial-repository.proto
193
- protos/namespace.proto
194
- protos/objectpool.proto
195
- protos/operations.proto
196
- protos/packfile.proto
197
- protos/partition.proto
198
- protos/praefect.proto
199
- protos/ref.proto
200
- protos/remote.proto
201
- protos/repository.proto
202
- protos/server.proto
203
- protos/service_config.proto
204
- protos/shared.proto
205
- protos/smarthttp.proto
206
- protos/ssh.proto
207
- protos/transaction.proto
208
- protos/wiki.proto
209
- ruby/.ruby-version
210
- ruby/Gemfile
211
- ruby/README.md
212
- ruby/generate-grpc-lib
213
- ruby/hgitaly.gemspec
214
- ruby/run.rb
215
- ruby/lib/hgitaly.rb
216
- ruby/lib/hgitaly/mercurial-aux-git_pb.rb
217
- ruby/lib/hgitaly/mercurial-aux-git_services_pb.rb
218
- ruby/lib/hgitaly/mercurial-changeset_pb.rb
219
- ruby/lib/hgitaly/mercurial-changeset_services_pb.rb
220
- ruby/lib/hgitaly/mercurial-operations_pb.rb
221
- ruby/lib/hgitaly/mercurial-operations_services_pb.rb
222
- ruby/lib/hgitaly/mercurial-repository_pb.rb
223
- ruby/lib/hgitaly/mercurial-repository_services_pb.rb
224
- ruby/lib/hgitaly/version.rb
225
- rust/Cargo.lock
226
- rust/Cargo.toml
227
- rust/Makefile
228
- rust/build-from-tarball.sh
229
- rust/check-line-width
230
- rust/go-enry.rev
231
- rust/lint
232
- rust/mercurial.rev
233
- rust/rs-enry.rev
234
- rust/src-tarball.sh
235
- rust/dependencies/README.md
236
- rust/dependencies/mercurial.patch
237
- rust/dependencies/proto/google/protobuf/any.proto
238
- rust/dependencies/proto/google/protobuf/api.proto
239
- rust/dependencies/proto/google/protobuf/descriptor.proto
240
- rust/dependencies/proto/google/protobuf/duration.proto
241
- rust/dependencies/proto/google/protobuf/empty.proto
242
- rust/dependencies/proto/google/protobuf/field_mask.proto
243
- rust/dependencies/proto/google/protobuf/source_context.proto
244
- rust/dependencies/proto/google/protobuf/struct.proto
245
- rust/dependencies/proto/google/protobuf/timestamp.proto
246
- rust/dependencies/proto/google/protobuf/type.proto
247
- rust/dependencies/proto/google/protobuf/wrappers.proto
248
- rust/dependencies/proto/google/protobuf/compiler/plugin.proto
249
- rust/rhgitaly/Cargo.toml
250
- rust/rhgitaly/build.rs
251
- rust/rhgitaly/clippy.toml
252
- rust/rhgitaly/src/bundle.rs
253
- rust/rhgitaly/src/config.rs
254
- rust/rhgitaly/src/errors.rs
255
- rust/rhgitaly/src/git.rs
256
- rust/rhgitaly/src/glob.rs
257
- rust/rhgitaly/src/lib.rs
258
- rust/rhgitaly/src/main.rs
259
- rust/rhgitaly/src/mercurial.rs
260
- rust/rhgitaly/src/message.rs
261
- rust/rhgitaly/src/metadata.rs
262
- rust/rhgitaly/src/oid.rs
263
- rust/rhgitaly/src/process.rs
264
- rust/rhgitaly/src/repository.rs
265
- rust/rhgitaly/src/sidecar.rs
266
- rust/rhgitaly/src/ssh.rs
267
- rust/rhgitaly/src/streaming.rs
268
- rust/rhgitaly/src/util.rs
269
- rust/rhgitaly/src/generated/README.md
270
- rust/rhgitaly/src/gitlab/mod.rs
271
- rust/rhgitaly/src/gitlab/reference.rs
272
- rust/rhgitaly/src/gitlab/revision.rs
273
- rust/rhgitaly/src/gitlab/state.rs
274
- rust/rhgitaly/src/repository/spawner.rs
275
- rust/rhgitaly/src/service/analysis.rs
276
- rust/rhgitaly/src/service/blob.rs
277
- rust/rhgitaly/src/service/commit.rs
278
- rust/rhgitaly/src/service/diff.rs
279
- rust/rhgitaly/src/service/mercurial_aux_git.rs
280
- rust/rhgitaly/src/service/mercurial_repository.rs
281
- rust/rhgitaly/src/service/mod.rs
282
- rust/rhgitaly/src/service/ref.rs
283
- rust/rhgitaly/src/service/remote.rs
284
- rust/rhgitaly/src/service/repository.rs
285
- rust/rhgitaly/src/service/server.rs
286
- rust/rhgitaly/src/service/commit/find_commits.rs
287
- rust/rhgitaly/src/service/commit/get_tree_entries.rs
288
- rust/rhgitaly/src/service/commit/last_commits.rs
289
- rust/rhgitaly/src/service/commit/tree_entry.rs
290
151
  tests_with_gitaly/__init__.py
291
152
  tests_with_gitaly/comparison.py
292
153
  tests_with_gitaly/conftest.py
@@ -1,5 +0,0 @@
1
- [run]
2
- omit=
3
- hgitaly/stub/*
4
- hgitaly/tests/*
5
- plugins = coverage_mercurial
@@ -1,150 +0,0 @@
1
- stages:
2
- - main
3
- - compat
4
- - packaging
5
-
6
- variables:
7
- # has to be "stable" in the stable branch, and actually we should rename
8
- # "latest" as "default": this would let us just use $CI_COMMIT_HG_BRANCH
9
- BASE_IMAGES_TAG: $CI_COMMIT_HG_BRANCH
10
- BASE_IMAGES_COLLECTION: registry.heptapod.net:443/heptapod/ci-images
11
- BASE_IMAGES_MERCURIAL: $BASE_IMAGES_COLLECTION/mercurial
12
- MERCURIAL_SHARE_FROM: /opt/mercurial/hg
13
- CARGO_HOME: ${CI_PROJECT_DIR}/cargo_home
14
- RHGITALY_EXECUTABLE: rust/target/debug/rhgitaly
15
-
16
- workflow:
17
- rules:
18
- - if: '$CI_COMMIT_TAG'
19
- when: always
20
- # in practice, we're interested in MR events and occasional runs
21
- # from the web.
22
- - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
23
- - if: '$CI_PIPELINE_SOURCE == "web"'
24
- - if: '$CI_PIPELINE_SOURCE == "pipeline"'
25
- - if: '$CI_PIPELINE_SOURCE == "push"'
26
- when: never
27
-
28
- check-sdist:
29
- stage: compat
30
- rules:
31
- - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
32
- - if: '$CI_COMMIT_BRANCH =~ /^branch\/(default,stable)$/'
33
- - when: never
34
- image: $BASE_IMAGES_MERCURIAL/hg-current:default
35
- needs: []
36
- script:
37
- - rm -rf dist
38
- - python3 setup.py sdist
39
- # most requirements will be preinstalled in the base image (taken from the
40
- # default branch of HGitaly at time of image build), but they will be
41
- # reexamined and any change will be tested.
42
- - pip3 install dist/*.tar.gz
43
-
44
- # used to mark job that should run for the 'default' branch of HGitaly only
45
- .only_hgitaly_default:
46
- rules:
47
- - if: '$CI_COMMIT_HG_BRANCH == "default"'
48
- - when: never
49
-
50
- .pytests:
51
- before_script:
52
- # usually the base image should have all that's needed
53
- # but in case of changes in test dependencies, we may still
54
- # need to install/update something.
55
- - pip3 install -r test-requirements.txt
56
- - pip3 freeze
57
- - ./lint
58
- - mkdir -p /run/sshd
59
- script:
60
- - ./run-all-tests
61
-
62
- .cargo-cache:
63
- cache:
64
- key: cargo-${CI_COMMIT_HG_BRANCH}
65
- paths:
66
- # not caching bin/ nor .crates files as these are for installed binaries
67
- # and should be treated as artifacts instead
68
- - ${CARGO_HOME}/registry/index/
69
- - ${CARGO_HOME}/registry/cache/
70
- - ${CARGO_HOME}/git/db/
71
-
72
- tests-rust:
73
- stage: main
74
- image: ${BASE_IMAGES_COLLECTION}/hgitaly-rust:${CI_COMMIT_HG_BRANCH}
75
- extends: .cargo-cache
76
- variables:
77
- CI_CLEVER_CLOUD_FLAVOR: XL
78
- cache:
79
- policy: pull-push
80
- script:
81
- - make -C rust dev-dependencies
82
- - rustc --version
83
- - cargo build --locked --manifest-path rust/Cargo.toml
84
- - cargo test --manifest-path rust/Cargo.toml
85
- - rust/lint
86
- artifacts:
87
- expire_in: 1d
88
- paths:
89
- - ${RHGITALY_EXECUTABLE}
90
-
91
- tests-hg-current:
92
- variables:
93
- HGITALY_TESTS_HG_EXE_PATH: /usr/local/bin/hg
94
- extends:
95
- - .pytests
96
- stage: main
97
- image: ${BASE_IMAGES_MERCURIAL}/hg-current:${BASE_IMAGES_TAG}
98
-
99
- tests-hg-stable:
100
- variables:
101
- HGITALY_TESTS_HG_EXE_PATH: /usr/local/bin/hg
102
- extends:
103
- - .pytests
104
- - .only_hgitaly_default
105
- allow_failure: true
106
- stage: compat
107
- image: ${BASE_IMAGES_MERCURIAL}/hg-stable:${BASE_IMAGES_TAG}
108
-
109
- tests-hg-default:
110
- variables:
111
- HGITALY_TESTS_HG_EXE_PATH: /usr/local/bin/hg
112
- extends:
113
- - .pytests
114
- - .only_hgitaly_default
115
- allow_failure: true
116
- stage: compat
117
- image: ${BASE_IMAGES_MERCURIAL}/hg-default:${BASE_IMAGES_TAG}
118
-
119
-
120
- gitaly-comparison:
121
- extends:
122
- - .pytests
123
- - .cargo-cache
124
- cache:
125
- policy: pull
126
- stage: compat
127
- image: ${BASE_IMAGES_COLLECTION}/heptapod-gitaly:${CI_COMMIT_HG_BRANCH}
128
- variables:
129
- GITALY_INSTALL_DIR: /opt/gitlab/gitaly
130
- script:
131
- - echo "Full test run with Gitaly and RHGitaly Comparison tests"
132
- - ./run-all-tests
133
-
134
-
135
- upload:
136
- image: ${BASE_IMAGES_COLLECTION}/hgitaly-rust:${CI_COMMIT_HG_BRANCH}
137
- stage: packaging
138
- extends:
139
- - .cargo-cache
140
- cache:
141
- policy: pull
142
- needs: []
143
- rules:
144
- - if: '$CI_COMMIT_TAG'
145
- when: always
146
- - if: '$CI_PIPELINE_SOURCE == "web" && $RHGITALY_UPLOAD'
147
- when: always
148
- - when: never
149
- script:
150
- - make -C rust ci-cd-upload
hgitaly-17.8.3/.hgignore DELETED
@@ -1,34 +0,0 @@
1
- syntax: glob
2
- *.swp
3
- *\#
4
- *.\#*
5
- *~
6
- *.pyc
7
- build/
8
- *.egg-info/
9
- dist/
10
- venv/
11
-
12
- *.orig
13
-
14
- .pytest_cache/
15
- .coverage
16
- .coverage.*
17
- htmlcov/
18
- .mypy_cache/
19
-
20
- # Ruby generated lib
21
- # versions don't have to be pinned, because the gem
22
- # dependencies are only to generate the stubs.
23
- ruby/Gemfile.lock
24
- ruby/.bundle
25
- ruby/*.gem
26
-
27
- # Rust
28
-
29
- syntax:rootglob
30
-
31
- rust/target/*
32
- rust/dependencies/mercurial/*
33
- rust/dependencies/*-enry/
34
- rust/rhgitaly/src/generated/*