summaryrefslogtreecommitdiff
path: root/apt/cache.py
AgeCommit message (Collapse)AuthorFilesLines
2009-01-29apt/cache.py: test for existance first before reading the fileMichael Vogt1-3/+4
2009-01-29* apt/cache.py:Michael Vogt1-0/+3
- when setting a alternative rootdir, read the config from it as well * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir()
2009-01-26revert commit r317Michael Vogt1-1/+0
2009-01-23* apt/cache.py:Michael Vogt1-0/+1
- when running with the rootdir option, run InitConfig() again to ensure that the config from the rootdir is read, not from the host (lp: #243550)
2009-01-12* apt/cache.py: Introduce isVirtualPackage()Julian Andres Klode1-0/+5
2009-01-12Cleanup: Comparisons to True/False, ==/!= None, deprecated modulesJulian Andres Klode1-8/+8
2009-01-11* Merge Ben Finney's do not use has_key() (Closes: #481878)Julian Andres Klode1-5/+5
A little bit adjusted to not remove the has_key() methods, and to use has_key() where needed [the low-level part does not have the needed functionality for 'key in mapping'].
2009-01-11* apt/cache.py: PEP 8 cleanup, no deprecated raiseJulian Andres Klode1-37/+61
2009-01-09Cleanup: Remove whitespace at the end of line in all python codes.Julian Andres Klode1-21/+21
2008-12-11 - new method "getRequiredDownload()"Michael Vogt1-0/+11
- new method "additionalRequiredSpace()"
2008-11-24merged from the consolidation-bracn (with some modificatins)Michael Vogt1-0/+26
2008-08-21Small fix: catch dict exceptions in getProvidingPackagesSebastian Heinlein1-1/+1
2008-08-21Add apt.cache.Cache.isVirtualPackage() and ↵Sebastian Heinlein1-0/+45
apt.cache.Cache.getProvidingPackages() - taken from GDebi.
2008-08-21Add apt.Cache.clear() method (taken from GDebi), which re initializes theSebastian Heinlein1-0/+4
dependecy cache.
2008-08-08'mapping.has_key' is deprecated, use current Python 'key in mapping' idiom.Ben Finney1-8/+8
2008-07-31* apt/cache.py:Michael Vogt1-0/+3
- support "in" in apt.Cache() (LP: #251587)
2008-06-21Fix whitespace in changes from 0.7.6.Ben Finney1-1/+1
2008-06-21Merge from python-apt.debian-sid/.Ben Finney1-1/+4
2008-06-13* apt/cache.py:Michael Vogt1-1/+4
- add "memonly" option to apt.Cache() to force python-apt to not touch the pkgcache.bin file (this works around a possible race condition in the pkgcache.bin handling)
2008-05-16Limit code lines to maximum 79 characters, to conform with PEP 8.Ben Finney1-2/+4
2008-05-16Fix spaces adjacent to commas and operators, to conform with PEP 8.Ben Finney1-2/+2
2008-05-16Fixes to blank lines, to conform with PEP 8.Ben Finney1-0/+17
2008-05-16Remove trailing whitespace.Ben Finney1-21/+21
2008-02-18* python/apt_pkgmodule.cc:Michael Vogt1-0/+11
- add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants * apt/cache.py: - add reqReinstallPkgs property that lists all packages in ReInstReq or HoldReInstReq
2008-01-04* use the new CacheFile::ListUpdate() codeMichael Vogt1-8/+2
* add example in doc/examples/update.py
2007-06-28* fix typo "cancelt" -> "Cancelled"Michael Vogt1-2/+2
2007-06-28* python/cache.py:Michael Vogt1-5/+17
- throw FetchCanceltException, FetchFailedException, LockFailedException exceptions when something goes wrong
2007-03-01 - SizeToString supports PyLong too Michael Vogt1-2/+1
* apt/cache.py: - fix rootdir
2006-06-14 - allow change of rootdir for APT database loadingOtavio Salvador1-1/+5
2006-06-12* apt/cache.py:Otavio Salvador1-1/+1
- fix commit doc string to also cite the open related callbacks
2006-03-21* fix lock-releasing on exception (thanks to kamion)Michael Vogt1-19/+23
2006-02-28* remove a useless check in Cache.update()Michael Vogt1-2/+0
2006-02-28* fix the return value of Cache.update()Michael Vogt1-3/+3
2006-02-28* interface fixes for kamion, pychecker fixesMichael Vogt1-13/+5
2006-01-26* the pkgCache::VerIterator.DependsList[] dict does no longer depend on the ↵Michael Vogt1-1/+1
localized depends name but on the english one
2006-01-04* added "trusted" to the Origin class (in package.py)Michael Vogt1-1/+2
2005-12-22* removed the fetchProgress from _fetchArchives() (no longer needed)Michael Vogt1-2/+2
2005-12-06* removed debug outputMichael Vogt1-1/+0
2005-12-05* added PkgSourceList.GetIndexes(); rewrote apt.cache.update() to use itMichael Vogt1-19/+35
2005-11-28* make it work with media swapingMichael Vogt1-8/+14
2005-11-28* small tweaks, prepared next ubuntu uploadMichael Vogt1-1/+1
2005-11-28* cache.commit() uses the packagemanager python code now (+fix the gui-inst ↵Michael Vogt1-2/+5
example)
2005-11-28* rewrote the cache.commit() code to make use of the new ↵Michael Vogt1-5/+80
pkgAcquire/pkgPackageManager interface
2005-11-17* fail if a download failsMichael Vogt1-1/+1
2005-09-20* added __iter__ support to apt/cache.pyMichael Vogt1-1/+7
2005-08-04* downloads can be canceld now (in FetchProgress::Pulse)Michael Vogt1-0/+6
2005-08-04* argg, /note to self: test your changes before comitingMichael Vogt1-1/+1
2005-08-04* DistUpgrade -> distUpgradeMichael Vogt1-1/+1
2005-08-04* make the change to the property more clean (thanks to jamesh for his tips)Michael Vogt1-4/+4
2005-08-04* making the interface cleaner (thanks to jamesh): added proerties in the ↵Michael Vogt1-12/+12
Package class