Commit Graph

82 Commits

Author SHA1 Message Date
Bastian Kleineidam a1c9ced204 Use common functions for standard operations on singlefile archives. 2010-04-05 13:55:23 +02:00
Bastian Kleineidam 3c67f6a6a0 Remove unused variables; add missing docstrings. 2010-04-05 09:37:54 +02:00
Bastian Kleineidam 97901d89d9 Correct argument quoting for Windows platforms. 2010-04-05 08:46:09 +02:00
Bastian Kleineidam faa19bd74e Raise PatoolError on rmtree() errors. 2010-04-05 02:56:59 +02:00
Bastian Kleineidam e4010ded03 Fixed argument order for error message. 2010-04-05 02:47:42 +02:00
Bastian Kleineidam 14d591194e Use error function with correct number of arguments for rmtree() 2010-04-05 02:39:40 +02:00
Bastian Kleineidam b8d2d81d00 Really fix shell quoting, quoting single quotes correctly. 2010-04-04 20:29:14 +02:00
Bastian Kleineidam 8cbef81a50 Only quote commandline arguments that need quoting. 2010-04-04 19:12:24 +02:00
Bastian Kleineidam 7d39df7748 Fix quoting of shell meta characters. 2010-04-04 19:11:54 +02:00
Bastian Kleineidam 554d273b08 Added support for ZOO (.zoo) archives. 2010-03-21 15:39:02 +01:00
Bastian Kleineidam 82708b74fa Added support for RZIP (.rz) archives. 2010-03-20 11:34:40 +01:00
Bastian Kleineidam 5e21670b8e Do not use diff -B. 2010-03-18 19:25:42 +01:00
Bastian Kleineidam 7a901a2d3f Replace iter*() methods of dicts. 2010-03-16 16:54:02 +01:00
Bastian Kleineidam 5d66704369 Added new command "patool repack". 2010-03-11 18:33:58 +01:00
Bastian Kleineidam 282701e675 Return diff command error code. 2010-03-11 17:54:09 +01:00
Bastian Kleineidam 9d859bc21c Use TMPDIR for temporary data, and catch keyboard interrupts. 2010-03-11 17:15:03 +01:00
Bastian Kleineidam a30d44c6a5 Added new command "patool diff" to show differences between two archives. 2010-03-11 16:02:08 +01:00
Bastian Kleineidam 084c4ffd3d Check for cpio when extracting output from rpm2cpio. 2010-03-11 15:54:01 +01:00
Bastian Kleineidam 5ad18595bd Do not use zip -u 2010-03-11 15:53:28 +01:00
Bastian Kleineidam e2cb9208d1 Return test string in test() function instead of printing it. 2010-03-11 11:13:37 +01:00
Bastian Kleineidam 7a67446bdd Add MIME type for .lzh files. 2010-03-10 21:17:29 +01:00
Bastian Kleineidam ec6f98ac0c Add MIME type for .lha files. 2010-03-10 21:13:01 +01:00
Bastian Kleineidam c7570293db Fix baker command parsing 2010-03-10 20:48:47 +01:00
Bastian Kleineidam d6089655b8 Use absolute pathnames when changing directories. 2010-03-10 19:44:48 +01:00
Bastian Kleineidam f04539deae Use short -v option for verbose ZIP operation to be compatible with other ZIP command line tools. 2010-03-08 22:07:53 +01:00
Bastian Kleineidam 37fa891535 Added support for LRZIP (.lrz) files. 2010-03-08 19:58:39 +01:00
Bastian Kleineidam 2f5addad3f Support the nomarch tool for handling ARC files. 2010-03-08 18:36:18 +01:00
Bastian Kleineidam 4f12f39834 Added support for ARC (.arc) archives. 2010-03-08 18:28:11 +01:00
Bastian Kleineidam c329208910 Simplify and cleanup all command functions. 2010-03-08 17:32:18 +01:00
Bastian Kleineidam acbf544d04 Added support for ALZIP (.alz) archives. 2010-03-06 21:35:03 +01:00
Bastian Kleineidam 3e76a655bd Added support for LZH (.lha, .lzh) archives. 2010-03-06 19:24:34 +01:00
Bastian Kleineidam 960d15cd76 Refactor mime detection functions and add better tests. 2010-03-06 19:20:50 +01:00
Bastian Kleineidam 6cba779475 Added support for AR (.a) archives. 2010-03-06 16:52:13 +01:00
Bastian Kleineidam 9a04371f07 Added support for ACE (.ace) archives. 2010-03-06 15:47:00 +01:00
Bastian Kleineidam 670d5df652 Make extracted files user readable. 2010-03-06 15:23:16 +01:00
Bastian Kleineidam 6decebe6f7 Force equal sign for long options to allow variable option positions. 2010-03-06 13:48:50 +01:00
Bastian Kleineidam 12d0340af8 Fix displaying help of keyword options. 2010-03-06 13:30:32 +01:00
Bastian Kleineidam 2e8800504c Fix handling of keyword arguments for baker and added tests. 2010-03-06 13:29:21 +01:00
Bastian Kleineidam 60e5077969 Allow specifying variable options with the params argument. 2010-03-06 12:30:42 +01:00
Bastian Kleineidam 4cee825589 Simplify method by removing else branch after return. 2010-03-06 12:09:05 +01:00
Bastian Kleineidam 2692c7f84f Remove --force option. 2010-03-06 11:33:44 +01:00
Bastian Kleineidam 9c3fd7c2fa Removed support for setting options via config file. 2010-03-04 17:07:51 +01:00
Bastian Kleineidam 8283d7d9e2 Fix typo 2010-03-04 16:54:45 +01:00
Bastian Kleineidam cab43b1238 Added support for LZIP archives. 2010-03-04 16:42:37 +01:00
Bastian Kleineidam 44726ecdea Port to Python 2.4: replace subprocess.check_call(). 2010-03-04 16:01:12 +01:00
Bastian Kleineidam 76ede8c91d Port to Python 2.4: remove with statement and relative imports. 2010-03-04 14:57:55 +01:00
Bastian Kleineidam 2577a454b9 Added support for creating ZIP archives. 2010-03-03 22:04:06 +01:00
Bastian Kleineidam 8d02fdfe8f Remove unused imports 2010-03-03 21:10:11 +01:00
Bastian Kleineidam 8cd637e198 Prevent overwriting the archive itself when extracting single-file archives. 2010-03-03 21:08:57 +01:00
Bastian Kleineidam b51777c8f1 Support decompressing files without .lzo extension. 2010-03-03 21:04:02 +01:00