Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-07 | * Fix some places where the old API was still used: | Julian Andres Klode | 1 | -4/+4 | |
- 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-15 | Make all class-level constants have uppercase names. | Julian Andres Klode | 1 | -2/+2 | |
2010-01-15 | Merge 0.7.13.5 pre. | Julian Andres Klode | 1 | -2/+7 | |
2010-01-13 | add "enhances" property | Michael Vogt | 1 | -0/+5 | |
2009-11-07 | apt/package.py: Fix dictionary access of VersionList, patch | Julian Andres Klode | 1 | -2/+2 | |
by Sebastian Heinlein (Closes: #554895). | |||||
2009-09-16 | Merge 0.7.13.0 - 0.7.13.3 from unstable. | Julian Andres Klode | 1 | -3/+10 | |
* 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-08-28 | apt/package.py: Use the source version instead of the binary version in ↵ | Julian Andres Klode | 1 | -3/+4 | |
fetch_source(). | |||||
2009-08-25 | apt/package.py: Export if a package is an essential one (Closes: #543428) | Sebastian Heinlein | 1 | -0/+5 | |
2009-08-21 | Merge 0.7.13.1 from unstable. | Julian Andres Klode | 1 | -1/+1 | |
2009-08-21 | * apt/package.py: Fix Version.get_dependencies() to not ignore the arguments. | Julian Andres Klode | 1 | -1/+1 | |
2009-08-21 | Merge 0.7.13.0 from unstable. | Julian Andres Klode | 1 | -6/+30 | |
2009-08-21 | apt/package.py: Add Package.is_now_broken and Package.is_inst_broken. | Julian Andres Klode | 1 | -0/+10 | |
2009-08-20 | apt/package.py: Do not mark the package as manually installed on upgrade ↵ | Julian Andres Klode | 1 | -1/+2 | |
(Closes: #542699) | |||||
2009-08-19 | apt/package.py: fix typo in keyword argument | Michael Vogt | 1 | -1/+1 | |
2009-08-18 | apt/package.py: Introduce Version.get_dependencies(). | Julian Andres Klode | 1 | -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 Vogt | 1 | -1/+20 | |
- add "recommends" property | |||||
2009-07-31 | apt/package.py: Fix apt_pkg.Version_compare => apt_pkg.version_compare. | Julian Andres Klode | 1 | -2/+2 | |
2009-07-31 | apt/progress: Large update, introducing apt.progress.base.InstallProgress. | Julian Andres Klode | 1 | -1/+1 | |
This contains many updates including the introduction of a new InstallProgress class which replaces the old InstallProgress and DpkgInstallProgress classes. | |||||
2009-07-31 | * apt/package.py: Add missing argument to Version.__le__() and Version.__ge__() | Julian Andres Klode | 1 | -2/+2 | |
2009-07-30 | Merge 0.7.11.1-0.7.12.0 from unstable. | Julian Andres Klode | 1 | -11/+39 | |
2009-07-30 | Return VersionList objects in Package.versions, which are sequences and also ↵ | Julian Andres Klode | 1 | -3/+83 | |
provide features of mappings. (partial API BREAK) | |||||
2009-07-30 | apt/package.py: Make comparisons of Version object more robust. | Julian Andres Klode | 1 | -5/+35 | |
2009-07-30 | apt/package.py: Allow to set the candidate of a package (Closes: #523997) | Julian Andres Klode | 1 | -3/+13 | |
+ Support assignments to the 'candidate' property of Package objects. + Initial patch by Sebastian Heinlein | |||||
2009-07-17 | apt: Use apt_pkg.gettext instead of Python's gettext. | Julian Andres Klode | 1 | -6/+1 | |
2009-07-16 | apt/progress: Move apt.progress to apt.progress.old | Julian Andres Klode | 1 | -13/+14 | |
2009-07-12 | apt/package.py: Adjust AcquireFile() usage to future changes. | Julian Andres Klode | 1 | -8/+9 | |
The underlying C++ objects of the AcquireFile() objects are currently immortal. This should change at a later stage, to match the behavior of the C++ class. But AcquireItems needs to be fixed first to not segfault anymore. | |||||
2009-07-08 | doc/source/apt_pkg.rst: Update the documentation to reflect the latest changes. | Julian Andres Klode | 1 | -1/+1 | |
2009-06-22 | apt/package.py: Do not re-define built-in names, fix small issue in ↵ | Julian Andres Klode | 1 | -21/+25 | |
Version.__eq__() | |||||
2009-06-22 | apt/package.py: Drop Package.get_version() again. | Julian Andres Klode | 1 | -4/+0 | |
2009-06-22 | Add apt_pkg.DepCache.mark_auto() and apt.Package.mark_auto() methods to | Julian Andres Klode | 1 | -0/+13 | |
mark a package as automatically installed. | |||||
2009-06-21 | apt/package.py: Remove duplicated code in Version.fetch_source() | Julian Andres Klode | 1 | -8/+3 | |
2009-06-14 | apt/package.py: Return VersionList objects in Package.versions. | Julian Andres Klode | 1 | -9/+84 | |
VersionList objects provide the same features as sequences (they are even derived from collections.Sequence in Python 2.6 and newer), but also provide a mapping like interface. They are also more efficient than lists because Version objects are only created when they are accessed. | |||||
2009-06-14 | apt/package.py: Re-add Package.markedInstall | Julian Andres Klode | 1 | -0/+1 | |
2009-06-09 | apt/package.py: Use destfile instead of dest_file. | Julian Andres Klode | 1 | -2/+2 | |
2009-06-05 | apt/package.py: Add Package.get_version() which returns a Version instance | Julian Andres Klode | 1 | -0/+7 | |
for the given version string or None (Closes: #523998) | |||||
2009-06-05 | Introduce the rename rules formally, and add some exceptions. | Julian Andres Klode | 1 | -5/+5 | |
2009-06-04 | apt, aptsources, doc: Update to use the new names. | Julian Andres Klode | 1 | -104/+104 | |
2009-04-19 | * Update the code to use the new classes. | Julian Andres Klode | 1 | -11/+11 | |
2009-04-17 | * apt/package.py: Where possible, derive apt.package.Record from ↵ | Julian Andres Klode | 1 | -1/+12 | |
collections.Mapping. This works on Python 2.6 and newer and enhances the Record class with some new methods on these platforms, e.g. keys(). | |||||
2009-04-17 | * apt/package.py: Introduce Version._translated_records. | Julian Andres Klode | 1 | -5/+9 | |
This new property allows us to get the translated record. This was previously done in 'summary', but because 'description' also uses translated descriptions, the lookup has been moved in this property. | |||||
2009-04-17 | * apt/cache.py, apt/package.py: Rename the remaining arguments and variables. | Julian Andres Klode | 1 | -45/+47 | |
2009-04-16 | * apt/*.py: Initial rename work for Bug#481061 | Julian Andres Klode | 1 | -41/+85 | |
A new module, apt.deprecation, is introduced containing functions and classes which assist in the deprecation. The apt_pkg extension gets a new attribute, _COMPAT_0_7 which can be set by defining COMPAT_0_7 at compile time (-DCOMPAT_0_7). The names are changed, and compatibility functions are enabled if bool(apt_pkg._COMPAT_0_7) == True, i.e. if the package has been built with backward compatibility fixes. This commit changes the apt and aptsources packages, the apt_pkg and apt_inst extensions will be the next renames. | |||||
2009-04-15 | * apt/package.py: Allow to set the candidate of a package (Closes: #523997) | Julian Andres Klode | 1 | -1/+12 | |
- Support assignments to the 'candidate' property of Package objects. - Initial patch by Sebastian Heinlein | |||||
2009-04-15 | * Introduce support for Python 3 (Closes: #523645) | Julian Andres Klode | 1 | -1/+5 | |
This is the first initial port to Python 3. The API is almost completely identical to the one found in Python 2, except that functions working with binary data require bytes (md5sum,sha1sum,sha256sum,Base64Encode). Using setup3.py to install the modules will not work, because the apt package still has to be converted to Python 3. For the package, we call 2to3-3.1 in debian/rules to do this automatically. | |||||
2009-04-14 | * Remove any trailing whitespace | Julian Andres Klode | 1 | -2/+1 | |
2009-04-13 | * doc: Documentation updates | Julian Andres Klode | 1 | -69/+152 | |
Extended the documentation, renamed 'Coding for python-apt' to 'Contributing to python-apt' and other stuff. | |||||
2009-04-13 | * python/tag.cc: Support 'key in mapping' for TagSections | Julian Andres Klode | 1 | -2/+2 | |
Support the replacement of mapping.has_key() for sections, and update the usage in apt/package.py and apt/debfile accordingly. This is implemented by extending the TagSecType with sequence methods, but only settings the contains method there. The TagSecGetAttr() function has been removed and replaced by the use of the tp_methods slot. | |||||
2009-04-12 | apt/package.py: Handle cases where no candidate is available, by returning | Julian Andres Klode | 1 | -1/+3 | |
None in the candidate property. (Closes: #523801) | |||||
2009-04-12 | apt/package.py: Handle cases where no candidate is available and | Julian Andres Klode | 1 | -13/+15 | |
one of the deprecated properties (e.g. candidateVersion) is requested. (Closes: #523801) | |||||
2009-04-10 | Add Package.get_version() which returns a Version instance for the given ↵ | Sebastian Heinlein | 1 | -0/+7 | |
version string or None |