Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2228 closed Bug (fixed)

transmission should truncate files on updating torrents

Reported by: mdocguard Owned by: charles
Priority: Normal Milestone: 1.73
Component: libtransmission Version: 1.72
Severity: Normal Keywords: backport-1.5x
Cc:

Description

I use the latest version of the Transmission BT client (1.72), on Mac OS X. I like it but one bug is annoying and requires manually fixing some downloads after their completion.

There are updating torrents used e.g. for distributing software updates that this client doesn't handle well. Suppose in the first version of a torrent T1 there's a file F of size 1MB. I download this torrent and fetch a file. Then the other day the software gets updated, a new torrent gets posted, T2, and this version of the torrent changes the contents and size of file F to say 512KB. I remove the old torrent, add a new one, and start the download. The current version of the client will put the right contents into the first 512KB of file F, but forget to truncate the size to 512KB. This is especially annoying with configuration text files where it can break a file's syntax.

Also, the client doesn't seem to create (legally) empty files specified in a torrent, but that's probably another bug.

Change History (6)

comment:1 Changed 12 years ago by livings124

  • Milestone changed from 1.80 to None Set

Don't set milestones unless you include a patch.

comment:2 Changed 12 years ago by charles

  • Component changed from Transmission to libtransmission
  • Milestone changed from None Set to 1.73
  • Owner set to charles

comment:3 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from new to closed

fixed in trunk in r8726 for 1.73

comment:4 Changed 12 years ago by charles

comment:5 Changed 12 years ago by livings124

  • Summary changed from transmission should learn to truncate files on updating torrents to transmission should truncate files on updating torrents

comment:6 Changed 12 years ago by charles

  • Keywords backport-1.5x added
Note: See TracTickets for help on using tickets.