Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-04-10 | Allow to change the candidate version of a package | Sebastian Heinlein | 1 | -0/+6 | |
2009-04-10 | * apt/package.py(DeprecatedProperty.__get__): Only warn when used on objects. | Julian Andres Klode | 1 | -4/+5 | |
This makes it easier to use e.g. pydoc,sphinx,pychecker, which use inspect the classes and therefore also have to access the properties. | |||||
2009-04-10 | * apt/package.py(Package.candidateRecord): Fix missing 'd' in 'record' | Julian Andres Klode | 1 | -1/+1 | |
2009-04-01 | * Copyright updates: debian/copyright, etc. | Julian Andres Klode | 1 | -1/+1 | |
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments. | |||||
2009-04-01 | * apt/package.py: Introduce Version.{uri,uris,fetch_binary()} | Julian Andres Klode | 1 | -9/+107 | |
2009-03-08 | * Merge with mvo | Julian Andres Klode | 1 | -92/+90 | |
2009-03-08 | * apt/cache.py, apt/package.py: Fix some bugs. | Julian Andres Klode | 1 | -1/+4 | |
2009-03-08 | * apt/: Adjust modules to use Package.{installed,candidate}.* | Julian Andres Klode | 1 | -6/+6 | |
2009-03-08 | * apt/package.py: Introduce the Version class | Julian Andres Klode | 1 | -222/+328 | |
- Deprecate Package.candidate*() and Package.installed*(), except for installedFiles. - Provide Version.get_source() (LP: #118788) | |||||
2009-02-26 | avoid duplicated internal references of the Package object for _cache, ↵ | Michael Vogt | 1 | -45/+41 | |
_depcache, _records, _list - they add up to ~10mb for the full cache on my test system and all information is available via Package._pcache | |||||
2009-01-29 | apt/package.py: add Origin.not_automatic | Michael Vogt | 1 | -0/+1 | |
2009-01-26 | apt/package.py: typo in getdefaulttimeout, add changelog to simple test | Michael Vogt | 1 | -1/+3 | |
2009-01-26 | apt/package.py: compatibility with python2.4 (pep 341 missing) | Michael Vogt | 1 | -51/+54 | |
2009-01-23 | * apt/package.py: | Michael Vogt | 1 | -4/+7 | |
- make sure to set the defaulttimeout back to the original value (in getChangelog(), LP: #314212) | |||||
2009-01-13 | * apt/package.py: | Michael Vogt | 1 | -0/+4 | |
- fix bug in candidateInstalledSize property * aptsources/distinfo.py: - fix too restrictive mirror url check * aptsources/distro.py: - only add nearest_server and server to the mirrors if they are defined | |||||
2009-01-09 | * apt/package.py: Cleanup, move Origin to module-level, enhance Record | Julian Andres Klode | 1 | -165/+277 | |
This commit includes multiple changes: First of all, the code has been adjusted to follow PEP 8 and the documentation has been improved. Secondly, the Origin class has been moved out of the Package class into the module, and its __repr__ has been changed. Thirdly, the Record class has been enhances with some new methods, and the attribute containing the string has been removed, as we can reproduce the string using the TagSection in the _rec attribute. The methods added are __contains__(), __iter__(), get() and iteritems(). Fourthly, the method getChangelog() has been fixed in some areas, especially in the exception handling. The method/property installedFiles() is now enclosing its file access into a try/finally block. All the testing code has been moved into a _test() function for now, until the new testing functionality is implemented. | |||||
2009-01-09 | * apt/debfile.py, apt/package.py: Use @property | Julian Andres Klode | 1 | -39/+39 | |
Use @property instead of x = property(x), where x is the function name. | |||||
2009-01-09 | Cleanup: Remove whitespace at the end of line in all python codes. | Julian Andres Klode | 1 | -19/+19 | |
2009-01-08 | fix bug in candidateInstalledSize property | Michael Vogt | 1 | -0/+4 | |
2008-12-15 | * setup.py: | Michael Vogt | 1 | -2/+5 | |
- build html/ help of the apt and aptsources modules into /usr/share/doc/python-apt/html | |||||
2008-11-24 | merged from the consolidation-bracn (with some modificatins) | Michael Vogt | 1 | -6/+193 | |
2008-09-18 | fix typo | Michael Vogt | 1 | -1/+1 | |
2008-09-18 | * apt/package.py: | Michael Vogt | 1 | -1/+2 | |
- do not return None in sourcePackageName (LP: #123062) - add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants | |||||
2008-08-30 | Remove logging statement. (Was c&p error from PackageKit) | Sebastian Heinlein | 1 | -2/+1 | |
2008-08-30 | Reformat the package description according to the Debian Policy | Sebastian Heinlein | 1 | -12/+28 | |
2008-08-28 | Fix: not installed files can have installed files | Sebastian Heinlein | 1 | -2/+0 | |
2008-08-27 | For empt | Sebastian Heinlein | 1 | -4/+7 | |
2008-08-20 | Add the installedFiles property to the Package class | Sebastian Heinlein | 1 | -1/+15 | |
2008-08-15 | Add Package.getChangelog(): returns the changelog as unicode | Sebastian Heinlein | 1 | -0/+142 | |
2008-08-14 | Enhance the package description by using line breaks only for abstracts and ↵ | Sebastian Heinlein | 1 | -8/+23 | |
replacing the ASCII art bullets by an unicode dot. This was implemented in several applications e.g. gnome-app-install, update-manager or packagekit. As a side effect it breaks the behavior of those. | |||||
2008-07-14 | * apt/package.py: | Michael Vogt | 1 | -0/+8 | |
- add "isAutoRemovable()" method | |||||
2008-02-11 | apt/package.py: make the homepage field accessable | Michael Vogt | 1 | -0/+8 | |
2007-10-01 | * apt/package.py: | Michael Vogt | 1 | -1/+1 | |
- fix apt.package.Dependency.relation initialization | |||||
2007-06-28 | * python/package.py: | Michael Vogt | 1 | -2/+19 | |
- added Record class that can be accessed like a dictionary and return it in candidateRecord and installedRecord (thanks to Alexander Sack for discussing this with me) * doc/examples/records.py: - added example how to use the new Records class | |||||
2007-04-02 | * fix error in invalid unicode handler (LP#99753) | Michael Vogt | 1 | -1/+1 | |
2007-03-22 | * use the correct gettext domain | Michael Vogt | 1 | -1/+3 | |
2007-03-22 | * fix gettext import (LP#92764) | Michael Vogt | 1 | -0/+2 | |
2007-03-06 | - support candidateRecord, installedRecord | Michael Vogt | 1 | -1/+14 | |
2007-03-06 | - support candidateRecord, installedRecord | Michael Vogt | 1 | -1/+14 | |
2007-03-06 | - support pkg.architecture | Michael Vogt | 1 | -4/+13 | |
2007-03-06 | - support pkg.architecture | Michael Vogt | 1 | -4/+13 | |
2007-03-06 | * apt/packages.py: | Michael Vogt | 1 | -0/+47 | |
- support candidateDependencies, installedDependencies | |||||
2007-03-06 | * apt/package.py: | Michael Vogt | 1 | -1/+52 | |
- added candidateDependencies, installedDependencies | |||||
2007-02-22 | * apt/package.py: | Michael Vogt | 1 | -1/+6 | |
- handle invalid unicode more gracefully (LP#86215) * rebuild against latest apt | |||||
2007-01-26 | merged from the auto-mark branch | Michael Vogt | 1 | -2/+3 | |
2007-01-26 | * support "fromUser()" flag in apt.Package.markInstall() to make | Michael Vogt | 1 | -2/+3 | |
setting the automatic install information available | |||||
2006-08-14 | * merged the ddtp support | Michael Vogt | 1 | -1/+8 | |
2006-08-03 | * apt/package.py: | Michael Vogt | 1 | -0/+3 | |
- make shortDesc do the right thing too | |||||
2006-08-03 | * apt/package.py: | Michael Vogt | 1 | -1/+5 | |
- make description return the correct descripton | |||||
2006-07-27 | * merged with mainline | Michael Vogt | 1 | -3/+5 | |