Tue, 05 May 2009 20:14:36 -0400
Add support for new .deb archives with data.tar.{bz2,lzma}.
We do this just by detecting the compression of the data.tar file at
runtime. The current solution is not exactly elegant but at least avoids
repeating code.
56 | 1 | Changes in dtrx |
2 | =============== | |
3 | ||
103
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
4 | Version 6.5 |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
5 | ----------- |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
6 | |
106
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
7 | Enhancements |
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
8 | ~~~~~~~~~~~~ |
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
9 | |
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
10 | * When you list archive contents with -l or -t, dtrx will start printing |
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
11 | results much faster than it used to. There's a small chance that it |
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
12 | will print some incorrect listings if it misdetects the archive type of |
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
13 | a given file, but it will show you an error message when that happens. |
dcf005ef7070
Start printing results ASAP with -l or -t.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
105
diff
changeset
|
14 | |
103
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
15 | Bug fixes |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
16 | ~~~~~~~~~ |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
17 | |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
18 | * When extracting an archive that contained a file with a mismatched |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
19 | filename, the prompt would offer you a chance to "rename the directory" |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
20 | instead of "rename the file." This wording has been fixed, along with |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
21 | some other wording adjustments in the prompts generally. |
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
22 | |
105
f76ac41fe061
Make sure prompts with filenames don't break mid-filename.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
103
diff
changeset
|
23 | * Perform more reliable detection of the terminal size, and improve word |
f76ac41fe061
Make sure prompts with filenames don't break mid-filename.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
103
diff
changeset
|
24 | wrapping on prompts. |
103
f68a0ca870b0
Reword one entry prompt; wrap prompt choices; better term size detection.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
100
diff
changeset
|
25 | |
99
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
26 | Version 6.4 |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
27 | ----------- |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
28 | |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
29 | Enhancements |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
30 | ~~~~~~~~~~~~ |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
31 | |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
32 | * Support detection of LZMA archives by magic. |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
33 | |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
34 | * Interactive prompts are wrapped much more cleanly. |
1ae3722ca219
Improve wrapping of interactive prompts.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
94
diff
changeset
|
35 | |
100
7353b443dc98
Fix crasher bug when extracting empty archives.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
99
diff
changeset
|
36 | Bug fixes |
7353b443dc98
Fix crasher bug when extracting empty archives.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
99
diff
changeset
|
37 | ~~~~~~~~~ |
7353b443dc98
Fix crasher bug when extracting empty archives.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
99
diff
changeset
|
38 | |
7353b443dc98
Fix crasher bug when extracting empty archives.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
99
diff
changeset
|
39 | * Fix a bug where dtrx would crash when extracting an archive with no |
7353b443dc98
Fix crasher bug when extracting empty archives.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
99
diff
changeset
|
40 | files inside it. |
7353b443dc98
Fix crasher bug when extracting empty archives.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
99
diff
changeset
|
41 | |
93
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
42 | Version 6.3 |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
43 | ----------- |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
44 | |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
45 | New features |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
46 | ~~~~~~~~~~~~ |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
47 | |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
48 | * Add support for RAR archives. Thanks to Peter Kelemen for the patch. |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
49 | |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
50 | Bug fixes |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
51 | ~~~~~~~~~ |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
52 | |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
53 | * Previous versions of dtrx would fail to extract certain archive types |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
54 | with the ``-v`` option specified. This has been fixed. |
6c20788653a8
Prepare for a 6.3 release
Brett Smith <brettcsmith@brettcsmith.org>
parents:
89
diff
changeset
|
55 | |
94
6cdbdffa2e2e
Avoid DeprecationWarning under Python 2.6. Part of the 6.3 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
93
diff
changeset
|
56 | * dtrx 6.3 no longer imports the sets module unless it's running under a |
6cdbdffa2e2e
Avoid DeprecationWarning under Python 2.6. Part of the 6.3 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
93
diff
changeset
|
57 | very old version of Python, to avoid deprecation warnings under Python |
6cdbdffa2e2e
Avoid DeprecationWarning under Python 2.6. Part of the 6.3 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
93
diff
changeset
|
58 | 2.6. |
6cdbdffa2e2e
Avoid DeprecationWarning under Python 2.6. Part of the 6.3 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
93
diff
changeset
|
59 | |
89 | 60 | Version 6.2 |
61 | ----------- | |
62 | ||
63 | New features | |
64 | ~~~~~~~~~~~~ | |
65 | ||
66 | * --one-entry option: Normally, if an archive only contains one file or | |
67 | directory with a name that doesn't match the archive's, dtrx will ask | |
68 | you how to handle it. With this option, you can specify ahead of time | |
69 | what should happen. | |
70 | ||
71 | Bug fixes | |
72 | ~~~~~~~~~ | |
73 | ||
74 | * Since version 6.0, when you extracted or listed the contents of a cpio | |
75 | archive, dtrx would display a warning that simply said "1234 blocks." | |
76 | dtrx 6.2 suppresses this message. | |
77 | ||
78 | * When you try to list the contents of an archive, dtrx will now cope with | |
79 | misnamed files more gracefully, giving more accurate results and showing | |
80 | fewer error messages. | |
81 | ||
82 | * dtrx 6.2 will only show you error messages from archive extraction if it | |
83 | is completely unable to extract the file. If one of its extraction | |
84 | methods succeeds, it will no longer show you the error messages from | |
85 | previous extraction attempts. | |
86 | ||
87 | * dtrx is now better about cleaning up partially extracted archives when | |
88 | it encounters an error or signal. | |
89 | ||
90 | * Users will no longer see error messages about broken pipes from dtrx. | |
91 | ||
74
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
92 | Version 6.1 |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
93 | ----------- |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
94 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
95 | New features |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
96 | ~~~~~~~~~~~~ |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
97 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
98 | * Add support for InstallShield archives, using the unshield command. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
99 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
100 | * 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
|
101 | 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
|
102 | immediately. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
103 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
104 | Bug fixes |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
105 | ~~~~~~~~~ |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
106 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
107 | * 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
|
108 | extracting a single file. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
109 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
110 | * 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
|
111 | 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
|
112 | 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
|
113 | the current directory as -f requires. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
114 | |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
115 | * 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
|
116 | 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
|
117 | 6.1. |
dd577317bccb
Updates for 6.1 release.
Brett Smith <brettcsmith@brettcsmith.org>
parents:
56
diff
changeset
|
118 | |
56 | 119 | Version 6.0 |
120 | ----------- | |
121 | ||
122 | New features | |
123 | ~~~~~~~~~~~~ | |
124 | ||
125 | * When you specify -v at the command line, dtrx will display the files it | |
126 | extracts, much like tar. | |
127 | ||
128 | * When dtrx prompts you about how to handle recursive archives, you now | |
129 | have the option of listing what those archives before making a decision. | |
130 | ||
131 | * dtrx will now provide more information about why a particular extraction | |
132 | attempt failed. It will show you error messages from all the attempts | |
133 | it made, rather than only the last error it got. It will also detect | |
134 | and warn you when one of the underlying extraction tools, like | |
135 | cabextract, cannot be found. | |
136 | ||
137 | * dtrx does a better job of cleaning up after itself. It wouldn't always | |
138 | clean up temporary files after certain errors; that has been fixed. It | |
139 | also catches SIGINT and SIGTERM and cleans up before finishing | |
140 | execution. | |
141 | ||
142 | Bug fixes | |
143 | ~~~~~~~~~ | |
144 | ||
145 | * Version 5.0 introduced a regression such that dtrx would not offer to | |
146 | extract recursive archives that were hidden under subdirectories. | |
147 | Version 6.0 fixes that. | |
148 | ||
149 | * dtrx would not properly extract recursive archives when the original | |
150 | archive contained a single directory. This has been fixed. | |
151 | ||
152 | Version 5.1 | |
153 | ----------- | |
154 | ||
155 | Bug fixes | |
156 | ~~~~~~~~~ | |
157 | ||
158 | * Version 5.0 did not work with Python 2.3; it used a new language | |
159 | feature. This release fixes that. | |
160 | ||
161 | Version 5.0 | |
162 | ----------- | |
163 | ||
164 | New features | |
165 | ~~~~~~~~~~~~ | |
166 | ||
167 | * dtrx can now extract Ruby gems, 7z archives, and Microsoft Cabinet | |
168 | archives. It can also handle files compressed with lzma, and extract | |
169 | the metadata from Debian packages and Ruby gems. | |
170 | ||
171 | * dtrx will now use several strategies to try to figure out what kind of | |
172 | file you have, and extract it accordingly. If one doesn't work, it'll | |
173 | try something else if it can. | |
174 | ||
175 | * dtrx now displays more helpful errors when things go wrong. | |
176 | ||
177 | * Previous versions of dtrx would look at what files were included in an | |
178 | archive, and then make a decision about how to extract it. Now, it | |
179 | always extracts files to a temporary directory, and figures out what to | |
180 | do with that directory afterward. This should be slightly faster and | |
181 | nicer to the system. | |
182 | ||
183 | Version 4.0 | |
184 | ----------- | |
185 | ||
186 | New features | |
187 | ~~~~~~~~~~~~ | |
188 | ||
189 | * dtrx is now interactive. If the archive only contains one item, or | |
190 | contains other archives, dtrx will ask you how you would like to handle | |
191 | it. You can turn these questions off the the -n option. | |
192 | ||
193 | * There is a new -l option, which simply lists the archive's contents | |
194 | rather than extracting them. |