[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39547] Addition of %content-addressed-mirrors to sources.json (SWH)
[bug#39547] Addition of %content-addressed-mirrors to sources.json (SWH)?
Fri, 6 Mar 2020 10:26:36 +0100
On Thu, 5 Mar 2020 at 17:19, Ludovic Courtès <address@hidden> wrote:
> zimoun <address@hidden> skribis:
> > Some upstream sources could disappear between the moment when the
> > package enters in Guix and the moment when SWH ingests it. (As an edge
> > case, let consider the recent harfbuzz one.)
> > Now the format 'sources.json' should accept an array. Does it make
> > sense to put in this array the content addressed mirrors
> > (ci.guix.gnu.org and tarball.nixos.org)?
> Yes, I think ‘sources.json’ should contain, for each item, a list of
> URLs rather than a single URL, and mirror:// URLs should be expanded.
Yes, now it is accepted  and it becomes the format of the
The patch set v2 supports the first discussion of the format (single
url); which is not relevant anymore.
The patch set attached in v3  supports the array of URLs.
> However, ‘sources.json’ is currently specified to contain a single URL,
> so we’re stuck with a single URL for now.
> Is that what you meant?
What I mean is: append %content-addressed-mirrors for each package in
the list of URLs.