Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151593 - Bittorrent needs some updated files
Summary: Bittorrent needs some updated files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-16 07:56 UTC by Chris Gianelloni (RETIRED)
Modified: 2007-05-10 21:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gianelloni (RETIRED) gentoo-dev 2006-10-16 07:56:44 UTC
The following needs to be updated on torrents.gentoo.org from poseidon.

poseidon torrents # ls -CF
livecd-amd64-installer-2006.1.iso
livecd-amd64-installer-2006.1.iso.CONTENTS
livecd-amd64-installer-2006.1.iso.DIGESTS
livecd-amd64-installer-2006.1.iso.asc
livecd-i686-installer-2006.1.iso
livecd-i686-installer-2006.1.iso.CONTENTS
livecd-i686-installer-2006.1.iso.DIGESTS
livecd-i686-installer-2006.1.iso.asc
livedvd-amd64-installer-2006.1.iso
livedvd-amd64-installer-2006.1.iso.DIGESTS
livedvd-i686-installer-2006.1.iso
livedvd-i686-installer-2006.1.iso.DIGESTS
stage1-x86-2006.1.tar.bz2
stage1-x86-2006.1.tar.bz2.DIGESTS
stage1-x86-2006.1.tar.bz2.asc

poseidon torrents # pwd
/release/torrents

If anyone that doesn't already have access to poseidon is planning on doing this, I'll need to get them access.
Comment 1 Mike Doty (RETIRED) gentoo-dev 2006-10-16 08:01:32 UTC
assigned to fox2mike
Comment 2 Shyam Mani (RETIRED) gentoo-dev 2006-10-17 06:03:21 UTC
Okay, I'm sort of stuck.

I need to create a .torrent for all of these files and then up that (via the admin interface to sparrow). The stage1-x86 has already been updated that way, and works a-okay. 

I used azureus on my comp to generate the .torrent (which seems to work fine). When I use a command line tool like createtorrent, it seems to give a messed up torrent, so I can't download (livecd-amd64 f.ex). Anyone know of a nice command-line tool that works for creating torrent files? I can't download 3.5 Gigs (mostly because of slow download speed) to my comp and then use azureus to create the torrents and re-up.

Ideas?
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-14 15:54:34 UTC
Apologies for the long command, but you should probably make a script of this...
'emerge bittorrent' to get the tools.

f=livecd-amd64-installer-2006.1
tracker_name='Pretty name for tracker'
tracker_url="http://torrents.gentoo.org/tracker.php/announce"
torrent_title='Title of torrent'
torrent_comment='Long description of torrent, we add the ls -l output below'
mkdir $f && \
mv ${f}.iso* ${f} && \
torrent_comment="${torrent_comment}\n$(ls -l $f)" && \
maketorrent-console --target "${f}.torrent" --tracker_name "$tracker_name" --comment "$torrent_comment" --title "$torrent_title"  "${tracker_url}" ${f}

Then use 'torrentinfo-console ${f}.torrent' to verify the file.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-14 15:56:51 UTC
Notice that the torrent creater only takes a two non-option inputs.
The first one is the tracker, and the second one is a file OR a directory.
If you want multiple files inside a torrent, it must be a directory.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-14 16:11:12 UTC
Oh, and there is one downside to the maketorrent-console app: it does not allow specifying an order set trackers (announce-list in bittorrent parlance). It limits you to specifying only one tracker - while not a problem for the older stuff, it will need fixing later.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-03-14 00:59:21 UTC
fox2mike: do you need more information from me, or can you complete this now?
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-10 21:18:10 UTC
I think with 2007.0 out we can just close this one, now.  What do you think?
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-05-10 21:40:00 UTC
Yup closing now.
Plus i'll ensure that releng/infra have my scripts for next time.