hgitaly 17.9.0__tar.gz → 17.9.2__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 (311) hide show
  1. {hgitaly-17.9.0 → hgitaly-17.9.2}/PKG-INFO +1 -1
  2. hgitaly-17.9.2/hgitaly/VERSION +1 -0
  3. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/revision.py +4 -1
  4. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/commit.py +21 -8
  5. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_commit.py +3 -0
  6. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly.egg-info/PKG-INFO +1 -1
  7. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly.egg-info/SOURCES.txt +0 -139
  8. hgitaly-17.9.0/.coveragerc +0 -5
  9. hgitaly-17.9.0/.gitlab-ci.yml +0 -154
  10. hgitaly-17.9.0/.hgignore +0 -34
  11. hgitaly-17.9.0/.hgtags +0 -138
  12. hgitaly-17.9.0/ci/heptapod-sftp-push +0 -31
  13. hgitaly-17.9.0/ci/heptapod-sign-package +0 -34
  14. hgitaly-17.9.0/ci/heptapod_known_hosts.ssh +0 -4
  15. hgitaly-17.9.0/ci/upload-rhgitaly +0 -43
  16. hgitaly-17.9.0/conftest.py +0 -92
  17. hgitaly-17.9.0/dev-requirements.txt +0 -2
  18. hgitaly-17.9.0/examples/client.py +0 -48
  19. hgitaly-17.9.0/examples/client_list_lcft.py +0 -55
  20. hgitaly-17.9.0/generate-stubs +0 -34
  21. hgitaly-17.9.0/hgitaly/VERSION +0 -1
  22. hgitaly-17.9.0/hgitaly/license_detector/GPL-2.sample +0 -339
  23. hgitaly-17.9.0/hgitaly/testing/data/authorized_keys +0 -1
  24. hgitaly-17.9.0/hgitaly/testing/data/backup_additional_no_git.tar +0 -0
  25. hgitaly-17.9.0/hgitaly/testing/data/id_ecdsa_user +0 -38
  26. hgitaly-17.9.0/hgitaly/testing/data/known_hosts +0 -2
  27. hgitaly-17.9.0/hgitaly/testing/data/ssh_host_ecdsa_key +0 -9
  28. hgitaly-17.9.0/hgitaly/testing/data/ssh_host_ecdsa_key.pub +0 -1
  29. hgitaly-17.9.0/hgitaly/testing/data/ssh_host_ed25519 +0 -8
  30. hgitaly-17.9.0/hgitaly/testing/data/ssh_host_ed25519.pub +0 -1
  31. hgitaly-17.9.0/hgitaly/testing/data/sshd_config +0 -17
  32. hgitaly-17.9.0/lint +0 -7
  33. hgitaly-17.9.0/protos/analysis.proto +0 -62
  34. hgitaly-17.9.0/protos/blob.proto +0 -299
  35. hgitaly-17.9.0/protos/cleanup.proto +0 -88
  36. hgitaly-17.9.0/protos/cluster.proto +0 -107
  37. hgitaly-17.9.0/protos/commit.proto +0 -985
  38. hgitaly-17.9.0/protos/conflicts.proto +0 -137
  39. hgitaly-17.9.0/protos/diff.proto +0 -622
  40. hgitaly-17.9.0/protos/errors.proto +0 -228
  41. hgitaly-17.9.0/protos/hook.proto +0 -205
  42. hgitaly-17.9.0/protos/internal.proto +0 -37
  43. hgitaly-17.9.0/protos/lint.proto +0 -75
  44. hgitaly-17.9.0/protos/log.proto +0 -147
  45. hgitaly-17.9.0/protos/mercurial-aux-git.proto +0 -33
  46. hgitaly-17.9.0/protos/mercurial-changeset.proto +0 -96
  47. hgitaly-17.9.0/protos/mercurial-operations.proto +0 -163
  48. hgitaly-17.9.0/protos/mercurial-repository.proto +0 -364
  49. hgitaly-17.9.0/protos/namespace.proto +0 -98
  50. hgitaly-17.9.0/protos/objectpool.proto +0 -173
  51. hgitaly-17.9.0/protos/operations.proto +0 -1139
  52. hgitaly-17.9.0/protos/packfile.proto +0 -26
  53. hgitaly-17.9.0/protos/partition.proto +0 -70
  54. hgitaly-17.9.0/protos/praefect.proto +0 -222
  55. hgitaly-17.9.0/protos/ref.proto +0 -593
  56. hgitaly-17.9.0/protos/remote.proto +0 -153
  57. hgitaly-17.9.0/protos/repository.proto +0 -1342
  58. hgitaly-17.9.0/protos/server.proto +0 -123
  59. hgitaly-17.9.0/protos/service_config.proto +0 -86
  60. hgitaly-17.9.0/protos/shared.proto +0 -248
  61. hgitaly-17.9.0/protos/smarthttp.proto +0 -121
  62. hgitaly-17.9.0/protos/ssh.proto +0 -109
  63. hgitaly-17.9.0/protos/transaction.proto +0 -104
  64. hgitaly-17.9.0/protos/wiki.proto +0 -211
  65. hgitaly-17.9.0/ruby/.ruby-version +0 -1
  66. hgitaly-17.9.0/ruby/Gemfile +0 -5
  67. hgitaly-17.9.0/ruby/README.md +0 -48
  68. hgitaly-17.9.0/ruby/generate-grpc-lib +0 -63
  69. hgitaly-17.9.0/ruby/hgitaly.gemspec +0 -25
  70. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-aux-git_pb.rb +0 -15
  71. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-aux-git_services_pb.rb +0 -29
  72. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-changeset_pb.rb +0 -69
  73. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-changeset_services_pb.rb +0 -25
  74. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-operations_pb.rb +0 -103
  75. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-operations_services_pb.rb +0 -39
  76. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-repository_pb.rb +0 -163
  77. hgitaly-17.9.0/ruby/lib/hgitaly/mercurial-repository_services_pb.rb +0 -79
  78. hgitaly-17.9.0/ruby/lib/hgitaly/version.rb +0 -4
  79. hgitaly-17.9.0/ruby/lib/hgitaly.rb +0 -13
  80. hgitaly-17.9.0/ruby/run.rb +0 -39
  81. hgitaly-17.9.0/run-all-tests +0 -24
  82. hgitaly-17.9.0/rust/Cargo.lock +0 -2434
  83. hgitaly-17.9.0/rust/Cargo.toml +0 -3
  84. hgitaly-17.9.0/rust/Makefile +0 -69
  85. hgitaly-17.9.0/rust/build-from-tarball.sh +0 -30
  86. hgitaly-17.9.0/rust/check-line-width +0 -48
  87. hgitaly-17.9.0/rust/dependencies/README.md +0 -19
  88. hgitaly-17.9.0/rust/dependencies/mercurial.patch +0 -48
  89. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/any.proto +0 -158
  90. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/api.proto +0 -208
  91. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/compiler/plugin.proto +0 -183
  92. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/descriptor.proto +0 -911
  93. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/duration.proto +0 -116
  94. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/empty.proto +0 -52
  95. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/field_mask.proto +0 -245
  96. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/source_context.proto +0 -48
  97. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/struct.proto +0 -95
  98. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/timestamp.proto +0 -147
  99. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/type.proto +0 -187
  100. hgitaly-17.9.0/rust/dependencies/proto/google/protobuf/wrappers.proto +0 -123
  101. hgitaly-17.9.0/rust/go-enry.rev +0 -1
  102. hgitaly-17.9.0/rust/lint +0 -14
  103. hgitaly-17.9.0/rust/mercurial.rev +0 -1
  104. hgitaly-17.9.0/rust/rhgitaly/Cargo.toml +0 -44
  105. hgitaly-17.9.0/rust/rhgitaly/build.rs +0 -45
  106. hgitaly-17.9.0/rust/rhgitaly/clippy.toml +0 -6
  107. hgitaly-17.9.0/rust/rhgitaly/src/bundle.rs +0 -160
  108. hgitaly-17.9.0/rust/rhgitaly/src/config.rs +0 -140
  109. hgitaly-17.9.0/rust/rhgitaly/src/errors.rs +0 -123
  110. hgitaly-17.9.0/rust/rhgitaly/src/generated/README.md +0 -7
  111. hgitaly-17.9.0/rust/rhgitaly/src/git.rs +0 -293
  112. hgitaly-17.9.0/rust/rhgitaly/src/gitlab/mod.rs +0 -50
  113. hgitaly-17.9.0/rust/rhgitaly/src/gitlab/reference.rs +0 -83
  114. hgitaly-17.9.0/rust/rhgitaly/src/gitlab/revision.rs +0 -320
  115. hgitaly-17.9.0/rust/rhgitaly/src/gitlab/state.rs +0 -508
  116. hgitaly-17.9.0/rust/rhgitaly/src/glob.rs +0 -137
  117. hgitaly-17.9.0/rust/rhgitaly/src/lib.rs +0 -42
  118. hgitaly-17.9.0/rust/rhgitaly/src/main.rs +0 -121
  119. hgitaly-17.9.0/rust/rhgitaly/src/mercurial.rs +0 -1362
  120. hgitaly-17.9.0/rust/rhgitaly/src/message.rs +0 -469
  121. hgitaly-17.9.0/rust/rhgitaly/src/metadata.rs +0 -27
  122. hgitaly-17.9.0/rust/rhgitaly/src/oid.rs +0 -87
  123. hgitaly-17.9.0/rust/rhgitaly/src/process.rs +0 -39
  124. hgitaly-17.9.0/rust/rhgitaly/src/repository/spawner.rs +0 -559
  125. hgitaly-17.9.0/rust/rhgitaly/src/repository.rs +0 -544
  126. hgitaly-17.9.0/rust/rhgitaly/src/service/analysis.rs +0 -184
  127. hgitaly-17.9.0/rust/rhgitaly/src/service/blob.rs +0 -260
  128. hgitaly-17.9.0/rust/rhgitaly/src/service/commit/find_commits.rs +0 -202
  129. hgitaly-17.9.0/rust/rhgitaly/src/service/commit/get_tree_entries.rs +0 -291
  130. hgitaly-17.9.0/rust/rhgitaly/src/service/commit/last_commits.rs +0 -567
  131. hgitaly-17.9.0/rust/rhgitaly/src/service/commit/tree_entry.rs +0 -155
  132. hgitaly-17.9.0/rust/rhgitaly/src/service/commit.rs +0 -501
  133. hgitaly-17.9.0/rust/rhgitaly/src/service/diff.rs +0 -97
  134. hgitaly-17.9.0/rust/rhgitaly/src/service/mercurial_aux_git.rs +0 -186
  135. hgitaly-17.9.0/rust/rhgitaly/src/service/mercurial_repository.rs +0 -435
  136. hgitaly-17.9.0/rust/rhgitaly/src/service/mod.rs +0 -15
  137. hgitaly-17.9.0/rust/rhgitaly/src/service/ref.rs +0 -660
  138. hgitaly-17.9.0/rust/rhgitaly/src/service/remote.rs +0 -669
  139. hgitaly-17.9.0/rust/rhgitaly/src/service/repository.rs +0 -777
  140. hgitaly-17.9.0/rust/rhgitaly/src/service/server.rs +0 -34
  141. hgitaly-17.9.0/rust/rhgitaly/src/sidecar.rs +0 -186
  142. hgitaly-17.9.0/rust/rhgitaly/src/ssh.rs +0 -101
  143. hgitaly-17.9.0/rust/rhgitaly/src/streaming.rs +0 -401
  144. hgitaly-17.9.0/rust/rhgitaly/src/util.rs +0 -132
  145. hgitaly-17.9.0/rust/rs-enry.rev +0 -1
  146. hgitaly-17.9.0/rust/src-tarball.sh +0 -60
  147. hgitaly-17.9.0/test-requirements.txt +0 -8
  148. {hgitaly-17.9.0 → hgitaly-17.9.2}/LICENSE +0 -0
  149. {hgitaly-17.9.0 → hgitaly-17.9.2}/MANIFEST.in +0 -0
  150. {hgitaly-17.9.0 → hgitaly-17.9.2}/README.md +0 -0
  151. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgext3rd/__init__.py +0 -0
  152. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgext3rd/hgitaly/__init__.py +0 -0
  153. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgext3rd/hgitaly/revset.py +0 -0
  154. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgext3rd/hgitaly/tests/__init__.py +0 -0
  155. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
  156. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
  157. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/__init__.py +0 -0
  158. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/branch.py +0 -0
  159. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/changelog.py +0 -0
  160. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/diff.py +0 -0
  161. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/errors.py +0 -0
  162. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/feature.py +0 -0
  163. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/file_content.py +0 -0
  164. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/file_context.py +0 -0
  165. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/git.py +0 -0
  166. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/gitlab_ref.py +0 -0
  167. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/license_detector/__init__.py +0 -0
  168. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/license_detector/spdx-licenses.json +0 -0
  169. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/linguist/__init__.py +0 -0
  170. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/linguist/languages.json +0 -0
  171. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/logging.py +0 -0
  172. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/manifest.py +0 -0
  173. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/message.py +0 -0
  174. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/oid.py +0 -0
  175. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/pagination.py +0 -0
  176. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/path.py +0 -0
  177. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/peer.py +0 -0
  178. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/procutil.py +0 -0
  179. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/repository.py +0 -0
  180. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/revset.py +0 -0
  181. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/scripts.py +0 -0
  182. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/__init__.py +0 -0
  183. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/address.py +0 -0
  184. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/mono.py +0 -0
  185. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/prefork.py +0 -0
  186. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/tests/__init__.py +0 -0
  187. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/tests/test_address.py +0 -0
  188. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/tests/test_mono.py +0 -0
  189. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/tests/test_prefork.py +0 -0
  190. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/tests/test_worker.py +0 -0
  191. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/server/worker.py +0 -0
  192. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/__init__.py +0 -0
  193. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/analysis.py +0 -0
  194. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/blob.py +0 -0
  195. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/diff.py +0 -0
  196. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/interceptors.py +0 -0
  197. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/mercurial_changeset.py +0 -0
  198. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/mercurial_operations.py +0 -0
  199. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/mercurial_repository.py +0 -0
  200. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/operations.py +0 -0
  201. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/ref.py +0 -0
  202. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/repository.py +0 -0
  203. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/server.py +0 -0
  204. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/__init__.py +0 -0
  205. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/fixture.py +0 -0
  206. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_analysis.py +0 -0
  207. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_blob.py +0 -0
  208. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_default_branch.py +0 -0
  209. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_diff.py +0 -0
  210. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
  211. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_mercurial_operations.py +0 -0
  212. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_mercurial_repository.py +0 -0
  213. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_operations.py +0 -0
  214. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_ref.py +0 -0
  215. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_repository_service.py +0 -0
  216. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/service/tests/test_server.py +0 -0
  217. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/servicer.py +0 -0
  218. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/ssh.py +0 -0
  219. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stream.py +0 -0
  220. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/__init__.py +0 -0
  221. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/analysis_pb2.py +0 -0
  222. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
  223. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/blob_pb2.py +0 -0
  224. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/blob_pb2_grpc.py +0 -0
  225. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/commit_pb2.py +0 -0
  226. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/commit_pb2_grpc.py +0 -0
  227. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/diff_pb2.py +0 -0
  228. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/diff_pb2_grpc.py +0 -0
  229. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/errors_pb2.py +0 -0
  230. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/errors_pb2_grpc.py +0 -0
  231. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/lint_pb2.py +0 -0
  232. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/lint_pb2_grpc.py +0 -0
  233. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_aux_git_pb2.py +0 -0
  234. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_aux_git_pb2_grpc.py +0 -0
  235. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
  236. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
  237. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
  238. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
  239. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_repository_pb2.py +0 -0
  240. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
  241. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/operations_pb2.py +0 -0
  242. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/operations_pb2_grpc.py +0 -0
  243. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/ref_pb2.py +0 -0
  244. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/ref_pb2_grpc.py +0 -0
  245. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/remote_pb2.py +0 -0
  246. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/remote_pb2_grpc.py +0 -0
  247. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/repository_pb2.py +0 -0
  248. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/repository_pb2_grpc.py +0 -0
  249. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/server_pb2.py +0 -0
  250. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/server_pb2_grpc.py +0 -0
  251. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/shared_pb2.py +0 -0
  252. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/stub/shared_pb2_grpc.py +0 -0
  253. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tag.py +0 -0
  254. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/__init__.py +0 -0
  255. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/bundle.py +0 -0
  256. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/context.py +0 -0
  257. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/grpc.py +0 -0
  258. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/ssh.py +0 -0
  259. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/sshd.py +0 -0
  260. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/storage.py +0 -0
  261. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/tests/__init__.py +0 -0
  262. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/testing/tests/test_sshd.py +0 -0
  263. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/__init__.py +0 -0
  264. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/common.py +0 -0
  265. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_branch.py +0 -0
  266. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_diff.py +0 -0
  267. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_errors.py +0 -0
  268. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_feature.py +0 -0
  269. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_file_context.py +0 -0
  270. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_gitlab_ref.py +0 -0
  271. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_license_detector.py +0 -0
  272. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_linguist.py +0 -0
  273. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_manifest.py +0 -0
  274. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_messages.py +0 -0
  275. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_oid.py +0 -0
  276. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_peer.py +0 -0
  277. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_repository.py +0 -0
  278. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_revision.py +0 -0
  279. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_revset.py +0 -0
  280. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_servicer.py +0 -0
  281. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_stream.py +0 -0
  282. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_tag.py +0 -0
  283. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/tests/test_workdir.py +0 -0
  284. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/util.py +0 -0
  285. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly/workdir.py +0 -0
  286. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly.egg-info/dependency_links.txt +0 -0
  287. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly.egg-info/entry_points.txt +0 -0
  288. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly.egg-info/requires.txt +0 -0
  289. {hgitaly-17.9.0 → hgitaly-17.9.2}/hgitaly.egg-info/top_level.txt +0 -0
  290. {hgitaly-17.9.0 → hgitaly-17.9.2}/install-requirements.txt +0 -0
  291. {hgitaly-17.9.0 → hgitaly-17.9.2}/setup.cfg +0 -0
  292. {hgitaly-17.9.0 → hgitaly-17.9.2}/setup.py +0 -0
  293. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/__init__.py +0 -0
  294. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/comparison.py +0 -0
  295. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/conftest.py +0 -0
  296. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/gitaly.py +0 -0
  297. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
  298. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/rhgitaly.py +0 -0
  299. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_blob_tree.py +0 -0
  300. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_commit.py +0 -0
  301. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_comparison.py +0 -0
  302. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_diff.py +0 -0
  303. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_gitaly_server.py +0 -0
  304. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_mercurial_aux_git.py +0 -0
  305. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_mercurial_repository.py +0 -0
  306. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_operations.py +0 -0
  307. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_ref.py +0 -0
  308. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_remote.py +0 -0
  309. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_repository_service.py +0 -0
  310. {hgitaly-17.9.0 → hgitaly-17.9.2}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
  311. {hgitaly-17.9.0 → hgitaly-17.9.2}/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.9.0
