summaryrefslogtreecommitdiff
path: root/apt
AgeCommit message (Collapse)AuthorFilesLines
2010-02-05* apt/utils.py:Julian Andres Klode1-0/+76
- add some misc utils like get_release_filename_for_pkg()
2010-02-02apt/progress/base.py: select.error objects do not have an errno attribute ↵Julian Andres Klode1-2/+2
(Closes: #568005)
2010-01-23apt/cache.py: Fix Cache.update() to not raise errors on successful updates.Julian Andres Klode1-5/+6
2010-01-20apt/utils.py: fix copyright infoMichael Vogt1-3/+4
2010-01-20* apt/utils.py:Michael Vogt1-0/+75
- add some misc utils like get_release_filename_for_pkg()
2010-01-20apt/progress/gtk2.py: Add GAcquireProgress.Julian Andres Klode1-21/+103
2010-01-20apt/progress/base.py: Add InstallProgress.dpkg_status_change.Julian Andres Klode1-3/+8
2010-01-17apt/progress/text.py: Replace one print statement with a .write() call.Julian Andres Klode1-1/+1
2010-01-17apt/progress/base.py: Fix some parsing of dpkg status fd.Julian Andres Klode1-3/+9
2010-01-17apt/progress/base.py: Use attributes of IOError and OSError object.Julian Andres Klode1-6/+6
Do not treat them as tuples, but use the attributes. This is way more 'modern'.
2010-01-15python/apt_pkgmodule.cc: Rename remaining Acquire.result_* to Acquire.RESULT_*.Julian Andres Klode1-2/+2
2010-01-15Make all class-level constants have uppercase names.Julian Andres Klode4-11/+11
2010-01-15Return False in Cache.is_virtual_package if the package does not exist.Julian Andres Klode1-2/+6
2010-01-15Merge 0.7.13.5 pre.Julian Andres Klode2-3/+15
2010-01-13* apt/cache.pyforest.bond@outpostembedded.com1-1/+4
- isVirtualPackage: Return False instead of raising KeyError if the package is not present in the cache.
2010-01-13apt/history.py: remove from bzr again, its not quite ready yetMichael Vogt1-55/+0
2010-01-13add "enhances" propertyMichael Vogt2-1/+8
2009-12-23* apt/cache.py: Michael Vogt1-1/+6
- improved docstring for the cache
2009-12-18* apt/history.py:Michael Vogt1-0/+55
- simple abstraction for the apt history file
2009-12-02merged from debian-sidMichael Vogt1-2/+2
2009-12-02* apt/progress/__init__.py:Michael Vogt1-1/+4
- Fix InstallProgress.updateInterface() to cope with read() returning 0 on non-blocking file descriptors (LP: #491027).
2009-11-07apt/package.py: Fix dictionary access of VersionList, patchJulian Andres Klode1-2/+2
by Sebastian Heinlein (Closes: #554895).
2009-09-16Merge 0.7.13.0 - 0.7.13.3 from unstable.Julian Andres Klode3-10/+41
* 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-15apt/cache.py: Add raiseOnError option to Cache.update() (Closes: #545474)Julian Andres Klode1-2/+9
2009-09-15merge from mvoJulian Andres Klode2-5/+24
* apt/cache.py: - re-work the logic in commit() to fail if installArchives() returns a unexpected result * apt/progress/__init__.py: - catch exceptions in pm.DoInstall()
2009-09-10apt/progress/__init__.py: Correctly ignore ECHILD by checking before EINTR ↵Julian Andres Klode1-2/+2
(Closes: #546007) As the check for != EINTR will re-raise the error, we have to check ECHILD before it.
2009-09-03apt/progress/__init__.py: doc string update for run()Michael Vogt1-1/+5
2009-09-03* apt/progress/__init__.py:Michael Vogt1-2/+9
- catch exceptions in pm.DoInstall()
2009-09-03apt/progress/__init__.py: doc updateMichael Vogt1-1/+5
2009-09-02re-work the logic in commit() to fail if installArchives() returnsMichael Vogt1-1/+5
a unexpected result
2009-08-28apt/package.py: Use the source version instead of the binary version in ↵Julian Andres Klode1-3/+4
fetch_source().
2009-08-25apt/package.py: Export if a package is an essential one (Closes: #543428)Sebastian Heinlein1-0/+5
2009-08-24* apt/cache.py:Julian Andres Klode1-0/+9
- add actiongroup() method (backport from 0.7.92)
2009-08-24merge from the debian-sid branchMichael Vogt3-8/+52
2009-08-24* apt/cache.py:Michael Vogt1-0/+9
- add actiongroup() method (backport from 0.7.92)
2009-08-22apt/cache.py: Convert argument to str in __getitem__() (Closes: #542965).Julian Andres Klode1-0/+1
2009-08-21Merge 0.7.13.1 from unstable.Julian Andres Klode1-1/+1
2009-08-21* apt/package.py: Fix Version.get_dependencies() to not ignore the arguments.Julian Andres Klode1-1/+1
2009-08-21Merge 0.7.13.0 from unstable.Julian Andres Klode3-9/+69
2009-08-21apt/cache.py, python/cache.cc: add optional pulseInterval option to "update()".Julian Andres Klode1-2/+2
2009-08-21apt/cache.py: Fix the (inst|keep|broken|del)_count attributes (Closes: #542773).Sebastian Heinlein1-4/+4
2009-08-21* apt/cache.py: Introduce ProblemResolver class (Closes: #542705)Julian Andres Klode2-2/+35
2009-08-21apt/package.py: Add Package.is_now_broken and Package.is_inst_broken.Julian Andres Klode1-0/+10
2009-08-20apt/package.py: Do not mark the package as manually installed on upgrade ↵Julian Andres Klode1-1/+2
(Closes: #542699)
2009-08-19* apt/cache.py, python/cache.cc:Michael Vogt1-2/+2
- add optional pulseIntevall option to "update()" * po/python-apt.pot: - refreshed
2009-08-19apt/package.py: fix typo in keyword argumentMichael Vogt1-1/+1
2009-08-18apt/debfile.py: Adapt to class-based API (WARNING: changes behavior on ↵Julian Andres Klode1-18/+7
certain invalid packages). Use the class-based API now. This also means that if the archive is no valid Debian package (because it misses a 'data.tar.*', 'control.tar.gz' or a 'debian-binary' member) the method open() will now raise an Error; previously it only raised an error if there was no 'debian-binary' member or no 'control.tar.gz' member.
2009-08-18apt/package.py: Introduce Version.get_dependencies().Julian Andres Klode1-19/+12
Introduce Version.get_dependencies() which takes one or more types of dependencies and returns a list of Dependency objects. This prevents code duplication in Version.dependencies and Version.recommends and allows to access other types as well.
2009-08-18* apt/package.py:Michael Vogt1-1/+20
- add "recommends" property
2009-08-03Merge 0.7.12.1Julian Andres Klode1-1/+1