From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Proposal: prefetch tarballs in a batch Date: Fri, 28 Mar 2014 03:25:47 +0400 Message-ID: <87ha6jkyv8.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTJlH-00042k-Q1 for guix-devel@gnu.org; Thu, 27 Mar 2014 19:31:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTJlG-0006qx-56 for guix-devel@gnu.org; Thu, 27 Mar 2014 19:31:03 -0400 Received: from [2a01:7e00::f03c:91ff:fedf:181] (port=51414 helo=cooksoni.karetnikov.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTJlF-0006qq-Vg for guix-devel@gnu.org; Thu, 27 Mar 2014 19:31:02 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable By default, Guix fetches source tarballs on demand. You download a tarball, configure and install, move to the next one, and so on. But it may be useful to fetch all the prerequisites before building. For instance, you travel frequently and don=E2=80=99t usually have Internet access. So it=E2=80=99d be nice to do something like =E2=80=98guix package =E2=80=93install=3D{foo,bar,baz}=E2=80=99 at home, run =E2=80=98pm-hibernat= e=E2=80=99 at some point, hop on a train, and continue building if the sources got downloaded. Actaully, the last part made me realize that it may be better to have a separate script for downloading. After all, we=E2=80=99d like to ensure th= at the tarballs were fetched, or the train ride would be boring. On IRC, Ludo suggested to add a new option to =E2=80=98guix build=E2=80=99, how har= d would it be? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJTNLN+AAoJEM+IQzI9IQ381qcP/iUbAl/JcP3nBU9jD77oySsp KsFePHBjAL9OVxghy0FceF3aolYgZxqrcJW8Kt5dNfQR2VPlzG4RR2Oneb7+xTLt yEV3IUYMHrMnGnQ7YroFT1hGkfCxjkLiGKcG5DfVlo6OJEa87neMA3/w2Y+2X4ge bMtSDo4UMfFfczU6ZyeDBAH7iqkwAypX91jE935W3cFh6HCWQSMiKu71n8KARG49 GVNd2TbWJtOB2NIC/MrhQXGPyPxWN/CtVdhapVQgRJxDU7QGpRz+60uL/rVSwNRQ fgJ7CeV7goZnrpFXF/Uqqq004ZEtXKPOC8iRcvNKRk6AHNLvnTS491gibFaakUqT KjTQbQpwsFUlXV3qjHtpF6qeBPW9sceW/X5l8piRpIcnr8M7YLm0lCW93xlULDgc a9HP6/JJuK8ivFqGtu5o0710NL+ZiLUwhvSGvSX64b5NRdQWh7sziHuq93LfqgEB 47oAC/5EBQ8TLnZjtBwf44nQongpQ/dgm1xyGahcFZipMXqEV7hP82IwkbA13zgl QF5oKFW2BpsVJX0ilJ2r/3UbL9/5m4yWzs/Fmzl+jpz1KAowGXuaGF55X76LL9c1 igPRbqwg2npZeSFt929V4o1JPWHfclWtHVOtM8DBNJGXiUrqHB4RzaotjkjQigoQ GgiLYd0UYDwRsmakc4J4 =tmHF -----END PGP SIGNATURE----- --=-=-=--