3
+ Version: 17.9.2
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.9.2
@@ -145,6 +145,7 @@ def gitlab_revision_hash(repo, revision):
145
145
 
146
146
 
147
147
  ALL_CHANGESETS = object()
148
+ VISIBLE_CHANGESETS = object()
148
149
 
149
150
 
150
151
  def resolve_revspecs_positive_negative(repo, revisions,
@@ -184,9 +185,11 @@ def resolve_revspecs_positive_negative(repo, revisions,
184
185
  else:
185
186
  if rev == b'ALL':
186
187
  positive = ALL_CHANGESETS
188
+ elif rev == b'--visible':
189
+ positive = VISIBLE_CHANGESETS
187
190
  collection = positive
188
191
 
189
- if collection is ALL_CHANGESETS:
192
+ if collection in (ALL_CHANGESETS, VISIBLE_CHANGESETS):
190
193
  # resolution is useless
191
194
  continue
192
195
 
@@ -51,6 +51,7 @@ from ..pagination import (
51
51
  extract_limit,
52
52
  )
53
53
  from ..revision import (
54
+ VISIBLE_CHANGESETS,
54
55
  RevisionNotFound,
55
56
  gitlab_revision_changeset,
56
57
  resolve_revspecs_positive_negative,
@@ -902,14 +903,21 @@ class CommitServicer(CommitServiceServicer, HGitalyServicer):
902
903
  context.abort(StatusCode.INTERNAL,
903
904
  "Revision %r could not be resolved" % exc.args[0])
904
905
 
905
- # now that resolution is done, we can and have to switch to
906
- # the unfiltered view, because the resulting hashes can be of
907
- # obsolete changesets.
908
- repo = repo.unfiltered()
909
- if negative:
910
- revset = b'only(%ls, %ls)'
906
+ if positive is VISIBLE_CHANGESETS:
907
+ # do not switch to unfiltered view!
908
+ if negative:
909
+ revset = b'not ::%ls'
910
+ else:
911
+ revset = b'all()'
911
912
  else:
912
- revset = b'::%ls'
913
+ # now that resolution is done, we can and have to switch to
914
+ # the unfiltered view, because the resulting hashes can be of
915
+ # obsolete changesets.
916
+ repo = repo.unfiltered()
917
+ if negative:
918
+ revset = b'only(%ls, %ls)'
919
+ else:
920
+ revset = b'::%ls'
913
921
 
914
922
  msg_patterns = request.commit_message_patterns
915
923
  ignore_case = request.ignore_case
@@ -937,7 +945,12 @@ class CommitServicer(CommitServiceServicer, HGitalyServicer):
937
945
  revset = b'sort(%s, %s)' % (revset, sort_key)
938
946
 
939
947
  try:
940
- if negative:
948
+ if positive is VISIBLE_CHANGESETS:
949
+ if negative:
950
+ revs = repo.revs(revset, negative)
951
+ else:
952
+ revs = repo.revs(revset)
953
+ elif negative:
941
954
  revs = repo.revs(revset, positive, negative)
942
955
  else:
943
956
  revs = repo.revs(revset, positive)
@@ -1333,6 +1333,7 @@ def test_list_commits(commit_fixture_empty_repo):
1333
1333
  ctx0 = wrapper.commit_file('foo', message="root changeset")
1334
1334
  sha0 = ctx0.hex()
1335
1335
  ctx1 = wrapper.commit_file('foo', topic='sampletop')
1336
+ sha1 = ctx1.hex()
1336
1337
  wrapper.update(ctx0.rev())
1337
1338
  wrapper.command(b'mv', wrapper.repo.root + b'/foo',
1338
1339
  wrapper.repo.root + b'/zoo')
@@ -1351,6 +1352,8 @@ def test_list_commits(commit_fixture_empty_repo):
1351
1352
  def caret(ctx):
1352
1353
  return b'^' + ctx.hex()
1353
1354
 
1355
+ assert list_commits('--visible') == [sha4, sha3, sha2, sha1, sha0]
1356
+ assert list_commits('--visible', caret(ctx3)) == [sha4, sha2, sha1]
1354
1357
  assert list_commits(sha4, caret(ctx1)) == [sha4, sha3, sha2]
1355
1358
  assert list_commits(sha4, caret(ctx1), reverse=True) == [sha2, sha3, sha4]
1356
1359
  assert list_commits(sha4, caret(ctx1), skip=1) == [sha3, sha2]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hgitaly
3
- Version: 17.9.0
3
+ Version: 17.9.2
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,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
- variables:
95
- HGITALY_TESTS_HG_EXE_PATH: /usr/local/bin/hg
96
- extends:
97
- - .pytests
98
- stage: main
99
- image: ${BASE_IMAGES_MERCURIAL}/hg-current:${BASE_IMAGES_TAG}
100
-
101
- tests-hg-stable:
102
- variables:
103
- HGITALY_TESTS_HG_EXE_PATH: /usr/local/bin/hg
104
- extends:
105
- - .pytests
106
- - .only_hgitaly_default
107
- allow_failure: true
108
- stage: compat
109
- image: ${BASE_IMAGES_MERCURIAL}/hg-stable:${BASE_IMAGES_TAG}
110
-
111
- tests-hg-default:
112
- variables:
113
- HGITALY_TESTS_HG_EXE_PATH: /usr/local/bin/hg
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.9.0/.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.9.0/.hgtags DELETED
@@ -1,138 +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
@@ -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
-