hgitaly 17.11.2__tar.gz → 17.11.3__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.3}/PKG-INFO +1 -1
  2. hgitaly-17.11.3/hgitaly/VERSION +1 -0
  3. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/ssh.py +1 -0
  4. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly.egg-info/PKG-INFO +1 -1
  5. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly.egg-info/SOURCES.txt +0 -132
  6. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_remote.py +37 -0
  7. hgitaly-17.11.2/.coveragerc +0 -5
  8. hgitaly-17.11.2/.gitlab-ci.yml +0 -154
  9. hgitaly-17.11.2/.hgignore +0 -34
  10. hgitaly-17.11.2/.hgtags +0 -145
  11. hgitaly-17.11.2/ci/heptapod-sftp-push +0 -31
  12. hgitaly-17.11.2/ci/heptapod-sign-package +0 -34
  13. hgitaly-17.11.2/ci/heptapod_known_hosts.ssh +0 -4
  14. hgitaly-17.11.2/ci/upload-rhgitaly +0 -43
  15. hgitaly-17.11.2/conftest.py +0 -92
  16. hgitaly-17.11.2/dev-requirements.txt +0 -2
  17. hgitaly-17.11.2/examples/client.py +0 -48
  18. hgitaly-17.11.2/examples/client_list_lcft.py +0 -55
  19. hgitaly-17.11.2/generate-stubs +0 -34
  20. hgitaly-17.11.2/hgitaly/VERSION +0 -1
  21. hgitaly-17.11.2/hgitaly/license_detector/GPL-2.sample +0 -339
  22. hgitaly-17.11.2/hgitaly/testing/data/authorized_keys +0 -1
  23. hgitaly-17.11.2/hgitaly/testing/data/backup_additional_no_git.tar +0 -0
  24. hgitaly-17.11.2/hgitaly/testing/data/id_ecdsa_user +0 -38
  25. hgitaly-17.11.2/hgitaly/testing/data/known_hosts +0 -2
  26. hgitaly-17.11.2/hgitaly/testing/data/ssh_host_ecdsa_key +0 -9
  27. hgitaly-17.11.2/hgitaly/testing/data/ssh_host_ecdsa_key.pub +0 -1
  28. hgitaly-17.11.2/hgitaly/testing/data/ssh_host_ed25519 +0 -8
  29. hgitaly-17.11.2/hgitaly/testing/data/ssh_host_ed25519.pub +0 -1
  30. hgitaly-17.11.2/hgitaly/testing/data/sshd_config +0 -17
  31. hgitaly-17.11.2/lint +0 -7
  32. hgitaly-17.11.2/protos/analysis.proto +0 -62
  33. hgitaly-17.11.2/protos/blob.proto +0 -299
  34. hgitaly-17.11.2/protos/cleanup.proto +0 -88
  35. hgitaly-17.11.2/protos/cluster.proto +0 -126
  36. hgitaly-17.11.2/protos/commit.proto +0 -985
  37. hgitaly-17.11.2/protos/conflicts.proto +0 -137
  38. hgitaly-17.11.2/protos/diff.proto +0 -622
  39. hgitaly-17.11.2/protos/errors.proto +0 -228
  40. hgitaly-17.11.2/protos/hook.proto +0 -205
  41. hgitaly-17.11.2/protos/internal.proto +0 -37
  42. hgitaly-17.11.2/protos/lint.proto +0 -75
  43. hgitaly-17.11.2/protos/log.proto +0 -134
  44. hgitaly-17.11.2/protos/mercurial-changeset.proto +0 -96
  45. hgitaly-17.11.2/protos/mercurial-operations.proto +0 -230
  46. hgitaly-17.11.2/protos/mercurial-repository.proto +0 -364
  47. hgitaly-17.11.2/protos/namespace.proto +0 -98
  48. hgitaly-17.11.2/protos/objectpool.proto +0 -173
  49. hgitaly-17.11.2/protos/operations.proto +0 -1139
  50. hgitaly-17.11.2/protos/packfile.proto +0 -26
  51. hgitaly-17.11.2/protos/partition.proto +0 -70
  52. hgitaly-17.11.2/protos/praefect.proto +0 -222
  53. hgitaly-17.11.2/protos/ref.proto +0 -593
  54. hgitaly-17.11.2/protos/remote.proto +0 -153
  55. hgitaly-17.11.2/protos/repository.proto +0 -1440
  56. hgitaly-17.11.2/protos/server.proto +0 -123
  57. hgitaly-17.11.2/protos/service_config.proto +0 -86
  58. hgitaly-17.11.2/protos/shared.proto +0 -248
  59. hgitaly-17.11.2/protos/smarthttp.proto +0 -121
  60. hgitaly-17.11.2/protos/ssh.proto +0 -109
  61. hgitaly-17.11.2/protos/transaction.proto +0 -104
  62. hgitaly-17.11.2/protos/wiki.proto +0 -211
  63. hgitaly-17.11.2/ruby/.ruby-version +0 -1
  64. hgitaly-17.11.2/ruby/Gemfile +0 -5
  65. hgitaly-17.11.2/ruby/README.md +0 -48
  66. hgitaly-17.11.2/ruby/generate-grpc-lib +0 -63
  67. hgitaly-17.11.2/ruby/hgitaly.gemspec +0 -25
  68. hgitaly-17.11.2/ruby/lib/hgitaly/mercurial-changeset_pb.rb +0 -69
  69. hgitaly-17.11.2/ruby/lib/hgitaly/mercurial-changeset_services_pb.rb +0 -25
  70. hgitaly-17.11.2/ruby/lib/hgitaly/mercurial-operations_pb.rb +0 -133
  71. hgitaly-17.11.2/ruby/lib/hgitaly/mercurial-operations_services_pb.rb +0 -53
  72. hgitaly-17.11.2/ruby/lib/hgitaly/mercurial-repository_pb.rb +0 -163
  73. hgitaly-17.11.2/ruby/lib/hgitaly/mercurial-repository_services_pb.rb +0 -79
  74. hgitaly-17.11.2/ruby/lib/hgitaly/version.rb +0 -4
  75. hgitaly-17.11.2/ruby/lib/hgitaly.rb +0 -13
  76. hgitaly-17.11.2/ruby/run.rb +0 -39
  77. hgitaly-17.11.2/run-all-tests +0 -24
  78. hgitaly-17.11.2/rust/Cargo.lock +0 -3293
  79. hgitaly-17.11.2/rust/Cargo.toml +0 -4
  80. hgitaly-17.11.2/rust/Makefile +0 -69
  81. hgitaly-17.11.2/rust/build-from-tarball.sh +0 -30
  82. hgitaly-17.11.2/rust/check-line-width +0 -48
  83. hgitaly-17.11.2/rust/dependencies/README.md +0 -19
  84. hgitaly-17.11.2/rust/dependencies/mercurial.patch +0 -39
  85. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/any.proto +0 -158
  86. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/api.proto +0 -208
  87. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/compiler/plugin.proto +0 -183
  88. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/descriptor.proto +0 -911
  89. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/duration.proto +0 -116
  90. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/empty.proto +0 -52
  91. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/field_mask.proto +0 -245
  92. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/source_context.proto +0 -48
  93. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/struct.proto +0 -95
  94. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/timestamp.proto +0 -147
  95. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/type.proto +0 -187
  96. hgitaly-17.11.2/rust/dependencies/proto/google/protobuf/wrappers.proto +0 -123
  97. hgitaly-17.11.2/rust/go-enry.rev +0 -1
  98. hgitaly-17.11.2/rust/lint +0 -14
  99. hgitaly-17.11.2/rust/mercurial.rev +0 -1
  100. hgitaly-17.11.2/rust/rhgitaly/Cargo.toml +0 -49
  101. hgitaly-17.11.2/rust/rhgitaly/build.rs +0 -46
  102. hgitaly-17.11.2/rust/rhgitaly/clippy.toml +0 -6
  103. hgitaly-17.11.2/rust/rhgitaly/src/config.rs +0 -167
  104. hgitaly-17.11.2/rust/rhgitaly/src/errors.rs +0 -123
  105. hgitaly-17.11.2/rust/rhgitaly/src/generated/README.md +0 -7
  106. hgitaly-17.11.2/rust/rhgitaly/src/git.rs +0 -293
  107. hgitaly-17.11.2/rust/rhgitaly/src/gitlab/mod.rs +0 -50
  108. hgitaly-17.11.2/rust/rhgitaly/src/gitlab/reference.rs +0 -83
  109. hgitaly-17.11.2/rust/rhgitaly/src/gitlab/revision.rs +0 -320
  110. hgitaly-17.11.2/rust/rhgitaly/src/gitlab/state.rs +0 -508
  111. hgitaly-17.11.2/rust/rhgitaly/src/glob.rs +0 -227
  112. hgitaly-17.11.2/rust/rhgitaly/src/lib.rs +0 -44
  113. hgitaly-17.11.2/rust/rhgitaly/src/main.rs +0 -127
  114. hgitaly-17.11.2/rust/rhgitaly/src/mercurial.rs +0 -1366
  115. hgitaly-17.11.2/rust/rhgitaly/src/message.rs +0 -468
  116. hgitaly-17.11.2/rust/rhgitaly/src/metadata.rs +0 -27
  117. hgitaly-17.11.2/rust/rhgitaly/src/oid.rs +0 -86
  118. hgitaly-17.11.2/rust/rhgitaly/src/process.rs +0 -39
  119. hgitaly-17.11.2/rust/rhgitaly/src/repository/spawner.rs +0 -559
  120. hgitaly-17.11.2/rust/rhgitaly/src/service/analysis.rs +0 -184
  121. hgitaly-17.11.2/rust/rhgitaly/src/service/blob.rs +0 -260
  122. hgitaly-17.11.2/rust/rhgitaly/src/service/commit/find_commits.rs +0 -203
  123. hgitaly-17.11.2/rust/rhgitaly/src/service/commit/get_tree_entries.rs +0 -291
  124. hgitaly-17.11.2/rust/rhgitaly/src/service/commit/last_commits.rs +0 -569
  125. hgitaly-17.11.2/rust/rhgitaly/src/service/commit/tree_entry.rs +0 -154
  126. hgitaly-17.11.2/rust/rhgitaly/src/service/diff.rs +0 -97
  127. hgitaly-17.11.2/rust/rhgitaly/src/service/mercurial_repository.rs +0 -435
  128. hgitaly-17.11.2/rust/rhgitaly/src/service/mod.rs +0 -16
  129. hgitaly-17.11.2/rust/rhgitaly/src/service/ref.rs +0 -660
  130. hgitaly-17.11.2/rust/rhgitaly/src/service/remote.rs +0 -669
  131. hgitaly-17.11.2/rust/rhgitaly/src/service/repository.rs +0 -777
  132. hgitaly-17.11.2/rust/rhgitaly/src/service/server.rs +0 -37
  133. hgitaly-17.11.2/rust/rhgitaly/src/sidecar.rs +0 -186
  134. hgitaly-17.11.2/rust/rhgitaly/src/ssh.rs +0 -102
  135. hgitaly-17.11.2/rust/rhgitaly/src/streaming.rs +0 -402
  136. hgitaly-17.11.2/rust/rhgitaly/src/util.rs +0 -132
  137. hgitaly-17.11.2/rust/rs-enry.rev +0 -1
  138. hgitaly-17.11.2/rust/src-tarball.sh +0 -63
  139. hgitaly-17.11.2/test-requirements.txt +0 -8
  140. {hgitaly-17.11.2 → hgitaly-17.11.3}/LICENSE +0 -0
  141. {hgitaly-17.11.2 → hgitaly-17.11.3}/MANIFEST.in +0 -0
  142. {hgitaly-17.11.2 → hgitaly-17.11.3}/README.md +0 -0
  143. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgext3rd/__init__.py +0 -0
  144. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgext3rd/hgitaly/__init__.py +0 -0
  145. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgext3rd/hgitaly/revset.py +0 -0
  146. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgext3rd/hgitaly/tests/__init__.py +0 -0
  147. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
  148. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
  149. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/__init__.py +0 -0
  150. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/branch.py +0 -0
  151. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/changelog.py +0 -0
  152. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/diff.py +0 -0
  153. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/errors.py +0 -0
  154. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/feature.py +0 -0
  155. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/file_content.py +0 -0
  156. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/file_context.py +0 -0
  157. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/git.py +0 -0
  158. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/gitlab_ref.py +0 -0
  159. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/identification.py +0 -0
  160. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/license_detector/__init__.py +0 -0
  161. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/license_detector/spdx-licenses.json +0 -0
  162. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/linguist/__init__.py +0 -0
  163. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/linguist/languages.json +0 -0
  164. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/logging.py +0 -0
  165. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/manifest.py +0 -0
  166. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/message.py +0 -0
  167. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/oid.py +0 -0
  168. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/pagination.py +0 -0
  169. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/path.py +0 -0
  170. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/peer.py +0 -0
  171. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/procutil.py +0 -0
  172. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/repository.py +0 -0
  173. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/revision.py +0 -0
  174. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/revset.py +0 -0
  175. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/scripts.py +0 -0
  176. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/__init__.py +0 -0
  177. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/address.py +0 -0
  178. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/mono.py +0 -0
  179. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/prefork.py +0 -0
  180. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/tests/__init__.py +0 -0
  181. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/tests/test_address.py +0 -0
  182. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/tests/test_mono.py +0 -0
  183. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/tests/test_prefork.py +0 -0
  184. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/tests/test_worker.py +0 -0
  185. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/server/worker.py +0 -0
  186. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/__init__.py +0 -0
  187. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/analysis.py +0 -0
  188. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/blob.py +0 -0
  189. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/commit.py +0 -0
  190. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/diff.py +0 -0
  191. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/interceptors.py +0 -0
  192. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/mercurial_changeset.py +0 -0
  193. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/mercurial_operations.py +0 -0
  194. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/mercurial_repository.py +0 -0
  195. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/operations.py +0 -0
  196. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/ref.py +0 -0
  197. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/repository.py +0 -0
  198. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/server.py +0 -0
  199. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/__init__.py +0 -0
  200. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/fixture.py +0 -0
  201. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_analysis.py +0 -0
  202. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_blob.py +0 -0
  203. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_commit.py +0 -0
  204. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_default_branch.py +0 -0
  205. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_diff.py +0 -0
  206. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
  207. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_mercurial_operations.py +0 -0
  208. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_mercurial_repository.py +0 -0
  209. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_operations.py +0 -0
  210. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_ref.py +0 -0
  211. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_repository_service.py +0 -0
  212. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/service/tests/test_server.py +0 -0
  213. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/servicer.py +0 -0
  214. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/ssh.py +0 -0
  215. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stream.py +0 -0
  216. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/__init__.py +0 -0
  217. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/analysis_pb2.py +0 -0
  218. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
  219. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/blob_pb2.py +0 -0
  220. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/blob_pb2_grpc.py +0 -0
  221. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/commit_pb2.py +0 -0
  222. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/commit_pb2_grpc.py +0 -0
  223. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/diff_pb2.py +0 -0
  224. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/diff_pb2_grpc.py +0 -0
  225. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/errors_pb2.py +0 -0
  226. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/errors_pb2_grpc.py +0 -0
  227. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/lint_pb2.py +0 -0
  228. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/lint_pb2_grpc.py +0 -0
  229. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_aux_git_pb2.py +0 -0
  230. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_aux_git_pb2_grpc.py +0 -0
  231. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
  232. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
  233. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
  234. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
  235. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_repository_pb2.py +0 -0
  236. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
  237. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/operations_pb2.py +0 -0
  238. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/operations_pb2_grpc.py +0 -0
  239. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/ref_pb2.py +0 -0
  240. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/ref_pb2_grpc.py +0 -0
  241. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/remote_pb2.py +0 -0
  242. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/remote_pb2_grpc.py +0 -0
  243. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/repository_pb2.py +0 -0
  244. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/repository_pb2_grpc.py +0 -0
  245. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/server_pb2.py +0 -0
  246. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/server_pb2_grpc.py +0 -0
  247. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/shared_pb2.py +0 -0
  248. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/stub/shared_pb2_grpc.py +0 -0
  249. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tag.py +0 -0
  250. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/__init__.py +0 -0
  251. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/bundle.py +0 -0
  252. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/context.py +0 -0
  253. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/grpc.py +0 -0
  254. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/multiprocessing.py +0 -0
  255. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/sshd.py +0 -0
  256. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/storage.py +0 -0
  257. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/tests/__init__.py +0 -0
  258. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/testing/tests/test_sshd.py +0 -0
  259. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/__init__.py +0 -0
  260. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/common.py +0 -0
  261. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_branch.py +0 -0
  262. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_diff.py +0 -0
  263. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_errors.py +0 -0
  264. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_feature.py +0 -0
  265. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_file_context.py +0 -0
  266. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_gitlab_ref.py +0 -0
  267. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_identification.py +0 -0
  268. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_license_detector.py +0 -0
  269. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_linguist.py +0 -0
  270. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_manifest.py +0 -0
  271. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_messages.py +0 -0
  272. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_oid.py +0 -0
  273. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_peer.py +0 -0
  274. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_repository.py +0 -0
  275. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_revision.py +0 -0
  276. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_revset.py +0 -0
  277. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_servicer.py +0 -0
  278. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_stream.py +0 -0
  279. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_tag.py +0 -0
  280. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/tests/test_workdir.py +0 -0
  281. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/util.py +0 -0
  282. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly/workdir.py +0 -0
  283. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly.egg-info/dependency_links.txt +0 -0
  284. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly.egg-info/entry_points.txt +0 -0
  285. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly.egg-info/requires.txt +0 -0
  286. {hgitaly-17.11.2 → hgitaly-17.11.3}/hgitaly.egg-info/top_level.txt +0 -0
  287. {hgitaly-17.11.2 → hgitaly-17.11.3}/install-requirements.txt +0 -0
  288. {hgitaly-17.11.2 → hgitaly-17.11.3}/setup.cfg +0 -0
  289. {hgitaly-17.11.2 → hgitaly-17.11.3}/setup.py +0 -0
  290. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/__init__.py +0 -0
  291. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/comparison.py +0 -0
  292. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/conftest.py +0 -0
  293. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/gitaly.py +0 -0
  294. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
  295. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/rhgitaly.py +0 -0
  296. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_blob_tree.py +0 -0
  297. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_commit.py +0 -0
  298. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_comparison.py +0 -0
  299. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_diff.py +0 -0
  300. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_gitaly_server.py +0 -0
  301. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_mercurial_aux_git.py +0 -0
  302. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_mercurial_operations.py +0 -0
  303. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_mercurial_repository.py +0 -0
  304. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_operations.py +0 -0
  305. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_ref.py +0 -0
  306. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_repository_service.py +0 -0
  307. {hgitaly-17.11.2 → hgitaly-17.11.3}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
  308. {hgitaly-17.11.2 → hgitaly-17.11.3}/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.11.2
