TODO

Sun, 13 Jul 2008 17:54:47 -0400

author
Brett Smith <brettcsmith@brettcsmith.org>
date
Sun, 13 Jul 2008 17:54:47 -0400
branch
trunk
changeset 73
a4fff3df2242
parent 72
c4cfaf634bb9
child 77
3a1f49be7667
permissions
-rw-r--r--

Don't assume .exe files are Cabinet archives just by extension.

.exe files are as likely as not to be archives, so I'd rather not bug the
user for recursive extraction every time they're in an archive. So we'll
detect these sorts of archives by their magic only, which prevents them
from triggering recursive extraction attempts.

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
70
48d2421a3178 Tweak wording of recursion question, and TODO.
Brett Smith <brett@brettcsmith.org>
parents: 68
diff changeset
5 * Everything is messed up when an archive contains one file... but I forget
48d2421a3178 Tweak wording of recursion question, and TODO.
Brett Smith <brett@brettcsmith.org>
parents: 68
diff changeset
6 what I meant by this.
61
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
7
67
1b4ca6de7740 Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents: 65
diff changeset
8 * When we extract a compressed file (or just one file?), check to see if it
1b4ca6de7740 Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents: 65
diff changeset
9 itself is an archive. Follow all the usual rules for recursive
1b4ca6de7740 Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents: 65
diff changeset
10 extraction when we do this.
61
23eb5e0a6665 update TODO
Brett Smith <brett@brettcsmith.org>
parents: 52
diff changeset
11
68
d0a8ee8473ca more TODO updates
Brett Smith <brett@brettcsmith.org>
parents: 67
diff changeset
12 * --expert mode: prompts don't show an explanation of what the options are,
d0a8ee8473ca more TODO updates
Brett Smith <brett@brettcsmith.org>
parents: 67
diff changeset
13 unless you ask with ?.
67
1b4ca6de7740 Update TODO: remove complete tasks, add new items.
Brett Smith <brett@brettcsmith.org>
parents: 65
diff changeset
14
3
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
15 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
16 * 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
17 * 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
18 * More consistently raise and handle exceptions.
3
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
19
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
20 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
21 * Better tests.
5
36f352abd093 [svn] Deal with a bunch of low-hanging fruit:
brett
parents: 4
diff changeset
22 * Better error messages.
3
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
23
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
24 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
25 * 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
26 have tarbomb protection, etc.
3
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
27 * Use zipfile instead of the zip commands.
5172456c3588 [svn] Ideas off the top of my head.
brett
parents:
diff changeset
28 * Processing from stdin.
18
1600807a32bd [svn] Add basic documentation, and make this version 3.0.
brett
parents: 13
diff changeset
29 * shar support.

mercurial