* Heads-up: ‘guix pull’ now uses Guile-Git
@ 2017-08-01 22:27 Ludovic Courtès
2017-08-01 23:15 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2017-08-01 22:27 UTC (permalink / raw)
To: guix-devel, help-guix
[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]
Hello Guix!
Until now ‘guix pull’ would fetch a ~13 MiB snapshot of our Git
repository when you invoke it. This is no longer the case (at last!)
with a change that makes it use Guile-Git (bindings to libgit2)
instead. There are other goodies such as the new ‘--branch’ and
‘--commit’ options.
Next time you run ‘guix pull’, it’ll fetch the new ‘guix pull’, which
has this new Guile-Git requirement.
There are several scenarios here:
1. Guile-Git is already in your environment so you won’t notice
anything.
This is the case if you’ve reconfigured GuixSD recently, or if
you’re on a foreign distro and you’ve upgraded the ‘guix’ package
of root recently.
2. Guile-Git is not yet in your environment, so the next time you run
‘guix pull’ you’ll get a message telling you to install the
‘guile-git’ (or ‘guile2.0-git’) package. Once you’ve done that,
you should be fine.
3. You’re upgrading from a Guix snapshot from before February 2017
(i.e., a Guix that lacks a ‘guile-git’ package.) In that case
‘guix pull’ will refuse to upgrade and tell you to upgrade to
0.13.0 first, which will then allow you to upgrade to the latest
master.
Please report any issues!
Thanks,
Ludo’.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Heads-up: ‘guix pull’ now uses Guile-Git
2017-08-01 22:27 Heads-up: ‘guix pull’ now uses Guile-Git Ludovic Courtès
@ 2017-08-01 23:15 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-08-01 23:15 UTC (permalink / raw)
To: guix-devel, help-guix
ludo@gnu.org (Ludovic Courtès) skribis:
> Until now ‘guix pull’ would fetch a ~13 MiB snapshot of our Git
> repository when you invoke it. This is no longer the case (at last!)
> with a change that makes it use Guile-Git (bindings to libgit2)
I should point out that this uses a cached Git checkout under
~/.cache/guix/pull, thanks to the (guix git) module that Mathieu
Othacehe wrote.
So the first time you run ‘guix pull’, it clones the whole repo, and
after that it simply does the equivalent of ‘git pull’. Better than
downloading the whole snapshot every time. :-)
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-01 23:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-01 22:27 Heads-up: ‘guix pull’ now uses Guile-Git Ludovic Courtès
2017-08-01 23:15 ` Ludovic Courtès
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.