Skip to content

Track Git 3.0 repository format support #28

Description

@andrew

Silo can serve SHA-256 repositories that use the files ref backend. Repositories using reftable fail when Silo opens them through go-git.

On current main with Git 2.55.0:

GIT_DEFAULT_HASH=sha256 GIT_DEFAULT_REF_FORMAT=reftable go test ./...

The HTTP clone test fails with:

remote: unknown extension: refstorage
fatal: repository ... not found

The same suite succeeds with GIT_DEFAULT_HASH=sha256 GIT_DEFAULT_REF_FORMAT=files.

Upstream tracking:

After reftable support lands, update the pinned go-git dependency and retain coverage for SHA-256 repositories using both ref backends. Check the format used by gitstore.Store.Init at the same time so newly created Silo repositories work with fresh Git 3 clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions