git pack/unpack over bittorrent - works!
- From
- Luke Kenneth Casson Leighton <luke.leighton@gmail.com>
- Date
- Sep 1, 2010, 14:36 UTC
- Message-ID
- <AANLkTik-w6jWgrt_kwAk2uNGhF_=3tMEpTZs3nyF_zGA@mail.gmail.com>
http://gitorious.org/python-libbittorrent/pybtlib
hurrah - success! git fsck shows a "dangling commit"!
so, as a proof-of-concept, 400 lines of python code plus a bittorrent library shows that it's possible to create a peer-to-peer distributed version of "git fetch", by treating the pack objects as "files to be shared".
as this code has only existed for less than three days, there are a lot of loose ends. such as the pack object files being cached in-memory, and it being strictly speaking unnecessary to obtain absolutely every single pack object from the git repository at start-up time, but to optimise that to being "on-demand" requires some ferreting around in the bittorrent library, etc. etc.
if anyone is interested in helping out, or knows of a way to get this sponsored and completed, please speak up. especially the sponsorship bit because i am in a severely critical and ridiculous financial situation and am in urgent and immediate need of money.
l.