[ikiwiki] / trunk / blog / posts / Jan-28-2008.mdwn Repository:
ViewVC logotype

Annotation of /trunk/blog/posts/Jan-28-2008.mdwn

Parent Directory Parent Directory | Revision Log Revision Log


Revision 117 - (view) (download)

1 : camrdale 117 [[meta title="DebTorrent 0.1.6: Finally, Unique Piece Numbers"]]
2 :    
3 :     I have uploaded a new version of [DebTorrent][10] to experimental and to
4 :     my [personal repository][20]. This new version implements the [unique
5 :     piece numbers][30], which has been planned for quite some time now.
6 :     Well, it's finally here.
7 :    
8 :     To summarize, unique piece numbers keep torrent's *alive* longer, by
9 :     assigning files unique piece numbers that never get reused in that
10 :     torrent. New files get new piece numbers added to the end, but peers in
11 :     the old torrent can still share most of the old files with peers in the
12 :     new torrent (in fact, it's the same torrent, but old and new peers have
13 :     different ideas about what it contains).
14 :    
15 :     The creation of torrents from Packages files has also changed, as now 2
16 :     torrents are created, one for whatever arch the Packages file was for,
17 :     and one for the Architecture:all files. Since the Arch:all files are the
18 :     same for all architectures, this also allows for more sharing of common
19 :     files between peers on different architectures. This change required a
20 :     change in the cache directories, which is described in more detail in
21 :     the [NEWS file][40], but is handled almost automatically. The only thing
22 :     to do is the make sure to do an `apt-get update` after upgrading so that
23 :     the torrents can be restarted.
24 :    
25 :     There was also some changes in the statistics reporting. In the client,
26 :     the uploaded and downloaded statistics will now persist over restarts so
27 :     that you can see how much you've done over a longer period. The [tracker
28 :     status page][50] also got an update, and now shows the total uploaded
29 :     and downloaded bytes for each torrent, as well as some more descriptive
30 :     names for some of the torrents.
31 :    
32 :     Due to the large changes in this release, I opted for uploading to
33 :     experimental (and my repository) for now, so that it can be tested a
34 :     bit. Please do test it, and let me know of any bugs, problems or
35 :     concerns that you may have.
36 :    
37 :     Here is the changelog:
38 :    
39 :     * Add support for unique piece numbers
40 :     - increases duration of oft-updated torrents so that more peers can
41 :     participate
42 :     - currently supported only by debian testing and unstable
43 :     - see http://wiki.debian.org/DebTorrent/UniquePieces for more info
44 :     * Switch to using 2 torrents per Packages file: one for architecture-
45 :     specific files, and one for architecture-independent files
46 :     - also added a new script split_cache_for_all to ease the upgrade
47 :     * Use python-debian for all reading of RFC 822 type files
48 :     - also requires python-apt
49 :     * Add torrent names to the tracker display
50 :     * Make the download/upload statistics persist over restarts
51 :     * Report more and better statistics on the tracker's info page
52 :    
53 :     [10]: http://debtorrent.alioth.debian.org/
54 :     [20]: http://debian.camrdale.org/
55 :     [30]: http://wiki.debian.org/DebTorrent/UniquePieces
56 :     [40]: http://svn.debian.org/wsvn/debtorrent/debtorrent/tags/0.1.6/debian/NEWS?op=file&rev=0&sc=0
57 :     [50]: http://dttracker.debian.net:6969/
58 :    
59 :     [[tag debian]]

CVS Admin
ViewVC Help
Powered by ViewVC 1.0.5