3
+ Version: 17.11.3
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.3
@@ -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.3
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
@@ -61,7 +45,6 @@ hgitaly.egg-info/dependency_links.txt
61
45
  hgitaly.egg-info/entry_points.txt
62
46
  hgitaly.egg-info/requires.txt
63
47
  hgitaly.egg-info/top_level.txt
64
- hgitaly/license_detector/GPL-2.sample
65
48
  hgitaly/license_detector/__init__.py
66
49
  hgitaly/license_detector/spdx-licenses.json
67
50
  hgitaly/linguist/__init__.py
@@ -144,15 +127,6 @@ hgitaly/testing/multiprocessing.py
144
127
  hgitaly/testing/ssh.py
145
128
  hgitaly/testing/sshd.py
146
129
  hgitaly/testing/storage.py
147
- hgitaly/testing/data/authorized_keys
148
- hgitaly/testing/data/backup_additional_no_git.tar
149
- hgitaly/testing/data/id_ecdsa_user
150
- hgitaly/testing/data/known_hosts
151
- hgitaly/testing/data/ssh_host_ecdsa_key
152
- hgitaly/testing/data/ssh_host_ecdsa_key.pub
153
- hgitaly/testing/data/ssh_host_ed25519
154
- hgitaly/testing/data/ssh_host_ed25519.pub
155
- hgitaly/testing/data/sshd_config
156
130
  hgitaly/testing/tests/__init__.py
