| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2010-07-06 | apt/cache.py: use apt_pkg.config instead of apt_pkg.Config | Michael Vogt | 1 | -1/+2 | |
| 2010-07-02 | merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port the | Michael Vogt | 1 | -8/+16 | |
| DebPackage class fixes from gdebi into python-apt so that gdebi can use the class from python-apt directly | |||||
| 2010-06-29 | * apt/cache.py: | Michael Vogt | 1 | -0/+15 | |
| - add new "dpkg_journal_dirty" property that can be used to detect a interrupted dpkg (the famous "E: dpkg was interrupted, you must manually run 'dpkg --configure -a'") | |||||
| 2010-06-25 | Merge cache.get_providers_for() into cache.get_providing_packages() and ↵ | Kiwinote | 1 | -46/+44 | |
| update debfile.py to use this | |||||
| 2010-06-25 | Remove unneeded cache.downloadable() | Kiwinote | 1 | -10/+0 | |
| 2010-06-25 | Merge gdebi changes | Kiwinote | 1 | -14/+54 | |
| 2010-06-25 | apt/cache.py: When iterating over the cache, do so sorted by package name. | Martin Pitt | 1 | -1/+11 | |
| With this we read the the package lists linearly if we need to access the package records, instead of having to do thousands of random seeks; the latter is disastrous if we use compressed package indexes, and slower than necessary for uncompressed indexes. | |||||
| 2010-04-21 | apt/cache.py: Use has_versions and has_provides from apt_pkg.Package where ↵ | Julian Andres Klode | 1 | -3/+3 | |
| possible. | |||||
| 2010-04-21 | apt/cache.py: Make Cache.get_providing_packages() about 1000 times faster. | Julian Andres Klode | 1 | -15/+22 | |
| 2010-04-21 | apt/cache.py: Make Cache.req_reinstall_pkgs much faster as well. | Julian Andres Klode | 1 | -4/+6 | |
| 2010-04-21 | apt/cache.py: Make Cache.get_changes() much (~35x) faster (Closes: #578074). | Julian Andres Klode | 1 | -4/+8 | |
| This change consists of the following ideas: - Switch to the low-level API - Use 'not marked_keep()' to check if a package has been modified. | |||||
| 2010-03-23 | * apt/cache.py: | Michael Vogt | 1 | -1/+1 | |
| - make cache open silent by default (use apt.progress.base.OpProgress) | |||||
| 2010-03-01 | Some stylistic changes. | Julian Andres Klode | 1 | -3/+7 | |
| 2010-03-01 | Style fixes. | Julian Andres Klode | 1 | -13/+14 | |
| 2010-02-17 | * apt/cache.py: | Michael Vogt | 1 | -4/+5 | |
| - call install_progress.startUpdate()/finishUpdate() to keep compatibility with older code * apt/progress/base.py: - restore "self.statusfd, self.writefd" type, provide additional self.status_pipe and self.write_pipe file like objects | |||||
| 2010-02-07 | * Fix some places where the old API was still used: | Julian Andres Klode | 1 | -6/+6 | |
| - apt/utils.py: Completely ported, previous one was old-API from Ubuntu. - apt/cache.py: Use the new progress classes instead of the old ones. - apt/package.py: Various smaller issues fixed, probably caused by merge. | |||||
| 2010-01-23 | apt/cache.py: Fix Cache.update() to not raise errors on successful updates. | Julian Andres Klode | 1 | -5/+6 | |
| 2010-01-15 | python/apt_pkgmodule.cc: Rename remaining Acquire.result_* to Acquire.RESULT_*. | Julian Andres Klode | 1 | -2/+2 | |
| 2010-01-15 | Make all class-level constants have uppercase names. | Julian Andres Klode | 1 | -7/+7 | |
| 2010-01-15 | Return False in Cache.is_virtual_package if the package does not exist. | Julian Andres Klode | 1 | -2/+6 | |
| 2010-01-15 | Merge 0.7.13.5 pre. | Julian Andres Klode | 1 | -1/+8 | |
| 2010-01-13 | * apt/cache.py | forest.bond@outpostembedded.com | 1 | -1/+4 | |
| - isVirtualPackage: Return False instead of raising KeyError if the package is not present in the cache. | |||||
| 2010-01-13 | add "enhances" property | Michael Vogt | 1 | -1/+3 | |
| 2009-12-23 | * apt/cache.py: | Michael Vogt | 1 | -1/+6 | |
| - improved docstring for the cache | |||||
| 2009-09-16 | Merge 0.7.13.0 - 0.7.13.3 from unstable. | Julian Andres Klode | 1 | -4/+16 | |
| * apt/cache.py: - add actiongroup() method (backport from 0.7.92) - re-work the logic in commit() to fail if installArchives() returns a unexpected result * apt/progress/__init__.py: - catch exceptions in pm.DoInstall() * apt/package.py: - Export if a package is an essential one (Closes: #543428) * python/depcache.cc: - Make ActionGroups context managers so apt.Cache.actiongroup() has the same behavior as in 0.7.92 * apt/cache.py: - Add raiseOnError option to Cache.update() (Closes: #545474) * apt/package.py: - Use the source version instead of the binary version in fetch_source(). * apt/progress/__init__.py: - Correctly ignore ECHILD by checking before EINTR (Closes: #546007) * apt/cache.py: - Convert argument to str in __getitem__() (Closes: #542965). | |||||
| 2009-09-15 | apt/cache.py: Add raiseOnError option to Cache.update() (Closes: #545474) | Julian Andres Klode | 1 | -2/+9 | |
| 2009-09-02 | re-work the logic in commit() to fail if installArchives() returns | Michael Vogt | 1 | -1/+5 | |
| a unexpected result | |||||
| 2009-08-24 | * apt/cache.py: | Julian Andres Klode | 1 | -0/+9 | |
| - add actiongroup() method (backport from 0.7.92) | |||||
| 2009-08-24 | merge from the debian-sid branch | Michael Vogt | 1 | -5/+38 | |
| 2009-08-24 | * apt/cache.py: | Michael Vogt | 1 | -0/+9 | |
| - add actiongroup() method (backport from 0.7.92) | |||||
| 2009-08-22 | apt/cache.py: Convert argument to str in __getitem__() (Closes: #542965). | Julian Andres Klode | 1 | -0/+1 | |
| 2009-08-21 | Merge 0.7.13.0 from unstable. | Julian Andres Klode | 1 | -2/+38 | |
| 2009-08-21 | apt/cache.py, python/cache.cc: add optional pulseInterval option to "update()". | Julian Andres Klode | 1 | -2/+2 | |
| 2009-08-21 | apt/cache.py: Fix the (inst|keep|broken|del)_count attributes (Closes: #542773). | Sebastian Heinlein | 1 | -4/+4 | |
| 2009-08-21 | * apt/cache.py: Introduce ProblemResolver class (Closes: #542705) | Julian Andres Klode | 1 | -1/+34 | |
| 2009-08-19 | * apt/cache.py, python/cache.cc: | Michael Vogt | 1 | -2/+2 | |
| - add optional pulseIntevall option to "update()" * po/python-apt.pot: - refreshed | |||||
| 2009-07-31 | python: Remove the progress classes in apt_pkg. | Julian Andres Klode | 1 | -5/+1 | |
| They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing. | |||||
| 2009-07-30 | Merge 0.7.11.1-0.7.12.0 from unstable. | Julian Andres Klode | 1 | -3/+3 | |
| 2009-07-30 | Only create Package objects when they are requested, do not keep them in | Julian Andres Klode | 1 | -16/+26 | |
| a dict. Saves 10MB for 25,000 packages on my machine. | |||||
| 2009-07-30 | apt/cache.py: Provide broken_count, delete_count, install_count, keep_count ↵ | Julian Andres Klode | 1 | -0/+20 | |
| properties (Closes: #532338) | |||||
| 2009-07-30 | * apt/cache.py: Call InitSystem() if rootdir is not None (LP: #320665). | Julian Andres Klode | 1 | -0/+3 | |
| 2009-07-20 | Merge from debian-sid | Julian Andres Klode | 1 | -0/+24 | |
| 2009-07-17 | apt: Use apt_pkg.gettext instead of Python's gettext. | Julian Andres Klode | 1 | -5/+1 | |
| 2009-07-17 | apt/__init__.py, apt/__cache__.py: Improve python-apt localization. | Julian Andres Klode | 1 | -1/+6 | |
| 2009-07-16 | apt/cache.py: Support apt_pkg.OpProgress() and use ↵ | Julian Andres Klode | 1 | -4/+8 | |
| apt.progress.text.OpProgress() | |||||
| 2009-06-21 | apt/cache.py: Correctly handle rootdir on second and later invocations of ↵ | Julian Andres Klode | 1 | -0/+4 | |
| open() (LP: #320665). | |||||
| 2009-06-21 | apt/cache.py: Only create _weakrefs, _set once per object. | Julian Andres Klode | 1 | -3/+5 | |
| 2009-06-15 | apt/cache.py: Provide broken_count, delete_count, install_count, keep_count | Julian Andres Klode | 1 | -0/+20 | |
| properties (Closes: #532338) | |||||
| 2009-06-15 | * python/progress.cc: | Michael Vogt | 1 | -0/+25 | |
| - fix crash in RunSimpleCallback() * apt/cache.py: - when the cache is run with a alternative rootdir, create required dirs/files automatically | |||||
| 2009-06-05 | apt/cache.py: Introduce Cache.actiongroup() | Julian Andres Klode | 1 | -0/+21 | |
| This is a short function which creates an actiongroup on the current depcache. | |||||
