Wed, 06 Feb 2008 19:38:26 -0500
[svn] Find self-extracting archives by their file magic only, not extension/mimetype.
The problem with using extensions/mimetypes for this is that it net way too
many false positives. Files ending in .com, .bat, etc. would cause the
user to be prompted for recursive extraction. This makes that problem go
away, and it means that error messages when the user tries to extract a
non-archive .exe will probably be more useful, too.
56 | 1 | Changes in dtrx |
2 | =============== | |
3 | ||
4 | Version 6.0 | |
5 | ----------- | |
6 | ||
7 | New features | |
8 | ~~~~~~~~~~~~ | |
9 | ||
10 | * When you specify -v at the command line, dtrx will display the files it | |
11 | extracts, much like tar. | |
12 | ||
13 | * When dtrx prompts you about how to handle recursive archives, you now | |
14 | have the option of listing what those archives before making a decision. | |
15 | ||
16 | * dtrx will now provide more information about why a particular extraction | |
17 | attempt failed. It will show you error messages from all the attempts | |
18 | it made, rather than only the last error it got. It will also detect | |
19 | and warn you when one of the underlying extraction tools, like | |
20 | cabextract, cannot be found. | |
21 | ||
22 | * dtrx does a better job of cleaning up after itself. It wouldn't always | |
23 | clean up temporary files after certain errors; that has been fixed. It | |
24 | also catches SIGINT and SIGTERM and cleans up before finishing | |
25 | execution. | |
26 | ||
27 | Bug fixes | |
28 | ~~~~~~~~~ | |
29 | ||
30 | * Version 5.0 introduced a regression such that dtrx would not offer to | |
31 | extract recursive archives that were hidden under subdirectories. | |
32 | Version 6.0 fixes that. | |
33 | ||
34 | * dtrx would not properly extract recursive archives when the original | |
35 | archive contained a single directory. This has been fixed. | |
36 | ||
37 | Version 5.1 | |
38 | ----------- | |
39 | ||
40 | Bug fixes | |
41 | ~~~~~~~~~ | |
42 | ||
43 | * Version 5.0 did not work with Python 2.3; it used a new language | |
44 | feature. This release fixes that. | |
45 | ||
46 | Version 5.0 | |
47 | ----------- | |
48 | ||
49 | New features | |
50 | ~~~~~~~~~~~~ | |
51 | ||
52 | * dtrx can now extract Ruby gems, 7z archives, and Microsoft Cabinet | |
53 | archives. It can also handle files compressed with lzma, and extract | |
54 | the metadata from Debian packages and Ruby gems. | |
55 | ||
56 | * dtrx will now use several strategies to try to figure out what kind of | |
57 | file you have, and extract it accordingly. If one doesn't work, it'll | |
58 | try something else if it can. | |
59 | ||
60 | * dtrx now displays more helpful errors when things go wrong. | |
61 | ||
62 | * Previous versions of dtrx would look at what files were included in an | |
63 | archive, and then make a decision about how to extract it. Now, it | |
64 | always extracts files to a temporary directory, and figures out what to | |
65 | do with that directory afterward. This should be slightly faster and | |
66 | nicer to the system. | |
67 | ||
68 | Version 4.0 | |
69 | ----------- | |
70 | ||
71 | New features | |
72 | ~~~~~~~~~~~~ | |
73 | ||
74 | * dtrx is now interactive. If the archive only contains one item, or | |
75 | contains other archives, dtrx will ask you how you would like to handle | |
76 | it. You can turn these questions off the the -n option. | |
77 | ||
78 | * There is a new -l option, which simply lists the archive's contents | |
79 | rather than extracting them. |