Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-07-05 | python-apt (1.0.0~beta3+dyson1)HEADmaster | Igor Pashev | 1 | -0/+6 | |
2015-07-05 | Merge git://anonscm.debian.org/apt/python-apt | Igor Pashev | 216 | -4662/+4677 | |
Conflicts: debian/changelog python/apt_pkgmodule.cc | |||||
2015-06-30 | apt/package.py: Add rawtype property to Dependency class | Michael Schaller | 1 | -4/+18 | |
2015-06-28 | BaseDependency.__repr__: Replace pre_depend with rawtype | Michael Schaller | 1 | -2/+2 | |
pre_depend only states if the relation is PreDepends, rawtype gives the relation type itself. | |||||
2015-06-23 | doc/source/conf.py: Reproducibility: Set html_last_updated_fmt = None | Julian Andres Klode | 1 | -1/+1 | |
This hopefully makes the build reproducible now. | |||||
2015-06-21 | fix py3 issue with auto .gz decompression and add test | Michael Vogt | 3 | -3/+8 | |
2015-06-17 | Release 1.0.0~beta3 to unstable | Julian Andres Klode | 1 | -0/+13 | |
Let's use the default urgency this time, no need to delay the transition to testing, they should test too. | |||||
2015-06-17 | doc: whatsnew: Document what's new in beta3 | Julian Andres Klode | 1 | -1/+13 | |
2015-06-17 | apt.Cache: Issue a RuntimeWarning in connect() | Julian Andres Klode | 1 | -10/+19 | |
connect() is not deprecated but is very likely to cause a massive memory and file descriptor leak until Python chooses to run its GC. | |||||
2015-06-17 | Break the FilteredCache <-> Cache reference cycle | Julian Andres Klode | 1 | -27/+39 | |
This should do. | |||||
2015-06-17 | apt.Cache: Introduce a connect2() callback connector | Julian Andres Klode | 1 | -0/+25 | |
The new API passes the cache as the first argument to the callback and allows for other arguments to be passed as well. | |||||
2015-06-17 | apt.cache.FilteredCache: Fix multi-arch package lookups | Julian Andres Klode | 1 | -2/+6 | |
This makes it slightly slower, but everyone should be happier. | |||||
2015-06-17 | doc/source/library/apt_pkg.rst: Fix an example from old API to new API | Julian Andres Klode | 1 | -3/+3 | |
Someone reported this to mvo. | |||||
2015-06-17 | setup.py: If no version is in the environment, return None | Julian Andres Klode | 1 | -0/+3 | |
2015-06-16 | tests/test_paths.py: Add an 'always' warning filter, so it is reliable | Julian Andres Klode | 1 | -2/+6 | |
Previously, the warning was not always issued, causing the test to fail in some cases. Also change the assertions to use the assert* methods of unittest, and check that md5 and hash are mentioned in the deprecation message. Thanks: Adam Conrad Gbp-Dch: ignore | |||||
2015-06-16 | tests/test_paths.py: Fix indentation | Julian Andres Klode | 1 | -4/+4 | |
Geany misdetected it as 8 spaces, but it should be 4. Gbp-Dch: ignore | |||||
2015-06-16 | tests/test_paths.py: Catch and assert the DeprecationWarning | Julian Andres Klode | 1 | -4/+10 | |
This fixes Ubuntu autopkg test failure wily-adt-python-apt #12. https://jenkins.qa.ubuntu.com/job/wily-adt-python-apt/12/ | |||||
2015-06-13 | Release 1.0.0~beta2 to unstable | Julian Andres Klode | 1 | -0/+7 | |
This is a quick fix for the symlink issue to prevent more people from getting infected by it. | |||||
2015-06-13 | Handle the symlink to directory transition correctly | Julian Andres Klode | 2 | -0/+2 | |
We previously did not delete the symlink before installing the directory, causing the symlink to remain. Closes: #788571 | |||||
2015-06-11 | debian/control: Build-Depend on apt (>= 1.0.9.4) for Files2() | Julian Andres Klode | 1 | -1/+1 | |
We want to use that soon, so start build-depending now, otherwise we might forget it. | |||||
2015-06-11 | Release 1.0.0~beta1 to unstable | Julian Andres Klode | 1 | -0/+57 | |
2015-06-11 | setup.py: Do not raise a value error if there's a tilde in the version | Julian Andres Klode | 1 | -3/+0 | |
This breaks PPAs. No workaround yet, so PPA users will have to live with pkg_resources complaints. Gbp-Dch: ignore | |||||
2015-06-11 | setup.py: Translate version number from Debian to PEP0440 | Julian Andres Klode | 1 | -1/+19 | |
Such a idiocy. LP: #1445949 | |||||
2015-06-11 | tests/test_large_file.py: make pep8 happy | Julian Andres Klode | 1 | -1/+2 | |
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 | |||||
2015-06-11 | python/tarfile.cc: LFS: Handle too large file | Julian Andres Klode | 3 | -7/+53 | |
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). | |||||
2015-06-10 | Acquire: Document that items may have transient errors on run() success | Julian Andres Klode | 2 | -6/+11 | |
If run() succeeded, items may still have transient errors, like a Not Found error. Closes: #680997 | |||||
2015-06-10 | apt/debfile.py: Allow downgrading packages in check() with a parameter | Julian Andres Klode | 1 | -2/+3 | |
Well, we do not want to allow that in general. Closes: #613974 | |||||
2015-06-10 | python/arfile.cc: LFS: Use long long instead of long for file sizes | Julian Andres Klode | 1 | -3/+3 | |
This should make large files in ar archives work. See Bug: #742885 | |||||
2015-06-10 | python/arfile.cc: Do not allow files larger than SIZE_MAX to be mapped | Julian Andres Klode | 1 | -1/+13 | |
Also catch failed allocations, in case size is still too large. This prepares for large file support, see Bug#742885 | |||||
2015-06-10 | cleanup: Fix some too long lines, and references in the documentation | Julian Andres Klode | 2 | -4/+4 | |
Gbp-Dch: ignore | |||||
2015-06-10 | Document that the cache now supports :all and friends | Julian Andres Klode | 2 | -0/+9 | |
Gbp-Dch: ignore | |||||
2015-06-10 | apt/debfile: Stop special-casing all when looking for a package in the cache | Julian Andres Klode | 1 | -4/+0 | |
The cache supports :all since the previous commit. | |||||
2015-06-10 | apt/cache.py: Support :all and other special architecture specifies | Julian Andres Klode | 1 | -33/+34 | |
Remove the _set and _fullnameset that previously stored the names of all packages in the cache. Checking if a package is now a matter of checking whether it is in the low-level cache and has versions (that is, is real). Still keep the _sorted_set around and make keys() manage it, and change everyone using _sorted_set for iteration to use keys(). | |||||
2015-06-10 | Improved docstring of the Version.get_dependencies method. | Michael Schaller | 1 | -1/+8 | |
2015-06-10 | Fixed docstring of BaseDependency.version property. | Michael Schaller | 1 | -2/+4 | |
2015-06-10 | apt.package: Only reference Launchpad for missing changelogs on Ubuntu | Julian Andres Klode | 1 | -5/+9 | |
The new message is not really helpful, but hey, who cares. Closes: #781270 | |||||
2015-06-10 | apt/debfile.py: Arch-qualify in compare_to_version_in_cache() | Julian Andres Klode | 1 | -0/+9 | |
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 | |||||
2015-06-10 | apt/cache.py: Work around a cyclic reference from Cache to its methods | Julian Andres Klode | 1 | -3/+6 | |
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 | |||||
2015-06-10 | apt/debfile.py: Fix a too long line | Julian Andres Klode | 1 | -1/+2 | |
Gbp-Dch: ignore | |||||
2015-06-10 | Update POTFILES.in and the pot | Julian Andres Klode | 2 | -104/+100 | |
2015-06-10 | apt_pkg.Package: Drop the unset 'auto' attribute | Julian Andres Klode | 3 | -11/+2 | |
If somebody uses that, it could assume that no package is auto removable, because the attribute is always 0. So let's just remove that instead of having crazy code working the way it's not intended. Closes: #565364 | |||||
2015-06-10 | Remove apt.progress.gtk2 | Julian Andres Klode | 9 | -632/+15 | |
2015-06-10 | apt.debfile: Fix splitting of multi-lines Binary fields in dsc files | Julian Andres Klode | 3 | -4/+5 | |
In a multi-line field, a comma might be followed by a newline instead of a space. Closes: #751770 | |||||
2015-06-10 | python-apt-doc: Remove the old examples and html directory before upgrade | Julian Andres Klode | 1 | -0/+16 | |
This somehow has to be done here, otherwise dpkg complains. Gbp-Dch: ignore | |||||
2015-06-10 | Use ${python:Depends} and friends for the debug packages | Julian Andres Klode | 1 | -2/+4 | |
dpkg-gencontrol was unhappy. Now he's only unhappy about ${python:Versions} and ${python3:Versions}, but I do not think they should be used anymore. | |||||
2015-06-10 | Do not link documentation from Architecture: all to Architecture: any | Julian Andres Klode | 1 | -2/+2 | |
This was breaking binNMUs. | |||||
2015-06-10 | debian/control: Build-Depend on dh-python | Julian Andres Klode | 1 | -0/+1 | |
dh_python2 complained about it | |||||
2015-06-10 | doc: templates: indexcontent: Fix link from modindex to py-modindex | Julian Andres Klode | 1 | -1/+1 | |
This seems to have changed in recent sphinx versions. Gbp-Dch: ignore | |||||
2015-06-10 | doc: templates: layout: Fixup last commit | Julian Andres Klode | 1 | -1/+1 | |
Gbp-Dch: ignore | |||||
2015-06-10 | doc: templates: layout: Remove invalid icon links | Julian Andres Klode | 1 | -7/+1 | |
Those came from the (public-domain) Python documentation source code. Git-dch: ignore |