hgitaly 17.8.0__tar.gz → 17.8.1__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.
- {hgitaly-17.8.0 → hgitaly-17.8.1}/PKG-INFO +1 -1
- hgitaly-17.8.1/hgitaly/VERSION +1 -0
- hgitaly-17.8.1/hgitaly/stub/mercurial_aux_git_pb2.py +35 -0
- hgitaly-17.8.1/hgitaly/stub/mercurial_aux_git_pb2_grpc.py +147 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly.egg-info/PKG-INFO +1 -1
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly.egg-info/SOURCES.txt +3 -134
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/comparison.py +4 -1
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_commit.py +1 -0
- hgitaly-17.8.1/tests_with_gitaly/test_mercurial_aux_git.py +100 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_ref.py +1 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_repository_service.py +2 -0
- hgitaly-17.8.0/.coveragerc +0 -5
- hgitaly-17.8.0/.gitlab-ci.yml +0 -150
- hgitaly-17.8.0/.hgignore +0 -34
- hgitaly-17.8.0/.hgtags +0 -130
- hgitaly-17.8.0/ci/heptapod-sftp-push +0 -31
- hgitaly-17.8.0/ci/heptapod-sign-package +0 -34
- hgitaly-17.8.0/ci/heptapod_known_hosts.ssh +0 -4
- hgitaly-17.8.0/ci/upload-rhgitaly +0 -43
- hgitaly-17.8.0/conftest.py +0 -91
- hgitaly-17.8.0/dev-requirements.txt +0 -2
- hgitaly-17.8.0/examples/client.py +0 -48
- hgitaly-17.8.0/examples/client_list_lcft.py +0 -55
- hgitaly-17.8.0/generate-stubs +0 -33
- hgitaly-17.8.0/hgitaly/VERSION +0 -1
- hgitaly-17.8.0/hgitaly/license_detector/GPL-2.sample +0 -339
- hgitaly-17.8.0/hgitaly/testing/data/authorized_keys +0 -1
- hgitaly-17.8.0/hgitaly/testing/data/backup_additional_no_git.tar +0 -0
- hgitaly-17.8.0/hgitaly/testing/data/id_ecdsa_user +0 -38
- hgitaly-17.8.0/hgitaly/testing/data/known_hosts +0 -2
- hgitaly-17.8.0/hgitaly/testing/data/ssh_host_ecdsa_key +0 -9
- hgitaly-17.8.0/hgitaly/testing/data/ssh_host_ecdsa_key.pub +0 -1
- hgitaly-17.8.0/hgitaly/testing/data/ssh_host_ed25519 +0 -8
- hgitaly-17.8.0/hgitaly/testing/data/ssh_host_ed25519.pub +0 -1
- hgitaly-17.8.0/hgitaly/testing/data/sshd_config +0 -17
- hgitaly-17.8.0/lint +0 -3
- hgitaly-17.8.0/protos/analysis.proto +0 -62
- hgitaly-17.8.0/protos/blob.proto +0 -299
- hgitaly-17.8.0/protos/cleanup.proto +0 -88
- hgitaly-17.8.0/protos/cluster.proto +0 -107
- hgitaly-17.8.0/protos/commit.proto +0 -985
- hgitaly-17.8.0/protos/conflicts.proto +0 -137
- hgitaly-17.8.0/protos/diff.proto +0 -622
- hgitaly-17.8.0/protos/errors.proto +0 -228
- hgitaly-17.8.0/protos/hook.proto +0 -205
- hgitaly-17.8.0/protos/internal.proto +0 -37
- hgitaly-17.8.0/protos/lint.proto +0 -75
- hgitaly-17.8.0/protos/log.proto +0 -147
- hgitaly-17.8.0/protos/mercurial-changeset.proto +0 -96
- hgitaly-17.8.0/protos/mercurial-operations.proto +0 -163
- hgitaly-17.8.0/protos/mercurial-repository.proto +0 -304
- hgitaly-17.8.0/protos/namespace.proto +0 -98
- hgitaly-17.8.0/protos/objectpool.proto +0 -173
- hgitaly-17.8.0/protos/operations.proto +0 -1139
- hgitaly-17.8.0/protos/packfile.proto +0 -26
- hgitaly-17.8.0/protos/partition.proto +0 -70
- hgitaly-17.8.0/protos/praefect.proto +0 -222
- hgitaly-17.8.0/protos/ref.proto +0 -593
- hgitaly-17.8.0/protos/remote.proto +0 -153
- hgitaly-17.8.0/protos/repository.proto +0 -1342
- hgitaly-17.8.0/protos/server.proto +0 -123
- hgitaly-17.8.0/protos/service_config.proto +0 -86
- hgitaly-17.8.0/protos/shared.proto +0 -248
- hgitaly-17.8.0/protos/smarthttp.proto +0 -121
- hgitaly-17.8.0/protos/ssh.proto +0 -109
- hgitaly-17.8.0/protos/transaction.proto +0 -104
- hgitaly-17.8.0/protos/wiki.proto +0 -211
- hgitaly-17.8.0/ruby/.ruby-version +0 -1
- hgitaly-17.8.0/ruby/Gemfile +0 -5
- hgitaly-17.8.0/ruby/README.md +0 -48
- hgitaly-17.8.0/ruby/generate-grpc-lib +0 -63
- hgitaly-17.8.0/ruby/hgitaly.gemspec +0 -25
- hgitaly-17.8.0/ruby/lib/hgitaly/mercurial-changeset_pb.rb +0 -69
- hgitaly-17.8.0/ruby/lib/hgitaly/mercurial-changeset_services_pb.rb +0 -25
- hgitaly-17.8.0/ruby/lib/hgitaly/mercurial-operations_pb.rb +0 -103
- hgitaly-17.8.0/ruby/lib/hgitaly/mercurial-operations_services_pb.rb +0 -39
- hgitaly-17.8.0/ruby/lib/hgitaly/mercurial-repository_pb.rb +0 -141
- hgitaly-17.8.0/ruby/lib/hgitaly/mercurial-repository_services_pb.rb +0 -77
- hgitaly-17.8.0/ruby/lib/hgitaly/version.rb +0 -4
- hgitaly-17.8.0/ruby/lib/hgitaly.rb +0 -11
- hgitaly-17.8.0/ruby/run.rb +0 -39
- hgitaly-17.8.0/run-all-tests +0 -19
- hgitaly-17.8.0/rust/Cargo.lock +0 -2423
- hgitaly-17.8.0/rust/Cargo.toml +0 -3
- hgitaly-17.8.0/rust/Makefile +0 -69
- hgitaly-17.8.0/rust/build-from-tarball.sh +0 -30
- hgitaly-17.8.0/rust/check-line-width +0 -48
- hgitaly-17.8.0/rust/dependencies/README.md +0 -19
- hgitaly-17.8.0/rust/dependencies/mercurial.patch +0 -48
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/any.proto +0 -158
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/api.proto +0 -208
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/compiler/plugin.proto +0 -183
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/descriptor.proto +0 -911
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/duration.proto +0 -116
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/empty.proto +0 -52
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/field_mask.proto +0 -245
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/source_context.proto +0 -48
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/struct.proto +0 -95
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/timestamp.proto +0 -147
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/type.proto +0 -187
- hgitaly-17.8.0/rust/dependencies/proto/google/protobuf/wrappers.proto +0 -123
- hgitaly-17.8.0/rust/go-enry.rev +0 -1
- hgitaly-17.8.0/rust/lint +0 -14
- hgitaly-17.8.0/rust/mercurial.rev +0 -1
- hgitaly-17.8.0/rust/rhgitaly/Cargo.toml +0 -43
- hgitaly-17.8.0/rust/rhgitaly/build.rs +0 -44
- hgitaly-17.8.0/rust/rhgitaly/clippy.toml +0 -6
- hgitaly-17.8.0/rust/rhgitaly/src/config.rs +0 -140
- hgitaly-17.8.0/rust/rhgitaly/src/errors.rs +0 -123
- hgitaly-17.8.0/rust/rhgitaly/src/generated/README.md +0 -7
- hgitaly-17.8.0/rust/rhgitaly/src/git.rs +0 -293
- hgitaly-17.8.0/rust/rhgitaly/src/gitlab/mod.rs +0 -50
- hgitaly-17.8.0/rust/rhgitaly/src/gitlab/reference.rs +0 -83
- hgitaly-17.8.0/rust/rhgitaly/src/gitlab/revision.rs +0 -320
- hgitaly-17.8.0/rust/rhgitaly/src/gitlab/state.rs +0 -508
- hgitaly-17.8.0/rust/rhgitaly/src/glob.rs +0 -137
- hgitaly-17.8.0/rust/rhgitaly/src/lib.rs +0 -41
- hgitaly-17.8.0/rust/rhgitaly/src/main.rs +0 -115
- hgitaly-17.8.0/rust/rhgitaly/src/mercurial.rs +0 -1362
- hgitaly-17.8.0/rust/rhgitaly/src/message.rs +0 -469
- hgitaly-17.8.0/rust/rhgitaly/src/metadata.rs +0 -27
- hgitaly-17.8.0/rust/rhgitaly/src/oid.rs +0 -87
- hgitaly-17.8.0/rust/rhgitaly/src/process.rs +0 -39
- hgitaly-17.8.0/rust/rhgitaly/src/repository/mod.rs +0 -475
- hgitaly-17.8.0/rust/rhgitaly/src/repository/spawner.rs +0 -471
- hgitaly-17.8.0/rust/rhgitaly/src/service/analysis.rs +0 -184
- hgitaly-17.8.0/rust/rhgitaly/src/service/blob.rs +0 -256
- hgitaly-17.8.0/rust/rhgitaly/src/service/commit/find_commits.rs +0 -202
- hgitaly-17.8.0/rust/rhgitaly/src/service/commit/get_tree_entries.rs +0 -291
- hgitaly-17.8.0/rust/rhgitaly/src/service/commit/last_commits.rs +0 -567
- hgitaly-17.8.0/rust/rhgitaly/src/service/commit/mod.rs +0 -492
- hgitaly-17.8.0/rust/rhgitaly/src/service/commit/tree_entry.rs +0 -155
- hgitaly-17.8.0/rust/rhgitaly/src/service/diff.rs +0 -92
- hgitaly-17.8.0/rust/rhgitaly/src/service/mercurial_repository.rs +0 -435
- hgitaly-17.8.0/rust/rhgitaly/src/service/mod.rs +0 -14
- hgitaly-17.8.0/rust/rhgitaly/src/service/ref.rs +0 -634
- hgitaly-17.8.0/rust/rhgitaly/src/service/remote.rs +0 -668
- hgitaly-17.8.0/rust/rhgitaly/src/service/repository.rs +0 -275
- hgitaly-17.8.0/rust/rhgitaly/src/service/server.rs +0 -34
- hgitaly-17.8.0/rust/rhgitaly/src/sidecar.rs +0 -184
- hgitaly-17.8.0/rust/rhgitaly/src/ssh.rs +0 -101
- hgitaly-17.8.0/rust/rhgitaly/src/streaming.rs +0 -339
- hgitaly-17.8.0/rust/rhgitaly/src/util.rs +0 -132
- hgitaly-17.8.0/rust/rs-enry.rev +0 -1
- hgitaly-17.8.0/rust/src-tarball.sh +0 -60
- hgitaly-17.8.0/test-requirements.txt +0 -8
- {hgitaly-17.8.0 → hgitaly-17.8.1}/LICENSE +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/MANIFEST.in +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/README.md +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgext3rd/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgext3rd/hgitaly/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgext3rd/hgitaly/revset.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgext3rd/hgitaly/tests/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgext3rd/hgitaly/tests/test_revset.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgext3rd/hgitaly/tests/test_serve.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/branch.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/changelog.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/diff.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/errors.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/feature.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/file_content.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/file_context.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/git.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/gitlab_ref.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/license_detector/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/license_detector/spdx-licenses.json +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/linguist/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/linguist/languages.json +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/logging.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/manifest.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/message.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/oid.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/pagination.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/path.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/peer.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/procutil.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/repository.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/revision.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/revset.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/scripts.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/address.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/mono.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/prefork.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/tests/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/tests/test_address.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/tests/test_mono.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/tests/test_prefork.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/tests/test_worker.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/server/worker.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/analysis.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/blob.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/commit.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/diff.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/interceptors.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/mercurial_changeset.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/mercurial_operations.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/mercurial_repository.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/operations.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/ref.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/repository.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/server.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/fixture.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_analysis.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_blob.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_commit.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_default_branch.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_diff.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_mercurial_changeset.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_mercurial_operations.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_mercurial_repository.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_operations.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_ref.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_repository_service.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/service/tests/test_server.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/servicer.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/ssh.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stream.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/analysis_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/analysis_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/blob_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/blob_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/commit_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/commit_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/diff_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/diff_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/errors_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/errors_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/lint_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/lint_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/mercurial_changeset_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/mercurial_changeset_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/mercurial_operations_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/mercurial_operations_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/mercurial_repository_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/mercurial_repository_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/operations_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/operations_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/ref_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/ref_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/remote_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/remote_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/repository_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/repository_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/server_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/server_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/shared_pb2.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/stub/shared_pb2_grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tag.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/bundle.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/context.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/grpc.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/ssh.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/sshd.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/storage.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/tests/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/testing/tests/test_sshd.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/common.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_branch.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_diff.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_errors.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_feature.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_file_context.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_gitlab_ref.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_license_detector.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_linguist.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_manifest.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_messages.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_oid.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_peer.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_repository.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_revision.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_revset.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_servicer.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_stream.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_tag.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/tests/test_workdir.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/util.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly/workdir.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly.egg-info/dependency_links.txt +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly.egg-info/entry_points.txt +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly.egg-info/requires.txt +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/hgitaly.egg-info/top_level.txt +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/install-requirements.txt +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/setup.cfg +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/setup.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/__init__.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/conftest.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/gitaly.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/hgitaly_rhgitaly_comparison.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/rhgitaly.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_blob_tree.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_comparison.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_diff.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_gitaly_server.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_mercurial_repository.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_operations.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_remote.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_rhgitaly_server.py +0 -0
- {hgitaly-17.8.0 → hgitaly-17.8.1}/tests_with_gitaly/test_server.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
17.8.1
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: mercurial-aux-git.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from . import lint_pb2 as lint__pb2
|
|
15
|
+
from . import shared_pb2 as shared__pb2
|
|
16
|
+
from . import repository_pb2 as repository__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17mercurial-aux-git.proto\x12\x07hgitaly\x1a\nlint.proto\x1a\x0cshared.proto\x1a\x10repository.proto2\xcd\x02\n\x16MercurialAuxGitService\x12Y\n\x12\x41uxGitCreateBundle\x12\x1b.gitaly.CreateBundleRequest\x1a\x1c.gitaly.CreateBundleResponse\"\x06\xfa\x97(\x02\x08\x02\x30\x01\x12y\n\x16\x41uxGitCreateFromBundle\x12).gitaly.CreateRepositoryFromBundleRequest\x1a*.gitaly.CreateRepositoryFromBundleResponse\"\x06\xfa\x97(\x02\x08\x01(\x01\x12]\n\x14\x41uxGitRepositorySize\x12\x1d.gitaly.RepositorySizeRequest\x1a\x1e.gitaly.RepositorySizeResponse\"\x06\xfa\x97(\x02\x08\x01\x62\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'mercurial_aux_git_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
|
|
26
|
+
DESCRIPTOR._options = None
|
|
27
|
+
_MERCURIALAUXGITSERVICE.methods_by_name['AuxGitCreateBundle']._options = None
|
|
28
|
+
_MERCURIALAUXGITSERVICE.methods_by_name['AuxGitCreateBundle']._serialized_options = b'\372\227(\002\010\002'
|
|
29
|
+
_MERCURIALAUXGITSERVICE.methods_by_name['AuxGitCreateFromBundle']._options = None
|
|
30
|
+
_MERCURIALAUXGITSERVICE.methods_by_name['AuxGitCreateFromBundle']._serialized_options = b'\372\227(\002\010\001'
|
|
31
|
+
_MERCURIALAUXGITSERVICE.methods_by_name['AuxGitRepositorySize']._options = None
|
|
32
|
+
_MERCURIALAUXGITSERVICE.methods_by_name['AuxGitRepositorySize']._serialized_options = b'\372\227(\002\010\001'
|
|
33
|
+
_globals['_MERCURIALAUXGITSERVICE']._serialized_start=81
|
|
34
|
+
_globals['_MERCURIALAUXGITSERVICE']._serialized_end=414
|
|
35
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from . import repository_pb2 as repository__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class MercurialAuxGitServiceStub(object):
|
|
9
|
+
"""Methods working on auxiliary Git repositories
|
|
10
|
+
|
|
11
|
+
The auxiliary Git repositories are mostly meant to support mirroring
|
|
12
|
+
to external Git services.
|
|
13
|
+
These are set aside so that Gitaly does not handle them.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
def __init__(self, channel):
|
|
17
|
+
"""Constructor.
|
|
18
|
+
|
|
19
|
+
Args:
|
|
20
|
+
channel: A grpc.Channel.
|
|
21
|
+
"""
|
|
22
|
+
self.AuxGitCreateBundle = channel.unary_stream(
|
|
23
|
+
'/hgitaly.MercurialAuxGitService/AuxGitCreateBundle',
|
|
24
|
+
request_serializer=repository__pb2.CreateBundleRequest.SerializeToString,
|
|
25
|
+
response_deserializer=repository__pb2.CreateBundleResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.AuxGitCreateFromBundle = channel.stream_unary(
|
|
28
|
+
'/hgitaly.MercurialAuxGitService/AuxGitCreateFromBundle',
|
|
29
|
+
request_serializer=repository__pb2.CreateRepositoryFromBundleRequest.SerializeToString,
|
|
30
|
+
response_deserializer=repository__pb2.CreateRepositoryFromBundleResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.AuxGitRepositorySize = channel.unary_unary(
|
|
33
|
+
'/hgitaly.MercurialAuxGitService/AuxGitRepositorySize',
|
|
34
|
+
request_serializer=repository__pb2.RepositorySizeRequest.SerializeToString,
|
|
35
|
+
response_deserializer=repository__pb2.RepositorySizeResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class MercurialAuxGitServiceServicer(object):
|
|
40
|
+
"""Methods working on auxiliary Git repositories
|
|
41
|
+
|
|
42
|
+
The auxiliary Git repositories are mostly meant to support mirroring
|
|
43
|
+
to external Git services.
|
|
44
|
+
These are set aside so that Gitaly does not handle them.
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def AuxGitCreateBundle(self, request, context):
|
|
48
|
+
"""Missing associated documentation comment in .proto file."""
|
|
49
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
50
|
+
context.set_details('Method not implemented!')
|
|
51
|
+
raise NotImplementedError('Method not implemented!')
|
|
52
|
+
|
|
53
|
+
def AuxGitCreateFromBundle(self, request_iterator, context):
|
|
54
|
+
"""Missing associated documentation comment in .proto file."""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
59
|
+
def AuxGitRepositorySize(self, request, context):
|
|
60
|
+
"""Missing associated documentation comment in .proto file."""
|
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
+
context.set_details('Method not implemented!')
|
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def add_MercurialAuxGitServiceServicer_to_server(servicer, server):
|
|
67
|
+
rpc_method_handlers = {
|
|
68
|
+
'AuxGitCreateBundle': grpc.unary_stream_rpc_method_handler(
|
|
69
|
+
servicer.AuxGitCreateBundle,
|
|
70
|
+
request_deserializer=repository__pb2.CreateBundleRequest.FromString,
|
|
71
|
+
response_serializer=repository__pb2.CreateBundleResponse.SerializeToString,
|
|
72
|
+
),
|
|
73
|
+
'AuxGitCreateFromBundle': grpc.stream_unary_rpc_method_handler(
|
|
74
|
+
servicer.AuxGitCreateFromBundle,
|
|
75
|
+
request_deserializer=repository__pb2.CreateRepositoryFromBundleRequest.FromString,
|
|
76
|
+
response_serializer=repository__pb2.CreateRepositoryFromBundleResponse.SerializeToString,
|
|
77
|
+
),
|
|
78
|
+
'AuxGitRepositorySize': grpc.unary_unary_rpc_method_handler(
|
|
79
|
+
servicer.AuxGitRepositorySize,
|
|
80
|
+
request_deserializer=repository__pb2.RepositorySizeRequest.FromString,
|
|
81
|
+
response_serializer=repository__pb2.RepositorySizeResponse.SerializeToString,
|
|
82
|
+
),
|
|
83
|
+
}
|
|
84
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
85
|
+
'hgitaly.MercurialAuxGitService', rpc_method_handlers)
|
|
86
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
# This class is part of an EXPERIMENTAL API.
|
|
90
|
+
class MercurialAuxGitService(object):
|
|
91
|
+
"""Methods working on auxiliary Git repositories
|
|
92
|
+
|
|
93
|
+
The auxiliary Git repositories are mostly meant to support mirroring
|
|
94
|
+
to external Git services.
|
|
95
|
+
These are set aside so that Gitaly does not handle them.
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
@staticmethod
|
|
99
|
+
def AuxGitCreateBundle(request,
|
|
100
|
+
target,
|
|
101
|
+
options=(),
|
|
102
|
+
channel_credentials=None,
|
|
103
|
+
call_credentials=None,
|
|
104
|
+
insecure=False,
|
|
105
|
+
compression=None,
|
|
106
|
+
wait_for_ready=None,
|
|
107
|
+
timeout=None,
|
|
108
|
+
metadata=None):
|
|
109
|
+
return grpc.experimental.unary_stream(request, target, '/hgitaly.MercurialAuxGitService/AuxGitCreateBundle',
|
|
110
|
+
repository__pb2.CreateBundleRequest.SerializeToString,
|
|
111
|
+
repository__pb2.CreateBundleResponse.FromString,
|
|
112
|
+
options, channel_credentials,
|
|
113
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
114
|
+
|
|
115
|
+
@staticmethod
|
|
116
|
+
def AuxGitCreateFromBundle(request_iterator,
|
|
117
|
+
target,
|
|
118
|
+
options=(),
|
|
119
|
+
channel_credentials=None,
|
|
120
|
+
call_credentials=None,
|
|
121
|
+
insecure=False,
|
|
122
|
+
compression=None,
|
|
123
|
+
wait_for_ready=None,
|
|
124
|
+
timeout=None,
|
|
125
|
+
metadata=None):
|
|
126
|
+
return grpc.experimental.stream_unary(request_iterator, target, '/hgitaly.MercurialAuxGitService/AuxGitCreateFromBundle',
|
|
127
|
+
repository__pb2.CreateRepositoryFromBundleRequest.SerializeToString,
|
|
128
|
+
repository__pb2.CreateRepositoryFromBundleResponse.FromString,
|
|
129
|
+
options, channel_credentials,
|
|
130
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
131
|
+
|
|
132
|
+
@staticmethod
|
|
133
|
+
def AuxGitRepositorySize(request,
|
|
134
|
+
target,
|
|
135
|
+
options=(),
|
|
136
|
+
channel_credentials=None,
|
|
137
|
+
call_credentials=None,
|
|
138
|
+
insecure=False,
|
|
139
|
+
compression=None,
|
|
140
|
+
wait_for_ready=None,
|
|
141
|
+
timeout=None,
|
|
142
|
+
metadata=None):
|
|
143
|
+
return grpc.experimental.unary_unary(request, target, '/hgitaly.MercurialAuxGitService/AuxGitRepositorySize',
|
|
144
|
+
repository__pb2.RepositorySizeRequest.SerializeToString,
|
|
145
|
+
repository__pb2.RepositorySizeResponse.FromString,
|
|
146
|
+
options, channel_credentials,
|
|
147
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -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
|
|
@@ -115,6 +98,8 @@ hgitaly/stub/errors_pb2.py
|
|
|
115
98
|
hgitaly/stub/errors_pb2_grpc.py
|
|
116
99
|
hgitaly/stub/lint_pb2.py
|
|
117
100
|
hgitaly/stub/lint_pb2_grpc.py
|
|
101
|
+
hgitaly/stub/mercurial_aux_git_pb2.py
|
|
102
|
+
hgitaly/stub/mercurial_aux_git_pb2_grpc.py
|
|
118
103
|
hgitaly/stub/mercurial_changeset_pb2.py
|
|
119
104
|
hgitaly/stub/mercurial_changeset_pb2_grpc.py
|
|
120
105
|
hgitaly/stub/mercurial_operations_pb2.py
|
|
@@ -140,15 +125,6 @@ hgitaly/testing/grpc.py
|
|
|
140
125
|
hgitaly/testing/ssh.py
|
|
141
126
|
hgitaly/testing/sshd.py
|
|
142
127
|
hgitaly/testing/storage.py
|
|
143
|
-
hgitaly/testing/data/authorized_keys
|
|
144
|
-
hgitaly/testing/data/backup_additional_no_git.tar
|
|
145
|
-
hgitaly/testing/data/id_ecdsa_user
|
|
146
|
-
hgitaly/testing/data/known_hosts
|
|
147
|
-
hgitaly/testing/data/ssh_host_ecdsa_key
|
|
148
|
-
hgitaly/testing/data/ssh_host_ecdsa_key.pub
|
|
149
|
-
hgitaly/testing/data/ssh_host_ed25519
|
|
150
|
-
hgitaly/testing/data/ssh_host_ed25519.pub
|
|
151
|
-
hgitaly/testing/data/sshd_config
|
|
152
128
|
hgitaly/testing/tests/__init__.py
|
|
153
129
|
hgitaly/testing/tests/test_sshd.py
|
|
154
130
|
hgitaly/tests/__init__.py
|
|
@@ -172,114 +148,6 @@ hgitaly/tests/test_servicer.py
|
|
|
172
148
|
hgitaly/tests/test_stream.py
|
|
173
149
|
hgitaly/tests/test_tag.py
|
|
174
150
|
hgitaly/tests/test_workdir.py
|
|
175
|
-
protos/analysis.proto
|
|
176
|
-
protos/blob.proto
|
|
177
|
-
protos/cleanup.proto
|
|
178
|
-
protos/cluster.proto
|
|
179
|
-
protos/commit.proto
|
|
180
|
-
protos/conflicts.proto
|
|
181
|
-
protos/diff.proto
|
|
182
|
-
protos/errors.proto
|
|
183
|
-
protos/hook.proto
|
|
184
|
-
protos/internal.proto
|
|
185
|
-
protos/lint.proto
|
|
186
|
-
protos/log.proto
|
|
187
|
-
protos/mercurial-changeset.proto
|
|
188
|
-
protos/mercurial-operations.proto
|
|
189
|
-
protos/mercurial-repository.proto
|
|
190
|
-
protos/namespace.proto
|
|
191
|
-
protos/objectpool.proto
|
|
192
|
-
protos/operations.proto
|
|
193
|
-
protos/packfile.proto
|
|
194
|
-
protos/partition.proto
|
|
195
|
-
protos/praefect.proto
|
|
196
|
-
protos/ref.proto
|
|
197
|
-
protos/remote.proto
|
|
198
|
-
protos/repository.proto
|
|
199
|
-
protos/server.proto
|
|
200
|
-
protos/service_config.proto
|
|
201
|
-
protos/shared.proto
|
|
202
|
-
protos/smarthttp.proto
|
|
203
|
-
protos/ssh.proto
|
|
204
|
-
protos/transaction.proto
|
|
205
|
-
protos/wiki.proto
|
|
206
|
-
ruby/.ruby-version
|
|
207
|
-
ruby/Gemfile
|
|
208
|
-
ruby/README.md
|
|
209
|
-
ruby/generate-grpc-lib
|
|
210
|
-
ruby/hgitaly.gemspec
|
|
211
|
-
ruby/run.rb
|
|
212
|
-
ruby/lib/hgitaly.rb
|
|
213
|
-
ruby/lib/hgitaly/mercurial-changeset_pb.rb
|
|
214
|
-
ruby/lib/hgitaly/mercurial-changeset_services_pb.rb
|
|
215
|
-
ruby/lib/hgitaly/mercurial-operations_pb.rb
|
|
216
|
-
ruby/lib/hgitaly/mercurial-operations_services_pb.rb
|
|
217
|
-
ruby/lib/hgitaly/mercurial-repository_pb.rb
|
|
218
|
-
ruby/lib/hgitaly/mercurial-repository_services_pb.rb
|
|
219
|
-
ruby/lib/hgitaly/version.rb
|
|
220
|
-
rust/Cargo.lock
|
|
221
|
-
rust/Cargo.toml
|
|
222
|
-
rust/Makefile
|
|
223
|
-
rust/build-from-tarball.sh
|
|
224
|
-
rust/check-line-width
|
|
225
|
-
rust/go-enry.rev
|
|
226
|
-
rust/lint
|
|
227
|
-
rust/mercurial.rev
|
|
228
|
-
rust/rs-enry.rev
|
|
229
|
-
rust/src-tarball.sh
|
|
230
|
-
rust/dependencies/README.md
|
|
231
|
-
rust/dependencies/mercurial.patch
|
|
232
|
-
rust/dependencies/proto/google/protobuf/any.proto
|
|
233
|
-
rust/dependencies/proto/google/protobuf/api.proto
|
|
234
|
-
rust/dependencies/proto/google/protobuf/descriptor.proto
|
|
235
|
-
rust/dependencies/proto/google/protobuf/duration.proto
|
|
236
|
-
rust/dependencies/proto/google/protobuf/empty.proto
|
|
237
|
-
rust/dependencies/proto/google/protobuf/field_mask.proto
|
|
238
|
-
rust/dependencies/proto/google/protobuf/source_context.proto
|
|
239
|
-
rust/dependencies/proto/google/protobuf/struct.proto
|
|
240
|
-
rust/dependencies/proto/google/protobuf/timestamp.proto
|
|
241
|
-
rust/dependencies/proto/google/protobuf/type.proto
|
|
242
|
-
rust/dependencies/proto/google/protobuf/wrappers.proto
|
|
243
|
-
rust/dependencies/proto/google/protobuf/compiler/plugin.proto
|
|
244
|
-
rust/rhgitaly/Cargo.toml
|
|
245
|
-
rust/rhgitaly/build.rs
|
|
246
|
-
rust/rhgitaly/clippy.toml
|
|
247
|
-
rust/rhgitaly/src/config.rs
|
|
248
|
-
rust/rhgitaly/src/errors.rs
|
|
249
|
-
rust/rhgitaly/src/git.rs
|
|
250
|
-
rust/rhgitaly/src/glob.rs
|
|
251
|
-
rust/rhgitaly/src/lib.rs
|
|
252
|
-
rust/rhgitaly/src/main.rs
|
|
253
|
-
rust/rhgitaly/src/mercurial.rs
|
|
254
|
-
rust/rhgitaly/src/message.rs
|
|
255
|
-
rust/rhgitaly/src/metadata.rs
|
|
256
|
-
rust/rhgitaly/src/oid.rs
|
|
257
|
-
rust/rhgitaly/src/process.rs
|
|
258
|
-
rust/rhgitaly/src/sidecar.rs
|
|
259
|
-
rust/rhgitaly/src/ssh.rs
|
|
260
|
-
rust/rhgitaly/src/streaming.rs
|
|
261
|
-
rust/rhgitaly/src/util.rs
|
|
262
|
-
rust/rhgitaly/src/generated/README.md
|
|
263
|
-
rust/rhgitaly/src/gitlab/mod.rs
|
|
264
|
-
rust/rhgitaly/src/gitlab/reference.rs
|
|
265
|
-
rust/rhgitaly/src/gitlab/revision.rs
|
|
266
|
-
rust/rhgitaly/src/gitlab/state.rs
|
|
267
|
-
rust/rhgitaly/src/repository/mod.rs
|
|
268
|
-
rust/rhgitaly/src/repository/spawner.rs
|
|
269
|
-
rust/rhgitaly/src/service/analysis.rs
|
|
270
|
-
rust/rhgitaly/src/service/blob.rs
|
|
271
|
-
rust/rhgitaly/src/service/diff.rs
|
|
272
|
-
rust/rhgitaly/src/service/mercurial_repository.rs
|
|
273
|
-
rust/rhgitaly/src/service/mod.rs
|
|
274
|
-
rust/rhgitaly/src/service/ref.rs
|
|
275
|
-
rust/rhgitaly/src/service/remote.rs
|
|
276
|
-
rust/rhgitaly/src/service/repository.rs
|
|
277
|
-
rust/rhgitaly/src/service/server.rs
|
|
278
|
-
rust/rhgitaly/src/service/commit/find_commits.rs
|
|
279
|
-
rust/rhgitaly/src/service/commit/get_tree_entries.rs
|
|
280
|
-
rust/rhgitaly/src/service/commit/last_commits.rs
|
|
281
|
-
rust/rhgitaly/src/service/commit/mod.rs
|
|
282
|
-
rust/rhgitaly/src/service/commit/tree_entry.rs
|
|
283
151
|
tests_with_gitaly/__init__.py
|
|
284
152
|
tests_with_gitaly/comparison.py
|
|
285
153
|
tests_with_gitaly/conftest.py
|
|
@@ -291,6 +159,7 @@ tests_with_gitaly/test_commit.py
|
|
|
291
159
|
tests_with_gitaly/test_comparison.py
|
|
292
160
|
tests_with_gitaly/test_diff.py
|
|
293
161
|
tests_with_gitaly/test_gitaly_server.py
|
|
162
|
+
tests_with_gitaly/test_mercurial_aux_git.py
|
|
294
163
|
tests_with_gitaly/test_mercurial_repository.py
|
|
295
164
|
tests_with_gitaly/test_operations.py
|
|
296
165
|
tests_with_gitaly/test_ref.py
|
|
@@ -274,7 +274,10 @@ class BaseRpcHelper:
|
|
|
274
274
|
|
|
275
275
|
def rpc(self, backend, **kwargs):
|
|
276
276
|
if self.repository_arg:
|
|
277
|
-
|
|
277
|
+
if backend == 'hg':
|
|
278
|
+
kwargs.setdefault('repository', self.comparison.hgitaly_repo)
|
|
279
|
+
else:
|
|
280
|
+
kwargs.setdefault('repository', self.comparison.gitaly_repo)
|
|
278
281
|
|
|
279
282
|
if self.streaming_request_field is not None:
|
|
280
283
|
request = self.stream_requests(**kwargs)
|
|
@@ -441,6 +441,7 @@ def test_compare_find_commit(gitaly_rhgitaly_comparison, hg_server):
|
|
|
441
441
|
assert_compare_errors(repository=None, # and no revision
|
|
442
442
|
same_details=False)
|
|
443
443
|
fixture.gitaly_repo.relative_path = 'unknown/repo'
|
|
444
|
+
fixture.hgitaly_repo.relative_path = 'unknown/repo'
|
|
444
445
|
assert_compare_errors(revision=b'HEAD', same_details=False)
|
|
445
446
|
|
|
446
447
|
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
from heptapod.testhelpers.git import GitRepo
|
|
2
|
+
|
|
3
|
+
from hgitaly.stub.shared_pb2 import Repository
|
|
4
|
+
from hgitaly.stub.repository_pb2 import (
|
|
5
|
+
CreateBundleRequest,
|
|
6
|
+
CreateRepositoryFromBundleRequest,
|
|
7
|
+
RepositorySizeRequest,
|
|
8
|
+
)
|
|
9
|
+
from hgitaly.stub.mercurial_aux_git_pb2_grpc import MercurialAuxGitServiceStub
|
|
10
|
+
from hgitaly.testing.storage import storage_path
|
|
11
|
+
|
|
12
|
+
import pytest
|
|
13
|
+
from . import skip_comparison_tests
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
if skip_comparison_tests(): # pragma no cover
|
|
17
|
+
pytestmark = pytest.mark.skip
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def test_create_bundle_create_from_bundle(gitaly_rhgitaly_comparison_native,
|
|
21
|
+
tmpdir,
|
|
22
|
+
server_repos_root):
|
|
23
|
+
fixture = gitaly_rhgitaly_comparison_native
|
|
24
|
+
wrapper = fixture.hg_repo_wrapper
|
|
25
|
+
src_git_repo = fixture.git_repo
|
|
26
|
+
wrapper.write_commit('foo', message="Some foo")
|
|
27
|
+
wrapper.command('hpd-export-native-to-git')
|
|
28
|
+
# export worked
|
|
29
|
+
assert set(src_git_repo.branches()) == {b'branch/default'}
|
|
30
|
+
|
|
31
|
+
rpc_helper = fixture.rpc_helper(
|
|
32
|
+
hg_server='rhgitaly',
|
|
33
|
+
stub_cls=MercurialAuxGitServiceStub,
|
|
34
|
+
method_name='AuxGitCreateBundle',
|
|
35
|
+
request_cls=CreateBundleRequest,
|
|
36
|
+
streaming=True,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
bundle_data = [r.data for r in rpc_helper.rpc('hg')]
|
|
40
|
+
|
|
41
|
+
# direct check
|
|
42
|
+
clone = GitRepo.create_from_bundle_data(
|
|
43
|
+
tmpdir / 'restored.git',
|
|
44
|
+
bundle_data,
|
|
45
|
+
stream=True,
|
|
46
|
+
tmpdir=tmpdir
|
|
47
|
+
)
|
|
48
|
+
assert clone.branch_titles() == {b'branch/default': b'Some foo'}
|
|
49
|
+
|
|
50
|
+
# remounting via rpc
|
|
51
|
+
rpc_helper = fixture.rpc_helper(
|
|
52
|
+
hg_server='rhgitaly',
|
|
53
|
+
stub_cls=MercurialAuxGitServiceStub,
|
|
54
|
+
method_name='AuxGitCreateFromBundle',
|
|
55
|
+
request_cls=CreateRepositoryFromBundleRequest,
|
|
56
|
+
streaming_request_field='data',
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
restored_gl_repo = Repository(
|
|
60
|
+
relative_path="restore2.git",
|
|
61
|
+
storage_name=fixture.gitaly_repo.storage_name
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# rpc_helper does not know how to stream on bytes, and we need
|
|
65
|
+
# a custom repository field, let's get down to manual mode
|
|
66
|
+
def stream_requests():
|
|
67
|
+
first = True
|
|
68
|
+
for data in bundle_data:
|
|
69
|
+
if first:
|
|
70
|
+
kw = dict(repository=restored_gl_repo, data=data)
|
|
71
|
+
else:
|
|
72
|
+
kw = dict(data=data) # pragma no cover
|
|
73
|
+
yield CreateRepositoryFromBundleRequest(**kw)
|
|
74
|
+
first = False
|
|
75
|
+
|
|
76
|
+
rpc_helper.stubs['hg'].AuxGitCreateFromBundle(stream_requests())
|
|
77
|
+
|
|
78
|
+
clone2 = GitRepo(storage_path(server_repos_root)
|
|
79
|
+
/ '+hgitaly/hg-git/restore2.git')
|
|
80
|
+
assert clone2.branch_titles() == {b'branch/default': b'Some foo'}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def test_repository_size(gitaly_rhgitaly_comparison_native):
|
|
84
|
+
fixture = gitaly_rhgitaly_comparison_native
|
|
85
|
+
wrapper = fixture.hg_repo_wrapper
|
|
86
|
+
src_git_repo = fixture.git_repo
|
|
87
|
+
wrapper.write_commit('foo', message="Some foo",
|
|
88
|
+
content=b"foobar" * 17000)
|
|
89
|
+
wrapper.command('hpd-export-native-to-git')
|
|
90
|
+
# export worked
|
|
91
|
+
assert set(src_git_repo.branches()) == {b'branch/default'}
|
|
92
|
+
|
|
93
|
+
rpc_helper = fixture.rpc_helper(
|
|
94
|
+
hg_server='rhgitaly',
|
|
95
|
+
stub_cls=MercurialAuxGitServiceStub,
|
|
96
|
+
method_name='AuxGitRepositorySize',
|
|
97
|
+
request_cls=RepositorySizeRequest,
|
|
98
|
+
)
|
|
99
|
+
# results may vary according to how system reports size of small files
|
|
100
|
+
assert rpc_helper.rpc('hg').size > 20
|
|
@@ -190,6 +190,7 @@ def test_update_references(gitaly_comparison, server_repos_root):
|
|
|
190
190
|
|
|
191
191
|
# unknown storage
|
|
192
192
|
fixture.gitaly_repo.storage_name = 'unknown'
|
|
193
|
+
fixture.hgitaly_repo.storage_name = 'unknown'
|
|
193
194
|
assert_compare_errors(updates=[Update(reference=b'refs/pipelines/37',
|
|
194
195
|
new_object_id=default_rev)],
|
|
195
196
|
same_details=False)
|
|
@@ -719,6 +719,7 @@ def test_search_files_by_content(gitaly_comparison):
|
|
|
719
719
|
assert_compare_errors(ref=b'')
|
|
720
720
|
assert_compare_errors(repository=None)
|
|
721
721
|
fixture.gitaly_repo.relative_path = 'no/such/repo'
|
|
722
|
+
fixture.hgitaly_repo.relative_path = 'no/such/repo'
|
|
722
723
|
assert_compare_errors(query='foo', same_details=False)
|
|
723
724
|
|
|
724
725
|
|
|
@@ -793,6 +794,7 @@ def test_write_ref(gitaly_comparison, server_repos_root):
|
|
|
793
794
|
|
|
794
795
|
# unknown storage
|
|
795
796
|
fixture.gitaly_repo.storage_name = 'unknown'
|
|
797
|
+
fixture.hgitaly_repo.storage_name = 'unknown'
|
|
796
798
|
assert_compare_errors(ref=b'refs/pipelines/37', revision=default_rev,
|
|
797
799
|
same_details=False)
|
|
798
800
|
|