Skip to content

Enable `gittest.CreateRepository` without `SkipCreationViaService` to work with SHA256

Patrick Steinhardt requested to merge pks-create-repository-sha256 into master

This MR introduces a new Protobuf field in the CreateRepository() RPC that enables callers to control the object format. This is only used for testing purposes right now, and enables the gittest.CreateRepository() helper function to work when SkipCreationViaService = false, which causes us to create the repository via above RPC. As a first PoC, convert the GetBlob() RPC to test with both SHA1 and SHA256 object hashes.

Merge request reports