git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Resumable clone/Gittorrent (again) - stable packs?
@ 2011-01-06  2:29 Zenaan Harkness
  2011-01-06 17:05 ` Shawn Pearce
  2011-01-06 21:09 ` Nicolas Pitre
  0 siblings, 2 replies; 22+ messages in thread
From: Zenaan Harkness @ 2011-01-06  2:29 UTC (permalink / raw)
  To: git

Bittorrent requires some stability around torrent files.

Can packs be generated deterministically?
If not by two separate repos, what about by one particular repo?

For Linus' linux-2.6.git, that repo is considered 'canonical' by many.

Pack-torrents could be ~1MiB, ~10MiB, ~100Mib, ~1GiB, or as configured
in a particular repo, which repo is the canonical location for
pack-torrents for all who consider that particular repo as canonical.

Perhaps a heuristic/ algorithm: once ten 10MiB (sequentially
generated) pack-torrents are floating around,
they could be simply concatenated to create a 100MiB pack-torrent,
with a deterministic name and SHA etc,
so that all those 10MiB pack-torrent files that torrent clients have,
can be re-used and locally combined into the 100MiB torrent as needed,
on demand.

Same for 100MiB -> 1GiB pack-torrents.

Individual extra commits:
While "small" number of additional commits go into a repo, clients
fall back to git-fetch, _after .

If Linus linus-2.6.git (currently configured "canonical" repo) goes
offline, simply configure a new remote canonical repo.

Branches:
Other "branches" repos of linux-2.6.git could create their own
consistent 50MiB (or as configured) pack-torrents which are
commits-only-missing-from-linux-2.6 pack-torrents (ie, those missing
from that repo's "canonical" upstream).

This would require clients have a recursive torrent locator (I start
at linux-net.git, which requires linux-2.6.git, so I go get those
packs as well as the linux-net.git packs).

Perhaps have a system-wide or user-wide git repo/ torrent config, or
check with user running git-clone linux-net.git "Do you have an
existing git.vger.kernel.org/linux-2.6.git archive?".

Zen

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

end of thread, other threads:[~2011-01-11  1:56 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06  2:29 Resumable clone/Gittorrent (again) - stable packs? Zenaan Harkness
2011-01-06 17:05 ` Shawn Pearce
2011-01-10 16:39   ` John Wyzer
2011-01-10 21:42     ` Sam Vilain
2011-01-11  0:03     ` Nguyen Thai Ngoc Duy
2011-01-11  0:57       ` J.H.
2011-01-11  1:56         ` Nguyen Thai Ngoc Duy
2011-01-06 21:09 ` Nicolas Pitre
2011-01-07  2:36   ` Zenaan Harkness
2011-01-07  4:33     ` Nicolas Pitre
2011-01-07  5:22       ` Jeff King
2011-01-07  5:31         ` Jeff King
2011-01-07 10:04           ` Zenaan Harkness
2011-01-07 18:52           ` Ilari Liusvaara
2011-01-07 19:17             ` Jeff King
2011-01-07 21:45               ` Ilari Liusvaara
2011-01-07 21:56                 ` Jeff King
2011-01-07 22:21                   ` Ilari Liusvaara
2011-01-07 22:27                     ` Jeff King
2011-01-10 21:07             ` Sam Vilain
2011-01-10 11:48       ` Nguyen Thai Ngoc Duy
2011-01-10 13:50         ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).