public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* host a git archive on an rsync server?
@ 2009-11-30  8:20 Dan Carpenter
  2009-11-30 12:52 ` Avi Kivity
  2009-12-03  6:44 ` James Cloos
  0 siblings, 2 replies; 3+ messages in thread
From: Dan Carpenter @ 2009-11-30  8:20 UTC (permalink / raw)
  To: linux-kernel

Could someone do a git clone and put it on an rsync server for me?

I am in Africa and it is going to take some months before I get 
broadband.  The max bandwith I can currently buy at one time is 200MB.
It's not enough to clone of the kernel.  With git you can't download
200MB, disconnect and then download the remaining bits later, so
that's why I need rsync.

If I had the initial clone, I could pull in the changes every day
no problem.  

It costs $.05 USD per MB so maybe the best way to save bandwidth
is something like this:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
mv linux-2.6/.git linux-2.6.gitdir
tar cvvf linux-2.6.gitdir.tar linux-2.6.gitdir
bzip2 linux-2.6.gitdir.tar

I would be super grateful if anyone could do this.

thanks,
dan carpenter

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

* Re: host a git archive on an rsync server?
  2009-11-30  8:20 host a git archive on an rsync server? Dan Carpenter
@ 2009-11-30 12:52 ` Avi Kivity
  2009-12-03  6:44 ` James Cloos
  1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2009-11-30 12:52 UTC (permalink / raw)
  To: Dan Carpenter, linux-kernel

On 11/30/2009 10:20 AM, Dan Carpenter wrote:
> Could someone do a git clone and put it on an rsync server for me?
>
>    

http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/

and use some downloaded which supports resuming interrupted downloads.

-- 
error compiling committee.c: too many arguments to function


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

* Re: host a git archive on an rsync server?
  2009-11-30  8:20 host a git archive on an rsync server? Dan Carpenter
  2009-11-30 12:52 ` Avi Kivity
@ 2009-12-03  6:44 ` James Cloos
  1 sibling, 0 replies; 3+ messages in thread
From: James Cloos @ 2009-12-03  6:44 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: linux-kernel

>>>>> "Dan" == Dan Carpenter <error27@gmail.com> writes:

Dan> Could someone do a git clone and put it on an rsync server for me?

You can rsync the bare repo from kernel.org at:

rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

After you get the rsync of the bare tree, do:

git clone --reference linux-2.6.git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

then you can delete the linux-2.6/.git/objects/info/alternates file and
copy the linux-2.6.git/objects/ tree to linux-2.6/.git/objects/.

(Making the separate clone and moving over the referenced objects is the
best way to ensure that the resulting repo has the same settings as a
direct clone would have.  You may want to run a git gc after all of that
to pack any loose objects from the rsync'ed repo.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

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

end of thread, other threads:[~2009-12-03  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30  8:20 host a git archive on an rsync server? Dan Carpenter
2009-11-30 12:52 ` Avi Kivity
2009-12-03  6:44 ` James Cloos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox