summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)AuthorFilesLines
2013-08-26python/arfile.cc: Fixup the formattingJulian Andres Klode1-16/+15
2013-08-05coverity fixesMichael Vogt4-4/+4
2012-10-23build fixes for python3.3Michael Vogt1-0/+4
2012-10-15merge from the debian-sid branchMichael Vogt4-11/+25
2012-10-15* python/tag.cc:Michael Vogt1-2/+2
- make TagSecString_FromStringAndSize, TagSecString_FromString static, thanks to jcristau
2012-10-10python/progress.cc: check result of Py_BuildValue() tooMichael Vogt1-0/+2
2012-10-02merge patch from Barry to fix #1030278Michael Vogt1-8/+20
2012-10-01python/cache.cc: PkgCacheGetIsMultiArch(): Return calculatedJames Hunt1-1/+1
value rather than a random one.
2012-08-14* python/cache.cc:Michael Vogt1-0/+8
- add "Codename" to PackageFile object
2012-06-19python/acquire.cc: Use pkgAcquire::Setup() to setup the acquire classJulian Andres Klode1-5/+4
and handle errors from this (Closes: #629624)
2012-06-17* python/tag.cc:Julian Andres Klode1-2/+2
- Correctly handle file descriptor 0 aka stdin (Closes: #669458)
2012-06-17* python/configuration.cc:Julian Andres Klode1-2/+5
- Handle the use of "del" on configuration values. Those are represented by calling the setter with NULL, which we did not handle before, causing a segmentation fault (Closes: #661062)
2012-06-15Merge patch from Colin Watson to handle non-UTF8 tag files inJulian Andres Klode1-29/+99
Python 3, by using bytes instead of str when requested; and document this in the RST documentation (Closes: #656288)
2012-04-17merged lp:~aptdaemon-developers/python-apt/fix-cannot-locate-file with a ↵Michael Vogt1-2/+5
slighly different fix
2012-04-17* python/cache.cc:Michael Vogt1-1/+3
- ensure that pkgApplyStatus is called when the cache is opened (thanks to Sebastian Heinlein for finding this bug), LP: #659438
2012-04-16Fix apt_pkg.DepCache.init() documentation which still states that theSebastian Heinlein1-2/+1
method would be called automatically on construction
2012-03-05python/apt_pkgmodule.cc: Fix apt_pkg.Dependency.TYPE_RECOMMENDS, had ↵Julian Andres Klode1-1/+1
Suggests value previously
2012-02-06python/tag.cc: make it build with older apt versions tooMichael Vogt1-0/+5
2012-02-06python/tag.cc: cleanupMichael Vogt1-8/+4
2012-02-03* python/tag.cc, tests/test_tagfile.py:Michael Vogt1-9/+35
- add support a filename argument in apt_pkg.TagFile() (in addition to the file object currently supported)
2012-01-30REFACTOR: python/policy.cc update error to include PackageFile() tooMichael Vogt1-1/+1
2012-01-30GREEN: policy should suppors PkgVerFile nowMichael Vogt1-0/+3
2012-01-30RED: policy should support verfileMichael Vogt1-0/+7
2011-11-10fix build against apt in experimentalMichael Vogt12-25/+31
2011-10-21python/apt_pkgmodule.cc: improve docstringMichael Vogt1-1/+2
2011-10-21* python/apt_pkgmodule.cc:Michael Vogt1-0/+27
- add apt_pkg.get_architectures() call
2011-08-01* merged from the debian/sid bzr branchMichael Vogt3-27/+39
* Breaks: debsecan (<< 0.4.15) [not only << 0.4.14] (Closes: #629512) * python/arfile.cc: - use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx * tests/test_aptsources_ports.py, tests/test_aptsources.py: - use tmpdir during the tests to fix test failure with apt from experimental * Upload to unstable * Increase Breaks for update-notifier to 0.99.3debian9 * utils/get_debian_mirrors.py: Adjust for new Alioth SCM urls * debian/control: Standards-Version 3.9.2 * Fix Lintian overrides * Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en) * po/urd.po: Remove, ur.po is the correct file * debian/source/format: Add, set it to "3.0 (native)" * Fix get_changelog in Python 3 (Closes: #626532) * apt/package.py: fix a few typos [formated->formatted] (Closes: #597054) * doc/source/tutorials/contributing.rst: minor improvements (Closes: #625225) - one typo [2to => 2to3], one broken link [pep8.py link] * Esperanto (Closes: #626430)
2011-07-13* python/arfile.cc:Michael Vogt1-20/+32
- use APT::Configuration::getCompressionTypes() instead of duplicating the supported methods here * tests/test_debfile.py: - add test for raise on unknown data.tar.xxx
2011-07-13* add missing bits for the xz compression support for the Michael Vogt1-0/+2
0.7 API, thanks to Colin Watson for the fix! (LP: #805389) * backport xz compression support the debian-sid bzr branch (LP: #805389) * apt/utils.py: - fix end date calculation for releases in june (LP: #602469) * apt/package.py: - Fix the changelog downloading if there are several source package versions available which provide the binary (LP: #377535). See http://bugs.debian.org/581831 for further details * debian/control: - update Vcs-Bzr location
2011-05-27Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en)Julian Andres Klode2-7/+7
2011-05-26merge from debian, omit disable of the 0.7 APIMichael Vogt22-218/+1142
2011-04-29apt_pkg: Add subclassing fun to PackageManager, for #623485 as wellJulian Andres Klode3-38/+243
2011-04-27apt_pkg: Add OrderList, wanted for mancoosi (Closes: #623485)Julian Andres Klode5-1/+346
2011-04-21apt_pkg: Add apt_pkg.Version.multi_arch and friendsJulian Andres Klode2-0/+22
2011-04-12apt_pkg: Fix unsigned/long-vs-int issues (LP: #610820)Julian Andres Klode17-130/+149
This fix is large, but simple in concept. Instead of relying on Py_BuildValue and type signatures, or type-specific conversion functions, create a new set of overloaded MkPyNumber() functions that automatically do the right thing for each numerical type.
2011-04-11apt_pkg: Fix time_to_str, time_rfc1123 to accept more correct valuesJulian Andres Klode1-5/+5
(time_to_str accepts unsigned long, time_rfc1123 long long, y2k31-correct).
2011-04-11apt_pkg: Raise error when parse_commandline gets empty argv (LP: #707416)Julian Andres Klode1-0/+4
2011-04-05Introduce apt_pkg.Cache.groups and apt_pkg.Cache.group_countJulian Andres Klode3-27/+128
2011-04-05Support (name, arch) tuples in apt_pkg.Cache mappings, wrappingJulian Andres Klode1-17/+29
FindPkg() with two string parameters.
2011-04-05Change apt_pkg.Cache() so that passing None for 'progress' results inJulian Andres Klode1-2/+7
no progress output
2011-04-05Add apt_pkg.Group class, wrapping pkgCache::GrpIteratorJulian Andres Klode5-0/+204
2011-04-05Add an 'is_multi_arch' attribute to apt_pkg.Cache Julian Andres Klode1-0/+7
2011-04-04* python/cache.cc:Julian Andres Klode1-1/+30
- Add Package.get_fullname() and Package.architecture
2011-03-29PyFetchProgress::Pulse(): When ignoring a false return value fromMichael Vogt1-1/+3
PyArg_Parse() after running the simple callback pulse(), there can be an exception on the stack, which must be cleared. (LP: #711225)
2011-03-21* python/arfile.cc, apt/debfile.py:Michael Vogt1-5/+9
- add support for .xz archives * tests/test_debfile.py: - add test for xz compression
2011-03-21 - add optional parameter to allow parse_depends() to keep theMichael Vogt1-3/+4
multiarch parameter * tests/test_deps.py: - add test forapt_pkg.parse_depends(strip_multiarch=True)
2011-03-21* python/apt_pkgmodule.cc:Michael Vogt1-2/+3
- strip multiarch by default in RealParseDepends
2011-02-18* python/depcache.cc:Michael Vogt1-0/+30
- provide bindings for new libapt SetCandidateRelease() * debian/control: - require new libapt-pkg-dev SetCandidateRelease()
2010-12-22python/depcache.cc: remove Py_DECREF, that is one too much (thanks to juliank)Michael Vogt1-1/+0
2010-12-22merged from lp:~mvo/python-apt/mvoMichael Vogt1-1/+3