guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random idea about speeding up guix pull


From: Ludovic Courtès
Subject: Re: Random idea about speeding up guix pull
Date: Mon, 04 Sep 2017 23:56:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hartmut Goebel <address@hidden> skribis:

> Am 04.09.2017 um 17:01 schrieb Ludovic Courtès:
>> That’s roughly what ‘guix pull’ does nowadays, now that it uses
>> Guile-Git.
>
> Does it? I only found the call to `remote-fetch` in guix/git.scm, which
> is not passed any option to.
>
> The trick is to use `--depth=1` and fetch the one, expected commit, tag
> or branch-head.

Oh right, it doesn’t do that.

What it does do is maintain a cached checkout in ~/.cache/guix/pull,
which makes subsequent pulls much faster.

Does that make sense?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]