From: Ian Eure <ian@retrospec.tv>
To: 45mg <45mg.writes@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Why does `system reconfigure` need to `pull`?
Date: Thu, 26 Dec 2024 10:41:59 -0800 [thread overview]
Message-ID: <87ed1ue16w.fsf@retrospec.tv> (raw)
In-Reply-To: <8734ibx1op.fsf@gmail.com> (45mg.writes@gmail.com's message of "Wed, 25 Dec 2024 09:44:06 -0500")
Hi 45mg,
45mg <45mg.writes@gmail.com> writes:
> Updating channel 'guix' from Git repository at
> 'https://git.savannah.gnu.org/git/guix.git'...
>
> It then says it's fetching and indexing objects, authenticating
> N
> new commits, etc. As far as I can tell, this stage is equivalent
> to
> `guix pull`. It sometimes repeats this several times during the
> course of the `reconfigure`.
>
> I didn't think much of this at first, although I thought it was
> odd
> that the manual did not mention a 'pull' stage [1].
>
I’ve also noticed this, and wondered why it always pulls
first. Even
if you have an internet connection, the pull makes the reconfigure
slower than it could be.
> Now, I really want to believe that there's a way around this;
> that I
> haven't read the docs enough, and there's some option or command
> to
> reconfigure my system without pulling new commits. But I can't
> seem
> to find any such thing. (`guix time-machine` has the same
> problem
> [3].)
>
> Is there really no way to reconfigure my system without an
> internet
> connection?
>
I dug around in the --help output, but I didn’t see anything that
looked like it’d skip the pull. It’d definitely be nice to have
an
--offline or --no-pull option when reconfiguring.
The simplest path forward for you is to replace your Guix channels
with local clones of them, so `guix pull' uses your filesystem
instead
of the network. You can then `git pull' in your clone to get new
commits when you like, and `guix pull' after that to update Guix
to
use them.
I’ve heard of Guix getting used in places without much
connectivity
before, though I don’t know how it was accomplished. Maybe someone
can
chime in with their workflow.
-- Ian
next prev parent reply other threads:[~2024-12-26 18:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-25 14:44 Why does `system reconfigure` need to `pull`? 45mg
2024-12-26 18:41 ` Ian Eure [this message]
2024-12-26 21:48 ` Christopher Baines
2024-12-27 19:58 ` 45mg
2024-12-27 21:29 ` Tomas Volf
2024-12-28 7:14 ` Docs: Clarify use-cases of `guix-for-channels`? 45mg
2024-12-28 12:56 ` Tomas Volf
-- strict thread matches above, loose matches on Subject: below --
2024-12-26 12:56 Why does `system reconfigure` need to `pull`? František Boháček
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=87ed1ue16w.fsf@retrospec.tv \
--to=ian@retrospec.tv \
--cc=45mg.writes@gmail.com \
--cc=guix-devel@gnu.org \
/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).