unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Sree Harsha Totakura <sreeharsha@totakura.in>
Cc: guix-devel@gnu.org
Subject: Re: Hydra serving source tarballs
Date: Wed, 12 Feb 2014 18:34:50 +0100	[thread overview]
Message-ID: <87y51gz139.fsf@gnu.org> (raw)
In-Reply-To: <52FB6A52.3090302@totakura.in> (Sree Harsha Totakura's message of "Wed, 12 Feb 2014 13:34:26 +0100")

Sree Harsha Totakura <sreeharsha@totakura.in> 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.

      parent reply	other threads:[~2014-02-12 17:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-12 12:34 Hydra serving source tarballs Sree Harsha Totakura
2014-02-12 13:14 ` Andreas Enge
2014-02-12 17:34 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y51gz139.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=sreeharsha@totakura.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).