Sun, 17 Dec 2006 08:30:32 -0500
[svn] Fix issues with basename methods. First, string's rsplit method only
arrived in Python 2.4, so don't use it. Second, tweak the RPM basename
method to catch the case where arch == noarch.
Things which I have a use case/anti-use case for: * Decompress non-archive files. * Write tests for extracting in a different directory from where the archives live. * Figure out what to do about warnings in the Handlers. 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.