Sun, 13 Jul 2008 17:54:47 -0400
Don't assume .exe files are Cabinet archives just by extension.
.exe files are as likely as not to be archives, so I'd rather not bug the
user for recursive extraction every time they're in an archive. So we'll
detect these sorts of archives by their magic only, which prevents them
from triggering recursive extraction attempts.
61 | 1 | -*- text -*- |
2 | ||
45
37d555407334
[svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents:
40
diff
changeset
|
3 | To do: |
61 | 4 | |
70
48d2421a3178
Tweak wording of recursion question, and TODO.
Brett Smith <brett@brettcsmith.org>
parents:
68
diff
changeset
|
5 | * Everything is messed up when an archive contains one file... but I forget |
48d2421a3178
Tweak wording of recursion question, and TODO.
Brett Smith <brett@brettcsmith.org>
parents:
68
diff
changeset
|
6 | what I meant by this. |
61 | 7 | |
67
1b4ca6de7740
Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents:
65
diff
changeset
|
8 | * When we extract a compressed file (or just one file?), check to see if it |
1b4ca6de7740
Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents:
65
diff
changeset
|
9 | itself is an archive. Follow all the usual rules for recursive |
1b4ca6de7740
Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents:
65
diff
changeset
|
10 | extraction when we do this. |
61 | 11 | |
68 | 12 | * --expert mode: prompts don't show an explanation of what the options are, |
13 | unless you ask with ?. | |
67
1b4ca6de7740
Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents:
65
diff
changeset
|
14 | |
3 | 15 | Things which I have a use case/anti-use case for: |
22
b240777ae53e
[svn] Improve the way we check archive contents. If all the entries look like
brett
parents:
18
diff
changeset
|
16 | * Support pisi packages (http://paketler.pardus.org.tr/pardus-2007/) |
b240777ae53e
[svn] Improve the way we check archive contents. If all the entries look like
brett
parents:
18
diff
changeset
|
17 | * Steal ideas from <http://martin.ankerl.com/files/e>. |
40
ee6a869f8da1
[svn] Be a little nicer about explaining that we can't extract to the current
brett
parents:
35
diff
changeset
|
18 | * More consistently raise and handle exceptions. |
3 | 19 | |
20 | Things that are generally good: | |
6
77043f4e6a9f
[svn] The big thing here is recursive extraction. Find archive files in the
brett
parents:
5
diff
changeset
|
21 | * Better tests. |
5 | 22 | * Better error messages. |
3 | 23 | |
24 | Things I think might be good but can't prove: | |
8
97388f5ff770
[svn] Make ExtractorApplication suck less. Now the strategies for handling
brett
parents:
7
diff
changeset
|
25 | * Consider having options about whether or not to make sane directories, |
97388f5ff770
[svn] Make ExtractorApplication suck less. Now the strategies for handling
brett
parents:
7
diff
changeset
|
26 | have tarbomb protection, etc. |
3 | 27 | * Use zipfile instead of the zip commands. |
28 | * Processing from stdin. | |
18
1600807a32bd
[svn] Add basic documentation, and make this version 3.0.
brett
parents:
13
diff
changeset
|
29 | * shar support. |