Re: git pack/unpack over bittorrent - works!

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

 



On Fri, Sep 03, 2010 at 10:12:29AM -0700, Junio C Hamano wrote:
> Theodore Tso <tytso@xxxxxxx> writes:
> 
> > ...  So people who are willing
> > to participate as part of the peer2peer network can download the
> > instructions for how to make the canonical pack once a month, and use it
> > to create the canonical pack.  If the "Gittorrent master" has spent a
> > lot of time to carefully compute the most efficient set of delta
> > pairings, they will get the slight benefit of a more efficient pack
> > which they could use instead of th eir local one without having to use
> > large values of --window and --depth to "git repack".
> 
> Hmm, is the idea essentially to tell people "Here is a snapshot of Linus
> repository as of a few weeks ago, carefully repacked.  Instead of running
> "git clone" yourself, please bootstrap your repository by copying it over
> bittorrent and then "git pull" to update it"?

Essentially, yes.  I just don't think bittorrent makes sense for
anything else, because the git protocol is so much more efficient for
tiny incremental updates...

So the only other part of my idea is that we could construct a special
set of instructions that would allow them to recreate the carefully
repacked snapshot of Linus's repository without having to download it
from a central seed site.  Instead, they could download a small set of
instructions, and use that in combination with the objects already in
their repository, to create a bit-identical version of the carefully
repacked Linus repository.  It's basically rip-off of jigdo, but
applied to git repositories instead of Debian .iso files.

	       		    	       - Ted

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]