TODO

Tue, 15 Jul 2008 22:18:03 -0400

author
Brett Smith <brettcsmith@brettcsmith.org>
date
Tue, 15 Jul 2008 22:18:03 -0400
branch
trunk
changeset 76
705642fcb92c
parent 72
c4cfaf634bb9
child 77
3a1f49be7667
permissions
-rw-r--r--

Give extraction stderr more context, and suppress normal cpio stderr junk.

cpio will write a useless "N blocks" message to stderr without --quiet, so
use that.

When we show extraction's stderr to the user, first write a line explaining
what it is, and also don't forget to strip the trailing newline, since
.warning() writes its own.

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