Sun, 29 Apr 2007 15:12:02 -0400
[svn] Move policy-handling code into a dedicated set of classes. This makes
question construction at least moderately cleaner, and more importantly, it
gets it out of the main application class, where it was bugging me.
Things which I have a use case/anti-use case for: * 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/) * Steal ideas from <http://martin.ankerl.com/files/e>. * 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: * Consider having options about whether or not to make sane directories, have tarbomb protection, etc. * Use zipfile instead of the zip commands. * Processing from stdin. * Extracting control.tar.gz from deb files. * shar support.