From: Eric Bavier <ericbavier@centurylink.net>
To: Quiliro Ordonez Baca <quiliro@riseup.net>
Cc: help-guix@gnu.org
Subject: Re: offline repo server
Date: Wed, 17 Jan 2018 18:12:49 -0600 [thread overview]
Message-ID: <20180117181249.0b8fb4a0@centurylink.net> (raw)
In-Reply-To: <877esgjawf.fsf@portkomputilo.i-did-not-set--mail-host-address--so-tickle-me>
[-- Attachment #1: Type: text/plain, Size: 1545 bytes --]
On Wed, 17 Jan 2018 18:58:08 -0500
Quiliro Ordonez Baca <quiliro@riseup.net> 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.
>
> 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?
>
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2018-01-18 5:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 23:58 offline repo server Quiliro Ordonez Baca
2018-01-17 23:59 ` Jalus Bilieyich
2018-01-18 0:12 ` Eric Bavier [this message]
2018-01-19 13:01 ` Efraim Flashner
2018-01-19 16:47 ` Ricardo Wurmus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180117181249.0b8fb4a0@centurylink.net \
--to=ericbavier@centurylink.net \
--cc=help-guix@gnu.org \
--cc=quiliro@riseup.net \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.