157
131
  hgitaly/testing/tests/test_sshd.py
158
132
  hgitaly/tests/__init__.py
@@ -177,112 +151,6 @@ hgitaly/tests/test_servicer.py
177
151
  hgitaly/tests/test_stream.py
178
152
  hgitaly/tests/test_tag.py
179
153
  hgitaly/tests/test_workdir.py
180
- protos/analysis.proto
181
- protos/blob.proto
182
- protos/cleanup.proto
183
- protos/cluster.proto
184
- protos/commit.proto
185
- protos/conflicts.proto
186
- protos/diff.proto
187
- protos/errors.proto
188
- protos/hook.proto
189
- protos/internal.proto
190
- protos/lint.proto
191
- protos/log.proto
192
- protos/mercurial-changeset.proto
193
- protos/mercurial-operations.proto
194
- protos/mercurial-repository.proto
195
- protos/namespace.proto
196
- protos/objectpool.proto
197
- protos/operations.proto
198
- protos/packfile.proto
199
- protos/partition.proto
200
- protos/praefect.proto
201
- protos/ref.proto
202
- protos/remote.proto
203
- protos/repository.proto
204
- protos/server.proto
205
- protos/service_config.proto
206
- protos/shared.proto
207
- protos/smarthttp.proto
208
- protos/ssh.proto
209
- protos/transaction.proto
210
- protos/wiki.proto
211
- ruby/.ruby-version
212
- ruby/Gemfile
213
- ruby/README.md
214
- ruby/generate-grpc-lib
215
- ruby/hgitaly.gemspec
216
- ruby/run.rb
217
- ruby/lib/hgitaly.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/config.rs
253
- rust/rhgitaly/src/errors.rs
254
- rust/rhgitaly/src/git.rs
255
- rust/rhgitaly/src/glob.rs
256
- rust/rhgitaly/src/lib.rs
257
- rust/rhgitaly/src/main.rs
258
- rust/rhgitaly/src/mercurial.rs
259
- rust/rhgitaly/src/message.rs
260
- rust/rhgitaly/src/metadata.rs
261
- rust/rhgitaly/src/oid.rs
262
- rust/rhgitaly/src/process.rs
263
- rust/rhgitaly/src/sidecar.rs
264
- rust/rhgitaly/src/ssh.rs
265
- rust/rhgitaly/src/streaming.rs
266
- rust/rhgitaly/src/util.rs
267
- rust/rhgitaly/src/generated/README.md
268
- rust/rhgitaly/src/gitlab/mod.rs
269
- rust/rhgitaly/src/gitlab/reference.rs
270
- rust/rhgitaly/src/gitlab/revision.rs
271
- rust/rhgitaly/src/gitlab/state.rs
272
- rust/rhgitaly/src/repository/spawner.rs
273
- rust/rhgitaly/src/service/analysis.rs
274
- rust/rhgitaly/src/service/blob.rs
275
- rust/rhgitaly/src/service/diff.rs
276
- rust/rhgitaly/src/service/mercurial_repository.rs
277
- rust/rhgitaly/src/service/mod.rs
278
- rust/rhgitaly/src/service/ref.rs
279
- rust/rhgitaly/src/service/remote.rs
280
- rust/rhgitaly/src/service/repository.rs
281
- rust/rhgitaly/src/service/server.rs
282
- rust/rhgitaly/src/service/commit/find_commits.rs
283
- rust/rhgitaly/src/service/commit/get_tree_entries.rs
284
- rust/rhgitaly/src/service/commit/last_commits.rs
285
- rust/rhgitaly/src/service/commit/tree_entry.rs
286
154
  tests_with_gitaly/__init__.py
