[Bug 591728] New: incorrect filenames in torrent files on download.opensuse.org
http://bugzilla.novell.com/show_bug.cgi?id=591728 http://bugzilla.novell.com/show_bug.cgi?id=591728#c0 Summary: incorrect filenames in torrent files on download.opensuse.org Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Download Infrastructure AssignedTo: lrupp@novell.com ReportedBy: poeml@cmdline.net QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; de-de) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7 Hi, I am embedding a torrent generator in MirrorBrain, and I'm running into a problem with the Tracker that openSUSE operates. Normally, the torrents that I generate would already be registered in the openSUSE tracker, because they are identical to the ones that openSUSE provides in the past. However, the registered torrents (and the .torrent files on download.opensuse.org) use wrong filenames inside, which means that the (correct) torrents that I generate are not registered in the tracker. The Tracker thinks that they are different because the filenames in the openSUSE torrents don't match the actual files. This means that a Bittorrent client downloading torrents from MirrorBrain will not find peers to download from. The problem in the .torrent files on download.opensuse.org is this: Instead of the real filename, e.g. openSUSE-11.2-KDE4-LiveCD-x86_64.iso, the torrents contain a '-' before the file ending, as in openSUSE-11.2-KDE4-LiveCD-x86_64-iso. Thus, the filenames mentioned in the torrent are different from the filenames in question. --- normal 2010-03-27 13:47:51.000000000 +0100 +++ opensuse 2010-03-27 13:46:04.000000000 +0100 @@ -4,7 +4,7 @@ 0000030: 6e6e 6f75 6e63 6537 3a63 6f6d 6d65 6e74 nnounce7:comment 0000040: 3336 3a6f 7065 6e53 5553 452d 3131 2e32 36:openSUSE-11.2 0000050: 2d4b 4445 342d 4c69 7665 4344 2d78 3836 -KDE4-LiveCD-x86 -0000060: 5f36 342e 6973 6f31 333a 6372 6561 7469 _64.iso13:creati +0000060: 5f36 342d 6973 6f31 333a 6372 6561 7469 _64-iso13:creati 0000070: 6f6e 2064 6174 6569 3132 3537 3736 3834 on datei12577684 0000080: 3435 6534 3a69 6e66 6f64 353a 6669 6c65 45e4:infod5:file 0000090: 736c 6436 3a6c 656e 6774 6869 3732 3234 sld6:lengthi7224 @@ -14,7 +14,7 @@ 00000d0: 2e69 736f 6565 6534 3a6e 616d 6533 363a .isoeee4:name36: 00000e0: 6f70 656e 5355 5345 2d31 312e 322d 4b44 openSUSE-11.2-KD 00000f0: 4534 2d4c 6976 6543 442d 7838 365f 3634 E4-LiveCD-x86_64 -0000100: 2e69 736f 3132 3a70 6965 6365 206c 656e .iso12:piece len +0000100: 2d69 736f 3132 3a70 6965 6365 206c 656e -iso12:piece len 0000110: 6774 6869 3236 3231 3434 6536 3a70 6965 gthi262144e6:pie 0000120: 6365 7335 3531 3230 3aa8 7027 a4bb e4a3 ces55120:.p'.... 0000130: 6e61 12c9 20f1 255a 1c87 8458 9466 f3d4 na.. .%Z...X.f.. I would appreciate if you could fix the torrent creation process to create torrents with the correct filenames, and register those in the tracker. This bug should be trivial to fix I think. As a consequence, I might be able to promise automatic torrent generation in the next MirrorBrain version :-) (It needs more testing first, for which I need the tracker, so I can't promise it quite _yet_.) Thanks! Reproducible: Always Steps to Reproduce: curl -s http://download.opensuse.org/distribution/11.2/iso/openSUSE-11.2-KDE4-LiveCD... | xxd | less The first lines will contain the filename, which will show the file ending as -iso instead of .iso. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=591728
http://bugzilla.novell.com/show_bug.cgi?id=591728#c1
Lars Vogdt
http://bugzilla.novell.com/show_bug.cgi?id=591728
http://bugzilla.novell.com/show_bug.cgi?id=591728#c2
--- Comment #2 from Peter Poeml
participants (1)
-
bugzilla_noreply@novell.com