From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel <guix-devel@gnu.org>
Subject: Random idea about speeding up guix pull
Date: Sun, 3 Sep 2017 16:27:03 +0200 [thread overview]
Message-ID: <c4507ee8-c844-24f4-2c22-df5c34ebb0ec@crazy-compilers.com> (raw)
[-- 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 --]
next reply other threads:[~2017-09-03 14:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-03 14:27 Hartmut Goebel [this message]
2017-09-03 14:38 ` Random idea about speeding up guix pull 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
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=c4507ee8-c844-24f4-2c22-df5c34ebb0ec@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=guix-devel@gnu.org \
/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.