Sun, 20 Jan 2008 01:59:42 -0500
[svn] Fix various bugs in the recursive extraction.
First, 5.0 introduced a regression where it wouldn't find archives hidden
in subdirectories. So fix that.
Then recursive extraction would get confused if the archive was a ONE_ENTRY
and we decided to wrap it or just extract it here. Fix that too: the
extractor keeps track of where it thinks it's extracting to, and then the
handler will change that if necessary.
There are unit tests for all this.
I twiddled some other small thing while I was at it but now I forget what.
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 | * Make C-c not print a stack trace. |
37d555407334
[svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents:
40
diff
changeset
|
4 | |
3 | 5 | 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
|
6 | * 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
|
7 | * 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
|
8 | * More consistently raise and handle exceptions. |
3 | 9 | |
10 | 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
|
11 | * Better tests. |
5 | 12 | * Better error messages. |
3 | 13 | |
14 | 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
|
15 | * 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
|
16 | have tarbomb protection, etc. |
3 | 17 | * Use zipfile instead of the zip commands. |
18 | * Processing from stdin. | |
18
1600807a32bd
[svn] Add basic documentation, and make this version 3.0.
brett
parents:
13
diff
changeset
|
19 | * shar support. |