| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
- use APT::Configuration::getCompressionTypes() instead of duplicating
the supported methods here
* tests/test_debfile.py:
- add test for raise on unknown data.tar.xxx
|
|
This fix is large, but simple in concept. Instead of relying
on Py_BuildValue and type signatures, or type-specific
conversion functions, create a new set of overloaded
MkPyNumber() functions that automatically do the right
thing for each numerical type.
|
|
- add support for .xz archives
* tests/test_debfile.py:
- add test for xz compression
|
|
|
|
Finally, a complete reference to apt_pkg available
via pydoc and __doc__ attributes.
|
|
debfile_new.
|
|
|
|
This is the final commit which Closes: #536096, as everything
doable with the functions can now be done using the classes.
|
|
|
|
The extraction code now reads smaller parts and does not use FileFd
anymore, so we can raise OSError with errno and filename if an error
occurs.
Also add extractall() to ArArchive to make our interface more like
tarfile.TarFile's one.
|
|
This makes it more consistent with the interface of tarfile.TarFile, which
provides a extractfile() function. Since producing a file-like object is a
bit to complicated here, we simply return the string and thus name the
method extractdata().
|
|
|
|
A small hack made it possible to get the list of members from the
ARArchive.
|
|
This is part one of wishlist Bug#536096, introducing classes in
apt_inst.
|