all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Random idea about speeding up guix pull
@ 2017-09-03 14:27 Hartmut Goebel
  2017-09-03 14:38 ` ng0
  2017-09-04 15:01 ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Hartmut Goebel @ 2017-09-03 14:27 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

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          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |


[-- Attachment #2: 0xBF773B65.asc --]
[-- Type: application/pgp-keys, Size: 14855 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-07  8:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.