[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hydra serving source tarballs
From: |
Ludovic Courtès |
Subject: |
Re: Hydra serving source tarballs |
Date: |
Wed, 12 Feb 2014 18:34:50 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Sree Harsha Totakura <address@hidden> skribis:
> I just observed that `guix build' is downloading source tarballs from
> Hydra. Is this supposed to be a feature? If so, what is the rationale
> behind not trying to download the source ball from mirrors or upstream
> download addresses?
Downloads are normal derivations, like builds¹. Thus, their result is
cached into the store, and so Hydra serves substitutes for them just
like for any other derivation.
As Andreas said, this is a desirable feature for upstream sites that
remove old source tarballs.
However, hydra.gnu.org is indeed often slower than upstream sites these
days. This is obviously not inherent to the mechanism, and instead has
to do, I believe, with hydra.gnu.org being an overloaded VM.
I think things will improve when we start offloading builds to other
machines, which I hope will happen Real Soon Now.
Thanks,
Ludo’.
¹ With a slight difference: the hash of the output of a download
derivation is known in advance. We call them “fixed-output”
derivations, because the file name of the output is independent of the
inputs used to perform the actual download.