Thu, 05 Jun 2008 22:00:39 -0400
Add notes about the hg repo.
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 | |
5 | * When there's partial success in extracting an archive, go ahead and use | |
6 | the partial version. To do this, when extracting, save the stderr of | |
7 | everything that gets run, along with its status code. Let the top-level | |
8 | loop decide what to do with that information. It should do this by | |
9 | looking in the extraction directory/file and seeing if there's anything | |
10 | actually there. If there is, it should go ahead and keep it, and report | |
11 | errors as warnings (including stderr). Otherwise, it should treat it as | |
12 | an unsuccessful extraction. | |
13 | ||
14 | * The text for when directory names don't match confused Paul. Consider | |
15 | alternatives. He thinks it would be cool if the actual/expected | |
16 | directory names aligned in the output; might need to do your own wrapping | |
17 | for this. | |
18 | ||
19 | * When we list how many archives are in the file, show a count, along with | |
20 | the number of regular files in the archive too. "foo.tar contains 5 | |
21 | other archives, out of 81 files total." | |
22 | ||
23 | * When we extract a compressed file, check to see if it itself is an | |
24 | archive. Follow all the usual rules for recursive extraction when we do | |
25 | this. | |
26 | ||
27 | * It seems like when you extract an archive that only has one file, with | |
28 | -f, you still get prompted about what to do with it. -f should always | |
29 | assume that everything gets extracted in the current directory. Track | |
30 | 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
|
31 | |
3 | 32 | 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
|
33 | * 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
|
34 | * 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
|
35 | * More consistently raise and handle exceptions. |
3 | 36 | |
37 | 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
|
38 | * Better tests. |
5 | 39 | * Better error messages. |
3 | 40 | |
41 | 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
|
42 | * 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
|
43 | have tarbomb protection, etc. |
3 | 44 | * Use zipfile instead of the zip commands. |
45 | * Processing from stdin. | |
18
1600807a32bd
[svn] Add basic documentation, and make this version 3.0.
brett
parents:
13
diff
changeset
|
46 | * shar support. |