python-apt:ubuntu/vivid

Last commit made on 2015-06-20
Get this branch:
git clone -b ubuntu/vivid https://git.launchpad.net/python-apt

Branch merges

Branch information

Name:
ubuntu/vivid
Repository:
lp:python-apt

Recent commits

eeb8f6b... by Julian Andres Klode

setup.py: Translate version number from Debian to PEP0440

Such a idiocy.

LP: #1445949
LP: #1465549

[squashed 632fbccb55563e0fbe3d2d380789caa8a9928e25 into this]

[squashed 23e044e3dabc7e61553ce559245393c432dadcd4 into this:
 setup.py: If no version is in the environment, return None]

e006deb... by Julian Andres Klode

Release 0.9.3.12 to jessie

babd1aa... by Julian Andres Klode

apt/debfile.py: Arch-qualify in compare_to_version_in_cache()

This uses the native architecture if the packages architecture
is all, and the other architecture in case. We might need to
consider versioned provides here, I have not looked at that
yet.

Closes: #750189

47d23b5... by Julian Andres Klode

apt.debfile: Fix splitting of multi-lines Binary fields in dsc files

In a multi-line field, a comma might be followed by a newline instead
of a space.

Closes: #751770

2edd491... by Michael Vogt

Fix apt.Package.installed_files for multi-arch packages

Thanks to Michael Schaller

LP: #1313699

fa0346f... by Julian Andres Klode

tests/test_large_file.py: make pep8 happy

The spacing around the ** operator looks ugly, and that's fixed in
pep8 1.6.0, but we only have 1.5.7.

Gbp-Dch: ignore

82858bf... by Julian Andres Klode

python/tarfile.cc: LFS: Handle too large file

Handle both file sizes larger than SIZE_MAX and allocation
failures when reading the data of a tarmember.

If using the go() function with a callback, pass None as the data
parameter for files that are too large. For extractdata, raise
a MemoryError if the file too extract is too large.

Also check for an existing error first in extractdata, before
raising a new one.

Test the whole thing on 32-bit platforms with a sample deb that
contains a zeroed file that is 5GB large (compressed using xz
at level 1 to a few kb).

c5e4032... by Julian Andres Klode

python/arfile.cc: Do not allow files larger than SIZE_MAX to be mapped

Also catch failed allocations, in case size is still too large.

This prepares for large file support, see Bug#742885

e0ac870... by Julian Andres Klode

python/arfile.cc: LFS: Use long long instead of long for file sizes

This should make large files in ar archives work.

See Bug: #742885

1372d7e... by Julian Andres Klode

apt/cache.py: Work around a cyclic reference from Cache to its methods

This makes the number of FDs stable in the test case and makes sure
that our cache gets closed if it is deleted.

Closes: #745487