From: ludo@gnu.org (Ludovic Courtès)
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Random idea about speeding up guix pull
Date: Mon, 04 Sep 2017 23:56:26 +0200 [thread overview]
Message-ID: <87r2vmgmb9.fsf@gnu.org> (raw)
In-Reply-To: <6a936a81-683b-6ae3-cabc-79588a97194f@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 4 Sep 2017 17:39:49 +0200")
Hartmut Goebel <h.goebel@crazy-compilers.com> 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’.
next prev parent reply other threads:[~2017-09-04 21:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 14:27 Random idea about speeding up guix pull Hartmut Goebel
2017-09-03 14:38 ` ng0
2017-09-04 15:01 ` Ludovic Courtès
2017-09-04 15:39 ` Hartmut Goebel
2017-09-04 21:56 ` Ludovic Courtès [this message]
2017-09-05 12:23 ` Hartmut Goebel
2017-09-05 14:33 ` Ludovic Courtès
2017-09-05 14:51 ` Hartmut Goebel
2017-09-07 8:28 ` Ludovic Courtès
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=87r2vmgmb9.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=h.goebel@crazy-compilers.com \
/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.