Extracted from #14265.
After supporting URL mirrors (#14291), an additional enhancement is to allow any project in the dependency tree to provide additional mirrors for any dependency in the entire tree.
This might look something like:
.{
.name = "libffmpeg",
.version = "5.1.2",
// ...
.mirrors = .{
.@"sha256=c9b30cffc40999d2c078ff350cbcee642970a224fe123c756d0892f876cf1aae" = .{
"https://example.com/1.tar.gz",
"https://example.com/2.tar.gz",
},
},
}
This would provide a way for a project to vendor dependencies in a git branch, or use something like git-subtrac.
Extracted from #14265.
After supporting URL mirrors (#14291), an additional enhancement is to allow any project in the dependency tree to provide additional mirrors for any dependency in the entire tree.
This might look something like:
.{ .name = "libffmpeg", .version = "5.1.2", // ... .mirrors = .{ .@"sha256=c9b30cffc40999d2c078ff350cbcee642970a224fe123c756d0892f876cf1aae" = .{ "https://example.com/1.tar.gz", "https://example.com/2.tar.gz", }, }, }This would provide a way for a project to vendor dependencies in a git branch, or use something like git-subtrac.