287
155
  tests_with_gitaly/comparison.py
288
156
  tests_with_gitaly/conftest.py
@@ -1,9 +1,13 @@
1
+ import subprocess
2
+
1
3
  from heptapod.testhelpers.git import GitRepo
2
4
 
3
5
  from hgitaly.stub.remote_pb2 import (
6
+ FindRemoteRepositoryRequest,
4
7
  UpdateRemoteMirrorRequest,
5
8
  )
6
9
  from hgitaly.stub.remote_pb2_grpc import RemoteServiceStub
10
+ from hgitaly.testing.ssh import hg_exe_path
7
11
  from hgitaly.testing.sshd import hg_ssh_setup
8
12
 
9
13
  import pytest
@@ -123,3 +127,36 @@ def test_update_remote_mirror_branch_matching(push_mirror_fixture, tmpdir):
123
127
  wrapper.set_phase('public', ['sampletop'])
124
128
  wrapper.command('hpd-export-native-to-git')
125
129
  rpc_helper.assert_compare_target_repos()
130
+
131
+
132
+ def test_find_remote_repository(gitaly_rhgitaly_comparison):
133
+ fixture = gitaly_rhgitaly_comparison
134
+ wrapper = fixture.hg_repo_wrapper
135
+ rpc_helper = fixture.rpc_helper(
136
+ stub_cls=RemoteServiceStub,
137
+ repository_arg=False,
138
+ hg_server='rhgitaly',
139
+ request_cls=FindRemoteRepositoryRequest,
140
+ method_name="FindRemoteRepository",
141
+ )
142
+
143
+ def remote_exists(url):
144
+ return rpc_helper.rpc('hg', remote=url)
145
+
146
+ rpc_helper.assert_compare(remote='http://unknown.test')
147
+
148
+ hg_server = subprocess.Popen((hg_exe_path(), 'serve', '-p', '0'),
149
+ cwd=wrapper.path,
150
+ stdout=subprocess.PIPE)
151
+ try:
152
+ startup_line = hg_server.stdout.readline()
153
+ for token in startup_line.split():
154
+ if token.startswith(b'http://'):
155
+ repo_url = token.decode('utf-8')
156
+ assert remote_exists(repo_url)
157
+ break
158
+ else: # pragma no cover
159
+ raise RuntimeError("Could not parse URL from hg serve line")
160
+ finally:
161
+ hg_server.kill()
162
+ hg_server.wait()
@@ -1,5 +0,0 @@
1
- [run]
2
- omit=
3
- hgitaly/stub/*
4
- hgitaly/tests/*
5
- plugins = coverage_mercurial
@@ -1,154 +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
- PYTHON: /opt/heptapod/bin/python
16
- PYTEST: /opt/heptapod/bin/pytest
17
-
18
- workflow:
19
- rules:
20
- - if: '$CI_COMMIT_TAG'
21
- when: always
22
- # in practice, we're interested in MR events and occasional runs
23
- # from the web.
24
- - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
25
- - if: '$CI_PIPELINE_SOURCE == "web"'
26
- - if: '$CI_PIPELINE_SOURCE == "pipeline"'
27
- - if: '$CI_PIPELINE_SOURCE == "push"'
28
- when: never
29
-
30
- check-sdist:
31
- stage: compat
32
- rules:
33
- - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
34
- - if: '$CI_COMMIT_BRANCH =~ /^branch\/(default,stable)$/'
35
- - when: never
36
- image: $BASE_IMAGES_MERCURIAL/hg-current:${CI_COMMIT_HG_BRANCH}
37
- needs: []
38
- script:
39
- - rm -rf dist
40
- - python3 setup.py sdist
41
- # most requirements will be preinstalled in the base image (taken from the
42
- # default branch of HGitaly at time of image build), but they will be
43
- # reexamined and any change will be tested.
44
- - $PYTHON -m pip install dist/*.tar.gz
45
-
46
- # used to mark job that should run for the 'default' branch of HGitaly only
47
- .only_hgitaly_default:
48
- rules:
49
- - if: '$CI_COMMIT_HG_BRANCH == "default"'
50
- - when: never
51
-
52
- .pytests:
53
- before_script:
54
- # usually the base image should have all that's needed
55
- # but in case of changes in test dependencies, we may still
56
- # need to install/update something.
57
- - $PYTHON -m pip install -r test-requirements.txt
58
- - $PYTHON -m pip freeze
59
- - ./lint
60
- - mkdir -p /run/sshd
61
- script:
62
- - ./run-all-tests
63
-
64
- .cargo-cache:
65
- cache:
66
- key: cargo-${CI_COMMIT_HG_BRANCH}
67
- paths:
68
- # not caching bin/ nor .crates files as these are for installed binaries
69
- # and should be treated as artifacts instead
70
- - ${CARGO_HOME}/registry/index/
71
- - ${CARGO_HOME}/registry/cache/
72
- - ${CARGO_HOME}/git/db/
73
-
74
- tests-rust:
75
- stage: main
76
- image: ${BASE_IMAGES_COLLECTION}/hgitaly-rust:${CI_COMMIT_HG_BRANCH}
77
- extends: .cargo-cache
78
- variables:
79
- CI_CLEVER_CLOUD_FLAVOR: XL
80
- cache:
81
- policy: pull-push
82
- script:
83
- - make -C rust dev-dependencies
84
- - rustc --version
85
- - cargo build --locked --manifest-path rust/Cargo.toml
86
- - cargo test --manifest-path rust/Cargo.toml
87
- - rust/lint
88
- artifacts:
89
- expire_in: 1d
90
- paths:
91
- - ${RHGITALY_EXECUTABLE}
92
-
93
- tests-hg-current:
94
- extends:
95
- - .pytests
96
- stage: main
97
- image: ${BASE_IMAGES_MERCURIAL}/hg-current:${BASE_IMAGES_TAG}
98
-
99
- tests-py3.9:
100
- extends:
101
- - .pytests
102
- stage: compat
103
- image: ${BASE_IMAGES_MERCURIAL}/hg-current:${BASE_IMAGES_TAG}-py3.9
104
-
105
- tests-hg-stable:
106
- extends:
107
- - .pytests
108
- - .only_hgitaly_default
109
- allow_failure: true
110
- stage: compat
111
- image: ${BASE_IMAGES_MERCURIAL}/hg-stable:${BASE_IMAGES_TAG}
112
-
113
- tests-hg-default:
114
- extends:
115
- - .pytests
116
- - .only_hgitaly_default
117
- allow_failure: true
118
- stage: compat
119
- image: ${BASE_IMAGES_MERCURIAL}/hg-default:${BASE_IMAGES_TAG}
120
-
121
-
122
- gitaly-comparison:
123
- extends:
124
- - .pytests
125
- - .cargo-cache
126
- cache:
127
- policy: pull
128
- stage: compat
129
- image: ${BASE_IMAGES_COLLECTION}/heptapod-gitaly:${CI_COMMIT_HG_BRANCH}
130
- variables:
131
- GITALY_INSTALL_DIR: /opt/gitlab/gitaly
132
- PYTHON: python3.9
133
- PYTEST: pytest
134
- script:
135
- - echo "Full test run with Gitaly and RHGitaly Comparison tests"
136
- - ./run-all-tests
137
-
138
-
139
- upload:
140
- image: ${BASE_IMAGES_COLLECTION}/hgitaly-rust:${CI_COMMIT_HG_BRANCH}
141
- stage: packaging
142
- extends:
143
- - .cargo-cache
144
- cache:
145
- policy: pull
146
- needs: []
147
- rules:
148
- - if: '$CI_COMMIT_TAG'
149
- when: always
150
- - if: '$CI_PIPELINE_SOURCE == "web" && $RHGITALY_UPLOAD'
151
- when: always
152
- - when: never
153
- script:
154
- - make -C rust ci-cd-upload
hgitaly-17.11.2/.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/*
hgitaly-17.11.2/.hgtags DELETED
@@ -1,145 +0,0 @@
1
- c9c967ab541f789c2b3d17d8d01cfb2b877b7f66 0.1.0
2
- 30788b68d15b32b69befc7515c380ce052be3fae 0.2.0
3
- da98db57136d169c65873a5547afbee3089e5182 0.3.0
4
- 265ab7067c03b2328177846f949f488aea6c3e9d 0.4.0
5
- ddf11074ea0ae68e3cf420d30b14e946c2820613 0.5.0
6
- 91b9e79ad8ddc8663fe0852421cf0e5d3cd632aa 0.5.1
7
- fc064fdd27045384290ef19396384aff1baaf3d4 0.6.0
8
- ae33ee24a85e4ceae5fe7c387ec6c0e132464bcf 0.7.0
9
- 624d48438ea0226fce5c5b643fdcf9fd485d1624 0.7.1
10
- d82e4c4d3de109fb1d116a58320e3b1e89594220 0.8.0
11
- 2c7750ff10a4be584987fc4758abc64a6b569e3e 0.8.1
12
- 00827e1ecc26736c32f4f409c5c62eb914d1f11f 0.9.0
13
- 79d8f8a8df4981e286d354d927d5eba8579db79e 0.10.0
14
- b22dcf5dcf7a205276e79ff4f4a729a51cd15fa8 0.11.0
15
- 39a6480f55014e3c3586d8a601b6258cd3b6c072 0.11.1
16
- dafcae2d9a1626ce8ef01e8338bda53acaa516df 0.11.2
17
- df53b71c17a4bbd1a85ab72e9752fc0b70ea77ab 0.12.0
18
- 9058efa8be3929d711cd80806f22785d92ac345a 0.12.1
19
- fd405714088c2746874f119e16e899ee3f1f30e2 0.12.2
20
- ba3cda48dd083b47767fe4d22990ee10f750128e 0.13.0
21
- 06846432db85694d68d1e3a9a8146a4792de3212 0.14.0
22
- fd9fadf22229290942e37ae8832e56bf9b321e68 0.14.1
23
- 10bcb5a1f54743079361810914dfd96021062e93 0.14.2
24
- 0e9d5cb1cdf9810adf44b7280fd8421f76ea7ebe 0.14.3
25
- c1525102b3fd4e934e1e0ec9afab7d31d4507fc6 0.14.3-with-ruby
26
- aded3ede3e65751a3ab4a2262e5f6dcd7d40ea47 0.15.0
27
- 6824f4b670c539f89d0b369df711741b2744f121 0.16.0
28
- 87dbbe3bf1afd9452707f4b12cbcf6d3fd63a89a 0.16.1
29
- ac9b8ac91c9c88f2940a2ac7ff22e6d231eb1496 0.17.0
30
- 3d28408ad2e5f1f5a41b09617df24bda6a1b867b 0.17.1
31
- 2bd5b42c0dacd4c954dc9a6dbf5ad2a25523d05d 0.18.0
32
- 33d285175ac0bf99a8af102513c9769b1d1648fc 0.19.0
33
- 265dc5c652241ae81054552a18e1d4e5a1d71b85 0.20.0
34
- 99c8325e68e9831e90acd1fae310b10d679c8d8f 0.21.0
35
- 8e0b11be1b69b416e4eaf54d3224f65aca887bd9 0.21.1
36
- 19f4768af78c33cc75a164e93780e10e471ffc96 0.22.0
37
- 30be17bb3ed784f5e8285aaa42acf0266f268881 0.22.1
38
- 07f2832e4cc2c0fd9f074410342e7d7767f80ebf 0.22.2
39
- c010cae0546afec3c09bae956d47f5f52be9ca0e 0.23.0
40
- 8b6e80a3a6b2e20c62c7ff6a48e44eaa8eb502ad 0.24.0
41
- 56d9bc0d01886f9eb70a854e7705b672375d2a42 0.24.2
42
- fe090a4f1dfcf5ae99324d1326dc35d0bfcb2c36 0.24.3
43
- cd9286c435f0ed47c725b2056728f44cc625d3fb 0.24.4
44
- fd5e2b8ffd0d80d3b21feb702cf4332b65c19840 0.25.0
45
- 26ecf46768406f14dd7a93d15580836439452ced 0.26.1
46
- c2507c58c27dcaea5103ffb148120a0d07d4a5e1 0.26.2
47
- 25e52bb06d09363a10961e1bfcaacf6207ae41ba 0.26.3
48
- 89f850bf0a74e6a1c5edcbbff370d002c77ad532 0.27.0
49
- b2c191cd4a0549c72d24015aa5ba5a169aa4c5c8 0.27.1
50
- fbcf2df5173d0d42ca8ebdc5529077791a89aaf5 0.27.2
51
- e4016c35defc483ed6485a467e939b5c281008af 0.28.0
52
- 54ba6c3133acc7b21a24ad3e1bd715bafe98f0f8 0.29.0
53
- 494d44b60baab709836bdcb4851437d4ebfee1b0 0.29.1
54
- 06eff55f3eb96f808f791142f132b541d32a9b31 0.30.0
55
- 47380d3aa05550b0873c9100dbfbdd4abd1e695c 0.31.0
56
- e559b74680c410d065b079af04584211a57850bc 0.32.0
57
- d7fd281d6227cc126448a03b7c3defbc79125d4a 0.32.1
58
- e67d981935c35d2bc48736fa29182e0c4d1df2cc 0.32.2
59
- ed6da325975c2f2fb68d60c2a46abbd1bdbb0bc1 0.33.0dev0
60
- ab74aa24d76f899a15c3fba633918093260e1bb8 0.33.0
61
- c78309d317438a86f8f6e995a4bc17fce1d5b16c 0.33.1
62
- e5a02e0abd62fe3b9f6bd33ac1882ecbc2cd545c 0.33.2
63
- 7e815fe93113f89496846fc87498ee246caab4e5 0.33.3
64
- 9f5a999855c4f54e656a7cb27dd931b5149bf4bc 0.33.4
65
- d33263b080e179fcc0636b567ab2a952cd1e5405 0.34.0
66
- 4066eb34a329cd8a91b2880a6fa873fc1609feba 0.35.0
67
- e29ee359b3c2b7f68ea9af072ee4723fde0238c8 0.36.0
68
- 28e88c3e1f8375c13ec90b9d1aaca586b6e8a8cd 0.37.0
69
- 1015845afe27043b6dab5e05a868c093cc4eb01c 0.38.0
70
- d106c9a3eb27c1854a5d7cd78c1f6253d0df2185 0.39.0
71
- e4a01ac4d5902136f4e683efe71a8b9ee87be7b5 0.39.1
72
- 6341000c08fe7160fdba4106a83e2e331558d094 0.40.0
73
- d924b81496e212c7898c47269aff3afe10cfcfda 0.40.1
74
- 6ce174b1c7593857e4e65b9f03981d581d075b95 0.40.2
75
- c31dbf702896e10dc0c33caf48a357bc8cfecbf1 0.40.3
76
- 2a621d0062b0b72e39d165f60f2010aae2f438b1 0.40.4
77
- d66240c8c2ba7fcf0e4a57531197a62aa889f945 0.41.0
78
- adfdaadca5ee96b545e06dec0f67db73b8692450 0.42.0
79
- d8cd2afe71a7b04d47002f97bf94fb863ad29f7c 0.42.1
80
- 317b9acc8818dc87ed0436cdaf610527a86462cf 0.42.2
81
- 801728b83f97d3e5345a08c3e8e5f937c1b068ae 0.42.3
82
- 543dab36ae67c655eb2dac9e54441a914205f190 0.43.0
83
- 1b5b0f072cee9b63d9c2f8884409999eb315b8ab 0.43.1
84
- fbe5d822200e9fae5f5c98dfb7b2cbe2fed32677 0.44.0
85
- 82589bde15240ebf54c61253bf4c8de1605f6599 0.44.1
86
- 73a8fde7ac291e9fae5fed7ac877e394d5b01ff9 0.45.0
87
- 109da5dc9155070e97d50a2ba76ff2e8e8314018 1.0.0
88
- e44510ccee5cccdc13d3bdec2436e5923e2f36fc 1.0.1
89
- c700ef6202eebaf480503b47fabf8dbfd1ac6d12 1.1.0
90
- 518d206a651f517dc3f81678d4913d53efb3bb22 1.1.1
91
- a1c29a3133c15a1675c158257e5ab5202150627d 1.1.2
92
- 1f52876e141503eb31e5760d41ac5b657d5b0ba3 1.2.0
93
- 192753878d0f2af090def3d48d1d1ab48914b305 1.3.0
94
- 35a5ffade9514e4ccf489d6c1b31a1e1275b2bba 1.3.1
95
- 220add4ef09049e347d8318c1a57c4d3fb3805af 1.3.2
96
- af6131a40a94e0f78311efcd4ec204de5f9f1d08 1.3.3
97
- 383562bc5b301f109fa42b5cc9fa34e0c793a654 1.3.4
98
- 7c7d78cae32d80371e34ff27be4ac4b68a3184a9 1.4.0
99
- 549b59fbe4fe3ab48355a38daed6a6499f224a9a 1.4.1
100
- a1911f2f910b542e21223fb25b01cbdefed8c1fb 1.5.0
101
- 0af215571aafb83bb5e5011e15ca34f44c4089d0 1.6.0
102
- 3a4f4e803e4f49627068bf115811558401abc06f 1.7.0
103
- 6b82fadc2d1dd4defb56b74b6bccd7378c59f735 1.7.1
104
- ec5c0112d33d3a365aae0e31f7e36f2559507a8b 1.7.2
105
- f948a05b3ea62f472e24b73b3cae434e07ce2d0a 2.0.0
106
- 0897485133bf3d166bd16ba30f03d08956c4f4bb 2.0.1
107
- 276c513974221f3e437f8f9f66e8778bcc226859 2.0.2
108
- 4cc087a61e12c3ae9cb1ecc1e218d2c3c4d5d4fc 2.0.3
109
- 1e5786e4d9cb9d9d40bd63ecc565843498799ea7 2.1.0
110
- 3073e7e04fc49f6f8dc364f50c42a42685b90a72 2.2.0
111
- e34c0b057682606ecf1c3d07082d49c3066310d3 2.2.1
112
- 564e6064b86572277614b2993a3bc38e5b3941d9 2.2.2
113
- edc1cce8ec8e15229db3239ee0bc7db4dc4a0f0d 2.3.0
114
- 40eacc1321a0fe7f1f4f49e76f93d394546fd7cb 2.3.1
115
- cd818721b30593115ff33f8768e50a451d2cf656 2.3.2
116
- 9e26f69e0ef7e4f40e523347ddc825cc9307e95f 2.3.3
117
- 49f217d6d01acfe355c1f9fc1c722e907eedad22 2.3.4
118
- a118debbf0a0deaa94b02ed0007ab2ef0f2b73c3 2.4.0
119
- c1b00e1bc1bf0a2d41907b345c48cf795f910a4f 2.5.0
120
- 136dff98ddc1315e6db9479d9b6dd2c2204c2e5f 2.5.1
121
- 7dbcba18d83708ff81d8cec9696a86d24ed5d20a 2.5.2
122
- 3a83836b7408f1318a80f1ba97051086596edd12 2.5.3
123
- 3c955f8f106db667acb67a1cc5fa06b4a7e218e6 2.5.4
124
- 41919c3cff5ec5a6bbb735987c339c8aa57ed18c 2.5.5
125
- b956f11f1342d8aada221b747ee16e1328037fcd 2.6.0
126
- fe4e6866234771c53963b6e53b7fedd755eb11d1 2.7.0
127
- 3ddc65ae01f3271f70c7a9430334743e0b34251c 2.7.1
128
- c9f24d13c3f7bbfc5453a4b92f33f0e96c212b51 2.7.2
129
- 71653477856e0e3fa0e40f9c1d41ad798c1e28b9 2.8.0
130
- 0304db0caa559ec5e96da219108a2c1a258966b0 2.8.1
131
- 574bfafe236c29f35131537fb4b8616cfbecab95 2.9.0
132
- 0f117ee61f169f9f9e56eadc340bdeeecb27259c 2.10.0
133
- 7d3440ddf010e5860660e5b82444ca2defbd60d1 2.11.0
134
- d6cce24d89a8a37cd85398f063203d3075c1afd1 17.8.0
135
- 646eb4769d16649b8daff17647e1e92ec81e68c8 17.8.1
136
- cb5acb3e763e63d908e6eec319b17a7faaabbe7c 17.8.2
137
- e9f5b758dbc13eb7dc1f44b8246bbef0dcc74f1a 17.8.3
138
- c2dc21a71ccd0cbe8c33ae9b8ff28128e0d977bd 17.8.4
139
- ac2aa9b92e0d157d1d51cc7864ed4658a2ecdb32 17.9.0
140
- 1febbc24f370e41ac50979a84fdc36a8eef85a41 17.9.1
141
- c964e44bbddc2d8fd41fd72a685535dc7c793150 17.9.2
142
- 138820967edc1ffa23f49bf4101fb7a703baccb3 17.10.0a0
143
- fdf0201ab1df3afbb372f4dd1005009ca37be713 17.11.0a0
144
- 035b7b7e03a1c34fea4bc7995d54d2c8d088c3f7 17.11.0
145
- 82eb6e9f12cb5a63bcd6a1f5e9c5ff26fb17b0f6 17.11.1
@@ -1,31 +0,0 @@
1
- #!/bin/sh
2
-
3
- # Simple script to push any artifact to some Heptapod SFTP server,
4
- # using the heptapod_known_hosts.ssh file
5
-
6
- set -eu
7
-
8
- SFTP_HOST=$1
9
- # This "key" is just a file name, content is set by file mode of CI variables
10
- HEPTAPOD_UPLOAD_KEY=$2
11
- ARTIFACT=$3
12
- TARGET_DIR=$4
13
-
14
- echo "Pushing ${ARTIFACT} to ${SFTP_HOST} via SFTP"
15
-
16
- KNOWN_HOSTS=$(realpath $(dirname $0)/heptapod_known_hosts.ssh)
17
- SSH_FLAGS="-o IdentitiesOnly=yes -o UserKnownHostsFile=${KNOWN_HOSTS}"
18
-
19
- if [ -n "$HEPTAPOD_UPLOAD_SSH_PORT" ]; then
20
- SSH_FLAGS="$SSH_FLAGS -P $HEPTAPOD_UPLOAD_SSH_PORT"
21
- fi
22
-
23
- # TODO it would be nice of the runner to set restrictive permissions
24
- # this right at file creation time (perhaps based on a declarative option),
25
- # especially since there's no job filtering except based on environments
26
- chmod 600 ${HEPTAPOD_UPLOAD_KEY}
27
- # wildcard to include any checksum or signatures
28
- echo "put ${ARTIFACT}*" | sftp -b- \
29
- ${SSH_FLAGS} \
30
- -i ${HEPTAPOD_UPLOAD_KEY} \
31
- ${HEPTAPOD_UPLOAD_SSH_USER}@${SFTP_HOST}:${HEPTAPOD_UPLOAD_SSH_USER}/${TARGET_DIR}
@@ -1,34 +0,0 @@
1
- #!/bin/sh
2
- set -eu
3
-
4
- PRIVKEY_FILE=$1
5
- ARTIFACT=$2
6
- # keyring and passphrase files
7
- # outside of build and in explicit volatile space for
8
- # - several protections to guarantee there won't be any persistence
9
- # - make snooping a bit harder
10
- KEYRING=/dev/shm/heptapod.gpg
11
- PASSPHRASE=/dev/shm/heptapod.pass
12
-
13
- touch $PASSPHRASE && chmod 600 $PASSPHRASE
14
- echo -n "$HEPTAPOD_PACKAGING_GPG_PASSPHRASE" >> $PASSPHRASE
15
-
16
- # .gnupg/ still needed for web-of-trust files and the like
17
- # note: install -d is idempotent
18
- install -m 700 -d $HOME/.gnupg
19
-
20
- echo "Importing GPG signing key"
21
- gpg --no-options --batch \
22
- --no-default-keyring --keyring $KEYRING \
23
- --no-secmem-warning \
24
- --no-permission-warning \
25
- --pinentry-mode loopback --passphrase-file $PASSPHRASE \
26
- --import $PRIVKEY_FILE
27
-
28
- echo "Signing $ARTIFACT with GPG"
29
- gpg --no-options --batch \
30
- --no-default-keyring --keyring $KEYRING \
31
- --pinentry-mode loopback --passphrase-file $PASSPHRASE \
32
- --armor --detach-sign $ARTIFACT
33
-
34
- rm -rf $PASSPHRASE $KEYRING $HOME/.gnupg
@@ -1,4 +0,0 @@
1
- upload.heptapod.net ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC/QCY07qEGE56Xvlh4jhfHRKWq71lek/O6t4yTQ6kljIaLW072PXldRINnbK1QLPAoQ6uAPL4diInI00Es9KwPHKmJ9cSPxdcqeKALQnO7B2RE3kzKSiNPnQjvYKC975hK9ds0fgjIWLsG3mUPaGIvzvqotrhlxcpg99OSiOOMr7Ki949CEszYrBxMGQWj7URB8rC2WADmQfq1Igzt44zFfHoDi5r9WTj+YH1Fst+Ig6GiNBPoqtwqRJVFakfqd8mnU0+qUbmNTFB9FA9pJyN4aoDdn8bLbtSjtEmnrD8mKmP9hK1FjrJ3C5Qoy4ycPnPMcdaKkSRVWwH0bYXs46Wb92zqLQtxAoFUTUNDX0njpAF7tObIx3K+HSYQxd+N659DOjEGo/8Npj2ORj+3Vrt/AmCiRvOpXsvJ6uBJpG5u+udqyzij0X5HSQcJQU2nd0qaVPmMCjL3NYGfPrK1NM8NBGuCeHiuPGQjYa8VTHotNmcJrEseMkgYU7g+7AoZsHE=
2
- upload.heptapod.net ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKpaVgI7yUUHl9qsHkovgni6haMw+a1Ve33kEGX7lcP69oP9RfEKVZbBv6RD4xryLMtxsvAnWltgbYin1Xez98Y=
3
- upload.heptapod.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP+iOvV9FiX4meAqXWTvvMsdqaEKdmE+6DnqJjBQ0mTd
4
-