guix-devel
[Top][All Lists]
Advanced

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

Random idea about speeding up guix pull


From: Hartmut Goebel
Subject: Random idea about speeding up guix pull
Date: Sun, 3 Sep 2017 16:27:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hi,

I've seen in Ludo's slides that speeding up guix pull is topic. Here is
a random idea on the:

"git pull" can probably be speed up by using something like

    git init .
    git remote add …
    git fetch --depth=1 origin master
    git checkout FETCH_HEAD

This will only download the top-most commit resp. commit-state.

>From my mostly up-t-date clone, this method downloads only 1559 objects
and 'du -s .git' reports 13M – compared to "git pull" downloading 133284
objects and taking 49M.

We could use this for downloading sourcce-code via git (git-download).

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |

Attachment: 0xBF773B65.asc
Description: application/pgp-keys


reply via email to

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