public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] torrent support in portage
@ 2003-04-14 20:14 Caleb Shay
  2003-04-15  0:42 ` James H. Cloos Jr.
  2003-04-15  1:38 ` Robin H.Johnson
  0 siblings, 2 replies; 9+ messages in thread
From: Caleb Shay @ 2003-04-14 20:14 UTC (permalink / raw
  To: Gentoo-Dev

I've been giving a lot of thought about how to deal with things like the
mirror rush we had when kde-3.1 was released, and we got downgraded to
second-class citizens on ibiblio :), or releases of new ISOs.  I think
I've come up with a workable solution, easy to implement in portage, but
it would require an infrastructure addition.  We could add bittorrent
(http://bitconjurer.org/BitTorrent/) support for larger packages.  I say
larger packages, because bittorrent doesn't work well for small files. 
Here is what I envision it entailing.

A bittorrent server (this is the infrastructure part), that maintains
torrents of the larger packages (I define larger as 20MB+), such as
XFree.

Additional FEATURE:
bittorrent

Additional var in ebuilds:
TORRENT_URI=http://torrent.gentoo.org/${A}.torrent

(though, seeing as how we already have the file name, and therefore, the
torrent file name, it could just as easily be HAS_TORRENT=1, or maybe we
just maintain a database of which packages have torrents available that
portage checks)

What happens now is, if the user has the bittorrent FEATURE enabled, AND
has bittorrent installed (much like what is required to use the ccache
feature), and the package has a torrent available, we can then use
btdownloadheadless.py or btdownloadcurses.py to download the file (ie,
btdownloadheadl.py --url http://torrent.gentoo.org/${A}.torrent --saveas
/usr/portage/distfiles/${A}).  This takes load off of the download
mirrors, and helps everybody achieve maximum bandwidth while
downloading.

Any thoughts?

Cheers,

Caleb Shay
caleb@webninja.com




--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2003-04-15 13:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-14 20:14 [gentoo-dev] torrent support in portage Caleb Shay
2003-04-15  0:42 ` James H. Cloos Jr.
2003-04-15  0:49   ` Caleb Shay
2003-04-15  5:24     ` James H. Cloos Jr.
2003-04-15  8:15       ` Brian Friday
2003-04-15 12:24         ` James H. Cloos Jr.
2003-04-15  8:09   ` Ragnar Hojland Espinosa
2003-04-15  1:38 ` Robin H.Johnson
2003-04-15 13:55   ` Caleb Shay

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