TODO

Thu, 10 Jul 2008 18:44:06 -0400

author
Brett Smith <brett@brettcsmith.org>
date
Thu, 10 Jul 2008 18:44:06 -0400
branch
trunk
changeset 66
af0b822b012e
parent 65
0aea49161478
child 67
1b4ca6de7740
permissions
-rw-r--r--

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
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
1 -*- text -*-
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
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
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
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
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
6
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
7 * The text for when directory names don't match confused Paul. Consider
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
8 alternatives. He thinks it would be cool if the actual/expected
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
9 directory names aligned in the output; might need to do your own wrapping
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
10 for this.
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
11
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
12 * When we list how many archives are in the file, show a count, along with
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
13 the number of regular files in the archive too. "foo.tar contains 5
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
14 other archives, out of 81 files total."
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
15
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
16 * When we extract a compressed file, check to see if it itself is an
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
17 archive. Follow all the usual rules for recursive extraction when we do
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
18 this.
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
19
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
20 * It seems like when you extract an archive that only has one file, with
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
21 -f, you still get prompted about what to do with it. -f should always
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
22 assume that everything gets extracted in the current directory. Track
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
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
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
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
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
29
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
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
36f352abd093 [svn] Deal with a bunch of low-hanging fruit:
brett
parents: 4
diff changeset
32 * Better error messages.
3
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
33
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
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
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
37 * Use zipfile instead of the zip commands.
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
38 * Processing from stdin.
18
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents: 13
diff changeset
39 * shar support.

mercurial