Tue, 16 Sep 2008 21:51:59 -0400
Make sure all extractors get self.contents defined.
self.contents was set in check_contents, which not every extractor class
needs to call. But every extractor needs to have it, since this is how we
print filenames with -v. So assign this in the extract method, which we're
guaranteed to call.
56 | 1 | Changes in dtrx |
2 | =============== | |
3 | ||
89 | 4 | Version 6.2 |
5 | ----------- | |
6 | ||
7 | New features | |
8 | ~~~~~~~~~~~~ | |
9 | ||
10 | * --one-entry option: Normally, if an archive only contains one file or | |
11 | directory with a name that doesn't match the archive's, dtrx will ask | |
12 | you how to handle it. With this option, you can specify ahead of time | |
13 | what should happen. | |
14 | ||
15 | Bug fixes | |
16 | ~~~~~~~~~ | |
17 | ||
18 | * Since version 6.0, when you extracted or listed the contents of a cpio | |
19 | archive, dtrx would display a warning that simply said "1234 blocks." | |
20 | dtrx 6.2 suppresses this message. | |
21 | ||
22 | * When you try to list the contents of an archive, dtrx will now cope with | |
23 | misnamed files more gracefully, giving more accurate results and showing | |
24 | fewer error messages. | |
25 | ||
26 | * dtrx 6.2 will only show you error messages from archive extraction if it | |
27 | is completely unable to extract the file. If one of its extraction | |
28 | methods succeeds, it will no longer show you the error messages from | |
29 | previous extraction attempts. | |
30 | ||
31 | * dtrx is now better about cleaning up partially extracted archives when | |
32 | it encounters an error or signal. | |
33 | ||
34 | * Users will no longer see error messages about broken pipes from dtrx. | |
35 | ||
74
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
36 | Version 6.1 |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
37 | ----------- |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
38 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
39 | New features |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
40 | ~~~~~~~~~~~~ |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
41 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
42 | * Add support for InstallShield archives, using the unshield command. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
43 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
44 | * The wording of many of the interactive prompts has been adjusted, |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
45 | hopefully to be clearer and provide more information to the user |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
46 | immediately. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
47 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
48 | Bug fixes |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
49 | ~~~~~~~~~ |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
50 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
51 | * dtrx 6.1 does a better job protecting against race conditions when |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
52 | extracting a single file. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
53 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
54 | * If you used the -f option, and extracted an archive that only contained |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
55 | one file or directory, dtrx 6.0 would still prompt you to ask how it |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
56 | should be extracted. dtrx 6.1 fixes this, extracting the contents to |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
57 | the current directory as -f requires. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
58 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
59 | * Recursive extraction would not work well in dtrx 6.0 when the contents |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
60 | of the original archive were a single file. This has been fixed in dtrx |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
61 | 6.1. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
62 | |
56 | 63 | Version 6.0 |
64 | ----------- | |
65 | ||
66 | New features | |
67 | ~~~~~~~~~~~~ | |
68 | ||
69 | * When you specify -v at the command line, dtrx will display the files it | |
70 | extracts, much like tar. | |
71 | ||
72 | * When dtrx prompts you about how to handle recursive archives, you now | |
73 | have the option of listing what those archives before making a decision. | |
74 | ||
75 | * dtrx will now provide more information about why a particular extraction | |
76 | attempt failed. It will show you error messages from all the attempts | |
77 | it made, rather than only the last error it got. It will also detect | |
78 | and warn you when one of the underlying extraction tools, like | |
79 | cabextract, cannot be found. | |
80 | ||
81 | * dtrx does a better job of cleaning up after itself. It wouldn't always | |
82 | clean up temporary files after certain errors; that has been fixed. It | |
83 | also catches SIGINT and SIGTERM and cleans up before finishing | |
84 | execution. | |
85 | ||
86 | Bug fixes | |
87 | ~~~~~~~~~ | |
88 | ||
89 | * Version 5.0 introduced a regression such that dtrx would not offer to | |
90 | extract recursive archives that were hidden under subdirectories. | |
91 | Version 6.0 fixes that. | |
92 | ||
93 | * dtrx would not properly extract recursive archives when the original | |
94 | archive contained a single directory. This has been fixed. | |
95 | ||
96 | Version 5.1 | |
97 | ----------- | |
98 | ||
99 | Bug fixes | |
100 | ~~~~~~~~~ | |
101 | ||
102 | * Version 5.0 did not work with Python 2.3; it used a new language | |
103 | feature. This release fixes that. | |
104 | ||
105 | Version 5.0 | |
106 | ----------- | |
107 | ||
108 | New features | |
109 | ~~~~~~~~~~~~ | |
110 | ||
111 | * dtrx can now extract Ruby gems, 7z archives, and Microsoft Cabinet | |
112 | archives. It can also handle files compressed with lzma, and extract | |
113 | the metadata from Debian packages and Ruby gems. | |
114 | ||
115 | * dtrx will now use several strategies to try to figure out what kind of | |
116 | file you have, and extract it accordingly. If one doesn't work, it'll | |
117 | try something else if it can. | |
118 | ||
119 | * dtrx now displays more helpful errors when things go wrong. | |
120 | ||
121 | * Previous versions of dtrx would look at what files were included in an | |
122 | archive, and then make a decision about how to extract it. Now, it | |
123 | always extracts files to a temporary directory, and figures out what to | |
124 | do with that directory afterward. This should be slightly faster and | |
125 | nicer to the system. | |
126 | ||
127 | Version 4.0 | |
128 | ----------- | |
129 | ||
130 | New features | |
131 | ~~~~~~~~~~~~ | |
132 | ||
133 | * dtrx is now interactive. If the archive only contains one item, or | |
134 | contains other archives, dtrx will ask you how you would like to handle | |
135 | it. You can turn these questions off the the -n option. | |
136 | ||
137 | * There is a new -l option, which simply lists the archive's contents | |
138 | rather than extracting them. |