Skip to content

Add content addressed mode for URL SCM mirrors #676

@jkloetzke

Description

@jkloetzke

Is your feature request related to a problem? Please describe.
With preMirrorPrepend, the recommended configuration options describe how to setup a local mirror of downloaded sources. In #673 it became clear that the recommended configuration was prone to false sharing and subsequent build errors.

Now the full URL is used but this might not be optimal. If the source URL is overridden (e.g. in a corporate environment behind a proxy), but the content hash stays the same, the mirror URL is affected as well, leading to duplicate downloads.

Describe the solution you'd like
Add a content-addressable mirror mode. We mirror only deterministic packages anyway.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions