From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: offline repo server Date: Wed, 17 Jan 2018 18:12:49 -0600 Message-ID: <20180117181249.0b8fb4a0@centurylink.net> References: <877esgjawf.fsf@portkomputilo.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/CQuFzfvu.9gL56=Z=bSe8La"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec2VH-0003Ss-47 for help-guix@gnu.org; Thu, 18 Jan 2018 00:12:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec2VB-00087Z-8Q for help-guix@gnu.org; Thu, 18 Jan 2018 00:12:42 -0500 Received: from mail.onyx.syn-alias.com ([206.152.134.66]:41578 helo=smtp.centurylink.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ec2VB-00083y-1d for help-guix@gnu.org; Thu, 18 Jan 2018 00:12:37 -0500 In-Reply-To: <877esgjawf.fsf@portkomputilo.i-did-not-set--mail-host-address--so-tickle-me> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Quiliro Ordonez Baca Cc: help-guix@gnu.org --Sig_/CQuFzfvu.9gL56=Z=bSe8La Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 17 Jan 2018 18:58:08 -0500 Quiliro Ordonez Baca wrote: > I am not sure if this has been asked before. But I live in a place where > there is no network link and I would like users to install different > softwares there. >=20 > Is it possible to have a machine connect to the net every so often so > that it updates all available substitutes (or source if substitutes are > not available)...and then take that machine to an offline site where > other machines use it to install all packages that users want? >=20 I don't think we don't have anything out-of-the-box that would elegantly handle a use-case like this. That being said, you should be able to hack something together. I think a good place to start would be the recent work Ludovic did on 'guix weather', which queries substitute servers for availability of package substitutes. You could base something off that which, instead of simply reporting statistics, actually builds the derivations: either the source derivation if a substitute is unavailable, or the package derivation. Obviously, downloading substitutes and/or source for all packages could take quite a but of time, so you may instead want to limit to a manifest of the packages you're interested in. But that could get more complicated because a package's source is "useless" unless you have sources or substitutes of the packages needed to build it, so you'd need to analyze the dependency tree a bit. It's an interesting use-case. Happy Hacking, `~Eric --Sig_/CQuFzfvu.9gL56=Z=bSe8La Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoMXjUi7471xkzbfw/XPKxxnTJWYFAlpf5oIACgkQ/XPKxxnT JWbKnhAAna9UXsD3eR7NHRJENrjtinyHaNIAZZ4QSOoc8Uxjdy6b7OfVy02yhy2l uJRqZUWyuIi9IkXv4yd2PcmXJHSezODIZIXIgNCxurMSvWSSKhbIcdG1+N2ciMJ1 F+mOI7nLtWVa058y+iTCxDEymMaP+BS/KmbGUnGx00MZ2w04lJiUV932K950dBFO 00e8auWcbXuYcG4LR16OIY01XOJvk3v4mMkfPoakhQa+79F0B8LbNB+o9Q3eFtSN +oNqmfzxWgDZywgu+fb86cdWxz6KXmDhNaR3wqIzOtF26DkupDO11XPiATyjjjSy rIjJh2cOmqn+MNvRTU2VZdobw1BARQ1/lhgQvoDXKE3ZKfoM29KQBiZId7F0zH+s 4Sj73bJ0OSHpXbWPIv1zUBarhf2QMMmZ8tb6t7d+pf2zNGKmC8HEmBa90qKetU3W YA+MY6Fhe3vjpsOKVAyYAOLZpt8m675FQsIVEsQfQhLD2LF7oERvFBmRcOcYie6q YNoAYwKh/9RzNhfq79dhmbs6H5rA3LPAL1w6XP56wVydTTEwPHg1iWU3d3fww09A UvsKcJgKpKYng6eKh45hukm0FCWL4cOq5nmWUNGczIzH6mlMYkIxsEjpf+yyApSr NLp9wqDMrCKpp4GY8p3UliqfsJ581xanmcFNnHFOOVdoK82k7L8= =JUyi -----END PGP SIGNATURE----- --Sig_/CQuFzfvu.9gL56=Z=bSe8La--