Minimal matching of Gitaly v15.7.0
Bumping the protocol, and fixing the problems spotted by Gitaly Comparison tests. Many methods in `RefService` are being deprecated in favor of the `patterns` and `sort_by` options in `ListRefs` that are not implemented in HGitaly (see https://gitlab.com/gitlab-org/gitaly/-/issues/3966). Therefore implementing them is mandatory to claim compatibility. ## Fixed Comparison tests The discrepancies were due to - upstream keeps on removing the inappropriate `UNKNOWN` error codes in favor of `INTERNAL` - upstream keeps on removing the name of the Golang function that emitted the error in the details (it is usually either an irrelevant implementation detail or just redundant with the gRPC method name)
Showing
- hgitaly/service/commit.py 3 additions, 3 deletionshgitaly/service/commit.py
- hgitaly/service/diff.py 5 additions, 7 deletionshgitaly/service/diff.py
- hgitaly/service/repository.py 5 additions, 8 deletionshgitaly/service/repository.py
- hgitaly/service/tests/test_commit.py 2 additions, 2 deletionshgitaly/service/tests/test_commit.py
- hgitaly/service/tests/test_diff.py 4 additions, 4 deletionshgitaly/service/tests/test_diff.py
- hgitaly/service/tests/test_repository_service.py 1 addition, 1 deletionhgitaly/service/tests/test_repository_service.py
- hgitaly/stub/commit_pb2.py 46 additions, 53 deletionshgitaly/stub/commit_pb2.py
- hgitaly/stub/ref_pb2.py 4 additions, 4 deletionshgitaly/stub/ref_pb2.py
- hgitaly/stub/ref_pb2_grpc.py 6 additions, 2 deletionshgitaly/stub/ref_pb2_grpc.py
- hgitaly/stub/repository_pb2.py 145 additions, 137 deletionshgitaly/stub/repository_pb2.py
- hgitaly/stub/repository_pb2_grpc.py 2 additions, 1 deletionhgitaly/stub/repository_pb2_grpc.py
- hgitaly/stub/shared_pb2.py 40 additions, 5 deletionshgitaly/stub/shared_pb2.py
- protos/commit.proto 5 additions, 2 deletionsprotos/commit.proto
- protos/objectpool.proto 76 additions, 33 deletionsprotos/objectpool.proto
- protos/ref.proto 8 additions, 3 deletionsprotos/ref.proto
- protos/repository.proto 10 additions, 3 deletionsprotos/repository.proto
- protos/shared.proto 11 additions, 0 deletionsprotos/shared.proto
- tests_with_gitaly/test_diff.py 2 additions, 2 deletionstests_with_gitaly/test_diff.py
Loading
Please register or sign in to comment