summaryrefslogtreecommitdiff
path: root/apt
AgeCommit message (Collapse)AuthorFilesLines
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
2009-08-03* apt/debfile.py: Fix missing space in message (Closes: #539704)Julian Andres Klode1-1/+1
2009-07-31apt/package.py: Fix apt_pkg.Version_compare => apt_pkg.version_compare.Julian Andres Klode1-2/+2
2009-07-31apt/progress: Large update, introducing apt.progress.base.InstallProgress.Julian Andres Klode7-305/+225
This contains many updates including the introduction of a new InstallProgress class which replaces the old InstallProgress and DpkgInstallProgress classes.
2009-07-31apt/progress/gtk2.py: Cleanup.Julian Andres Klode1-15/+21
2009-07-31apt/progress/old.py: Derive some more old classes from new classes.Julian Andres Klode1-33/+10
OpTextProgress is now derived from text.OpProgress and DumbInstallProgress is derived from base.InstallProgress.
2009-07-31python: Remove the progress classes in apt_pkg.Julian Andres Klode4-40/+33
They have been replaced with apt.progress.base, so stuff like GTK+ or Qt progress classes can be written using subclassing.
2009-07-31apt/progress/base.py: Introduce new base progress classes.Julian Andres Klode2-20/+183
Also adjust the class in apt/progress/text.py to derive from this instead of the classes in apt_pkg (which will be dropped).
2009-07-31* apt/package.py: Add missing argument to Version.__le__() and Version.__ge__()Julian Andres Klode1-2/+2
2009-07-30Merge 0.7.11.1-0.7.12.0 from unstable.Julian Andres Klode3-19/+53
2009-07-30apt/progress/__init__.py: Fix InstallProgress.waitChild()Julian Andres Klode1-2/+3
- Do not break out of InstallProgress.waitChild()'s loop just because it is hitting EINTR, but only on child exit or on ECHILD.
2009-07-30Return VersionList objects in Package.versions, which are sequences and also ↵Julian Andres Klode1-3/+83
provide features of mappings. (partial API BREAK)
2009-07-30apt/package.py: Make comparisons of Version object more robust.Julian Andres Klode1-5/+35
2009-07-30Only create Package objects when they are requested, do not keep them inJulian Andres Klode1-16/+26
a dict. Saves 10MB for 25,000 packages on my machine.
2009-07-30apt/package.py: Allow to set the candidate of a package (Closes: #523997)Julian Andres Klode1-3/+13
+ Support assignments to the 'candidate' property of Package objects. + Initial patch by Sebastian Heinlein
2009-07-30apt/cache.py: Provide broken_count, delete_count, install_count, keep_count ↵Julian Andres Klode1-0/+20
properties (Closes: #532338)
2009-07-30apt/progress.py: Extract the package name from the status messageJulian Andres Klode1-2/+3
(Closes: #532660)
2009-07-30* apt/cache.py: Call InitSystem() if rootdir is not None (LP: #320665).Julian Andres Klode1-0/+3
2009-07-25Exception handling fixes in InstallProgress class.Stephan Peijnik1-4/+13
2009-07-23python/cdrom.cc: Do not check arguments in PkgCdromNew.Julian Andres Klode1-1/+1
2009-07-21apt/progress/old.py: Replace OpProgress.sub_op with OpProgress.subop.Julian Andres Klode1-3/+3
2009-07-20Merge from debian-sidJulian Andres Klode1-0/+24
2009-07-19apt/progress/text.py: Always call methods of the parent class.Julian Andres Klode1-1/+10
2009-07-19apt/progress/text.py: Add some docstrings.Julian Andres Klode1-0/+5
2009-07-19apt/cdrom.py: Make apt.cdrom.Cdrom a subclass of apt_pkg.Cdrom.Julian Andres Klode1-10/+7