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.
45
37d555407334
[svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents:
40
diff
changeset
|
1 | To do: |
37d555407334
[svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents:
40
diff
changeset
|
2 | * Add ability to list included archives for recursive extraction |
37d555407334
[svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents:
40
diff
changeset
|
3 | |
3 | 4 | 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
|
5 | * 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
|
6 | * 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
|
7 | * More consistently raise and handle exceptions. |
3 | 8 | |
9 | 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
|
10 | * Better tests. |
5 | 11 | * Better error messages. |
3 | 12 | |
13 | 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
|
14 | * 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
|
15 | have tarbomb protection, etc. |
3 | 16 | * Use zipfile instead of the zip commands. |
17 | * Processing from stdin. | |
18
1600807a32bd
[svn] Add basic documentation, and make this version 3.0.
brett
parents:
13
diff
changeset
|
18 | * shar support. |