TODO

branch
trunk
changeset 28
4d88f2231d33
parent 25
ef62f2f55eb8
child 31
c3a2760d1c3a
--- a/TODO	Sun Apr 29 15:30:01 2007 -0400
+++ b/TODO	Fri Oct 19 22:46:20 2007 -0400
@@ -1,4 +1,15 @@
+We should always extract to a new, temporary directory (except maybe in the
+straight decompression case), and then move that directory based on what we
+actually want.  This has several advantages:
+
+* Much easier to check whether or not the archive is a bomb (O(1) operation)
+* Can find other archives more reliably
+* Can set up a direct pipe from a decompressed to the unarchiver, since we're
+  not interested in reading it multiple times anymore.
+* All this should mean x is faster, too.
+
 Things which I have a use case/anti-use case for:
+* CAB extraction.
 * Use file to detect the archive type.
 * Support lzma compression (http://tukaani.org/lzma/download)
 * Support pisi packages (http://paketler.pardus.org.tr/pardus-2007/)
@@ -6,13 +17,13 @@
 * Figure out what the deal is with strerror. (done?)
 * Better error messages (file doesn't exist, isn't readable, etc.)
 * Consistently raise and handle exceptions.
-* Take URLs as arguments.
 
 Things that are generally good:
 * Better tests.
 * Better error messages.
 
 Things I think might be good but can't prove:
+* Take URLs as arguments.
 * Consider having options about whether or not to make sane directories,
   have tarbomb protection, etc.
 * Use zipfile instead of the zip commands.

mercurial