Thu, 10 Jul 2008 18:44:06 -0400
Don't prompt for one entry handling with -f.
-f makes the answer to the "what do you want to do with this one file"
question clear, so the user shouldn't be asked for the answer.
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 | |
65
0aea49161478
Make the wording on the One Entry question a little clearer.
Brett Smith <brett@brettcsmith.org>
parents:
61
diff
changeset
|
5 | * Everything is messed up when an archive contains one file. |
61 | 6 | |
7 | * The text for when directory names don't match confused Paul. Consider | |
8 | alternatives. He thinks it would be cool if the actual/expected | |
9 | directory names aligned in the output; might need to do your own wrapping | |
10 | for this. | |
11 | ||
12 | * When we list how many archives are in the file, show a count, along with | |
13 | the number of regular files in the archive too. "foo.tar contains 5 | |
14 | other archives, out of 81 files total." | |
15 | ||
16 | * When we extract a compressed file, check to see if it itself is an | |
17 | archive. Follow all the usual rules for recursive extraction when we do | |
18 | this. | |
19 | ||
20 | * It seems like when you extract an archive that only has one file, with | |
21 | -f, you still get prompted about what to do with it. -f should always | |
22 | assume that everything gets extracted in the current directory. Track | |
23 | this bug down. | |
45
37d555407334
[svn] At work I was getting an unhelpful "No such file or directory" error when I
brett
parents:
40
diff
changeset
|
24 | |
3 | 25 | 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
|
26 | * 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
|
27 | * 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
|
28 | * More consistently raise and handle exceptions. |
3 | 29 | |
30 | 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
|
31 | * Better tests. |
5 | 32 | * Better error messages. |
3 | 33 | |
34 | 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
|
35 | * 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
|
36 | have tarbomb protection, etc. |
3 | 37 | * Use zipfile instead of the zip commands. |
38 | * Processing from stdin. | |
18
1600807a32bd
[svn] Add basic documentation, and make this version 3.0.
brett
parents:
13
diff
changeset
|
39 | * shar support. |