summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)AuthorFilesLines
2009-08-24* python/depcache.cc:Julian Andres Klode1-0/+15
- Make ActionGroups context managers so apt.Cache.actiongroup() has the same behavior as in 0.7.92
2009-08-21python/pkgsrcrecords.cc: Fix spelling error (begining should be beginning).Julian Andres Klode1-1/+1
2009-08-21python/cache.cc: Set default pulseInterval to 0 (matches apt-pkg's default).Julian Andres Klode1-1/+1
2009-08-19* apt/cache.py, python/cache.cc:Michael Vogt1-2/+3
- add optional pulseIntevall option to "update()" * po/python-apt.pot: - refreshed
2009-07-30merged from debian-sidMichael Vogt2-1/+25
2009-07-30* python/cache.cc:Julian Andres Klode1-1/+1
- Support Breaks, Enhances dependency types (Closes: #416247)
2009-07-27* python/tag.cc:Michael Vogt1-0/+24
- merge patch from John Wright that adds FindRaw method (closes: #538723)
2009-07-27add better commet in updateMichael Vogt1-2/+4
2009-07-07Removed separate way of defining Py_ssize_t in progress.h. Now using Stephan Peijnik2-6/+1
method present in generic.h in progress.cc.
2009-07-03Further work on threading support.Stephan Peijnik3-4/+20
Fixed bug that prevented building with Python 2.4.
2009-07-02Removed debug print statement.Stephan Peijnik1-1/+0
2009-07-02C code must allow other python threads to work every now and then in ↵Stephan Peijnik2-0/+37
progress.cc (take one).
2009-06-15* python/progress.cc:Michael Vogt1-1/+4
- fix crash in RunSimpleCallback() * apt/cache.py: - when the cache is run with a alternative rootdir, create required dirs/files automatically
2009-05-05* apt/progress/__init__.py:Michael Vogt1-7/+119
- add update_status_full() that takes file_size/partial_size as additional callback arguments - add pulse_items() that takes a addtional "items" tuple that gives the user full access to the individual items that are fetched * python/progress.cc: - low level code for update_status_full and pulse_items()
2009-03-03* python/cache.cc, tests/getcache_mem_corruption.py:Michael Vogt1-3/+15
- test if progress objects have the right methods and raise error if not (thanks to Emanuele Rocca) closes: #497049
2009-01-29* apt/cache.py:Michael Vogt3-0/+21
- 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-11* Add support for PkgRecords.SHA256Hash (Closes: #456113)Julian Andres Klode1-0/+2
2009-01-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode24-456/+456
2008-11-07python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename.Michael Vogt3-5/+10
2008-10-22* python/metaindex.ccMichael Vogt1-0/+3
- fix crash when incorrect attribute is given
2008-10-06Test case and proposed fix for Debian bug #497049Emanuele Rocca1-3/+14
2008-09-18add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constantMichael Vogt1-0/+6
2008-08-15* python/progress.cc:Michael Vogt1-2/+4
- when pulse() does not return a boolean assume "true" (thanks to Martin Pitt for telling me about the problem)
2008-08-08Fix whitespace in changes from 0.7.7.Ben Finney3-3/+19
2008-07-31* python/apt_instmodule.cc:Michael Vogt1-2/+2
- fix bug in Rootdir cwd code
2008-07-31* python/apt_instmodule.cc:Michael Vogt1-3/+10
- do not change working dir in debExtractArchive() (LP: #184093)
2008-07-31fix GetCandidateVer() reporting incorrect versions afterMichael Vogt1-2/+4
SetCandidateVer() was used. Thanks to Julian Andres Klode for the test-case (LP: #237372)
2008-07-30* python/cache.cc:Michael Vogt1-1/+1
- fix crash if Ver.PriorityType() returns NULL
2008-07-21* data/templates/Debian.info.in:Emanuele Rocca1-0/+5
- s/MatchUri/MatchURI/. Thanks, Gustavo Noronha Silva (closes: #487673) * python/cache.cc: - Throw an exception rather than segfaulting when GetCache() is called before InitSystem() (closes: #369147)
2008-07-18* python/pkgsrcrecords.cc:Michael Vogt1-0/+2
- add "Record" attribute to the PkgSrcRecord to access the full source record
2008-07-04* tests/test_hashsums.py:Michael Vogt1-0/+1
- add tests for the hashsum code
2008-07-04* python/apt_pkgmodule.cc:Michael Vogt1-3/+11
- fix bug in hashsum calculation when the original string contains \0 charackters (thanks to Celso Providelo and Ryan Hass for the test-case) LP: #243630
2008-05-16Remove trailing whitespace.Ben Finney24-456/+456
2008-02-18* python/apt_pkgmodule.cc:Michael Vogt1-0/+5
- add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants * apt/cache.py: - add reqReinstallPkgs property that lists all packages in ReInstReq or HoldReInstReq
2008-02-14* python/sourcelist.cc:Michael Vogt1-3/+3
- support GetIndexes() GetAll argument to implement something like --print-uris
2008-02-11* python/pkgrecords.cc:Michael Vogt1-0/+2
- export the Homepage field
2008-01-18* python/tar.cc:Michael Vogt1-0/+2
- fix .lzma extraction (thanks to bigjools)
2008-01-07update to latest ListUpdate()Michael Vogt1-1/+2
2008-01-04* use the new CacheFile::ListUpdate() codeMichael Vogt1-41/+8
* add example in doc/examples/update.py
2007-12-04merged from the ubuntu branchMichael Vogt1-1/+1
2007-11-29* python/tag.ccMichael Vogt1-5/+2
- support "None" as default in ParseSection(control).get(field, default), LP: #44470
2007-11-23* python/depcache.cc:Michael Vogt1-5/+20
- be more threading friendly
2007-11-23* python/progress.cc:Michael Vogt1-2/+9
- fix refcount problem in OpProgress - fix refcount problem in FetchProgress - fix refcount problem in CdromProgress
2007-09-04* python/metaindex.cc:Michael Vogt4-2/+97
- added support for the metaIndex objects * python/sourceslist.cc: - support new "List" attribute that returns the list of metaIndex source entries
2007-08-28* python/string.cc:Michael Vogt1-1/+1
- fix overflow in SizeToStr()
2007-08-03* aptsources/distro.py:Michael Vogt1-2/+0
- throw NoDistroTemplateException if not distribution template can be found * NMU * Fix version to not use CPU and OS since it's not available on APT anymore (closes: #435653, #435674)
2007-07-30* apt/debfile.py:Michael Vogt1-1/+30
- added wrapper around apt_inst.debExtract() - support dictionary like access * python/apt_instmodule.cc: - added arCheckMember()
2007-07-25* apt/package.py:Michael Vogt1-1/+1
* apt/cache.py: * python/indexfile.cc: - increase str buffer in PackageIndexFileRepr
2007-06-11* build against the new aptMichael Vogt1-0/+15
* support for new "aptsources" pythn module (thanks to Sebastian Heinlein) * merged support for translated package descriptions * merged support for automatic removal of unused dependencies * merged http://glatzor.de/bzr/python-apt/sebi: - this means that the new aptsources modules is available * support translated pacakge descriptions * support automatic dependency information * python/depcache.cc: - "IsGarbage()" method added (to support auto-mark)
2007-06-10* merged translated package descriptions branchMichael Vogt1-0/+69