summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-08* setup.py: Remove apt.gtk, add apt.progressJulian Andres Klode3-3/+6
2009-03-08* Merge with mvoJulian Andres Klode16-121/+191
2009-03-08* doc/source/*: Improve the documentationJulian Andres Klode4-37/+175
- Document more attributes and functions of apt_pkg (they are all listed)
2009-03-08* apt/cache.py, apt/package.py: Fix some bugs.Julian Andres Klode3-8/+5
2009-03-08* apt/progress/: New package, replaces apt.progress and apt.gtkJulian Andres Klode7-7/+10
- apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py
2009-03-08* apt/: Adjust modules to use Package.{installed,candidate}.*Julian Andres Klode3-18/+17
2009-03-08* apt/package.py: Introduce the Version classJulian Andres Klode3-222/+337
- Deprecate Package.candidate*() and Package.installed*(), except for installedFiles. - Provide Version.get_source() (LP: #118788)
2009-03-08* apt/gtk/widgets.py: Handle older versions of python-gobject which do not ↵Julian Andres Klode2-10/+18
ship glib
2009-03-03* python/cache.cc, tests/getcache_mem_corruption.py:Michael Vogt4-4/+44
- test if progress objects have the right methods and raise error if not (thanks to Emanuele Rocca) closes: #497049
2009-02-26avoid duplicated internal references of the Package object for _cache, ↵Michael Vogt3-48/+44
_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-02-25add a bunch of #!/usr/bin/python to the examplesMichael Vogt6-0/+7
2009-02-16aptsources/sourceslist.py: use apt_pkg.Config.FindFileMichael Vogt1-11/+8
2009-01-29apt/package.py: add Origin.not_automaticMichael Vogt1-0/+1
2009-01-29apt/cache.py: test for existance first before reading the fileMichael Vogt1-3/+4
2009-01-29* apt/cache.py:Michael Vogt6-12/+36
- 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 Vogt2-6/+0
2009-01-26apt/package.py: typo in getdefaulttimeout, add changelog to simple testMichael Vogt1-1/+3
2009-01-26apt/package.py: compatibility with python2.4 (pep 341 missing)Michael Vogt1-51/+54
2009-01-23* apt/package.py:Michael Vogt2-4/+10
- make sure to set the defaulttimeout back to the original value (in getChangelog(), LP: #314212)
2009-01-23* apt/cache.py:Michael Vogt2-0/+6
- 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-22apt/debfile.py, aptsources/distro.py: Fix stylingJulian Andres Klode2-18/+21
This fixes some styling issues.
2009-01-22Merge with mvoJulian Andres Klode4-113/+127
2009-01-22fix incorrect indent Michael Vogt2-30/+31
2009-01-21* aptsources/distro.py:Michael Vogt3-13/+26
- use iso_3166.xml instead of iso_3166.tab * debian/control: - add Recommends to iso-codes (for iso_3166.xml)
2009-01-21aptsources/distro.py: fix fallout from the indent changesMichael Vogt1-63/+62
2009-01-16* apt/__init__.py:Michael Vogt2-3/+5
- remove the future warning
2009-01-14Add Vcs-BrowserJulian Andres Klode2-1/+3
2009-01-14* debian/changelog: Close some more bugs.Julian Andres Klode1-3/+3
2009-01-13merge from the debian branchMichael Vogt115-2862/+5955
2009-01-13* apt/package.py:Michael Vogt3-10/+28
- 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-13* apt/*.py:Michael Vogt115-2849/+5934
- Almost complete cleanup of the code - Remove inconsistent use of tabs and spaces (Closes: #505443) - Improved documentation * apt/debfile.py: - Drop get*() methods, as they are deprecated and were never in a stable release - Make DscSrcPackage working * apt/gtk/widgets.py: - Fix the code and document the signals * Introduce new documentation build with Sphinx - Contains style Guide (Closes: #481562) - debian/rules: Build the documentation here - setup.py: Remove pydoc building and add new docs. - debian/examples: Include examples from documentation - debian/python-apt.docs: + Change html/ to build/doc/html. + Add build/doc/text for the text-only documentation * setup.py: - Only create build/data when building, not all the time - Remove build/mo and build/data on clean -a * debian/control: - Remove the Conflicts on python2.3-apt, python2.4-apt, as they are only needed for oldstable (sarge) - Build-Depend on python-sphinx (>= 0.5) * aptsources/distinfo.py: - Allow @ in mirror urls (Closes: #478171) (LP: #223097) * Merge Ben Finney's whitespace changes (Closes: #481563) * Merge Ben Finney's do not use has_key() (Closes: #481878) * Do not use deprecated form of raise statement (Closes: #494259) * Add support for PkgRecords.SHA256Hash (Closes: #456113)
2009-01-12* apt/debfile.py: Do not use mixedCase anymoreJulian Andres Klode1-69/+75
In accordance with the latest change of the guidelines, mixedCase names may not be used anymore for new modules.
2009-01-12* apt/cache.py: Introduce isVirtualPackage()Julian Andres Klode1-0/+5
2009-01-12* apt/README.apt: Point to doc/source/coding.rstJulian Andres Klode1-7/+1
2009-01-12doc/source/coding.rst: New python coding guidelinesJulian Andres Klode1-10/+22
The exception for mixedCase names is now only granted for modules introduced prior to version 0.7.9 and changes thereto. Modules which are listed as deprecated in the documentation of Python 2.6 should be avoided. has_key() may only be used on TagSection objects.
2009-01-12Cleanup: Comparisons to True/False, ==/!= None, deprecated modulesJulian Andres Klode19-108/+98
2009-01-11* doc/source/apt_pkg/cache.rst: Mention the SHA256Hash is new in 0.7.9Julian Andres Klode1-0/+2
2009-01-11* Add support for PkgRecords.SHA256Hash (Closes: #456113)Julian Andres Klode3-1/+9
2009-01-11* debian/changelog: Do not use deprecated form of raise statement (Closes: ↵Julian Andres Klode1-1/+2
#494259)
2009-01-11* Merge Ben Finney's do not use has_key() (Closes: #481878)Julian Andres Klode9-22/+23
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-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode76-1796/+1900
2009-01-11aptsources/distro.py: No deprecated form of raise statementJulian Andres Klode1-2/+2
2009-01-11* apt/cache.py: PEP 8 cleanup, no deprecated raiseJulian Andres Klode1-37/+61
2009-01-11* doc/: Small updates, add PkgSourceListJulian Andres Klode2-38/+64
2009-01-11doc/source/**.rst: rst Style changes.Julian Andres Klode4-113/+103
This changes our style to match the Python documentation.
2009-01-11* doc/source/apt_pkg/cache.rst: Add the last classesJulian Andres Klode1-6/+435
There is no description for MetaIndex yet, but this will be added soon.
2009-01-10* doc/source/apt_pkg/cache.rst: Add PkgAcqFile, AcquireItem, and ConfigurationJulian Andres Klode1-0/+175
Not documented: MetaIndex PackageIndexFile PkgManager PkgRecords PkgSourceList PkgSrcRecords ProblemResolver TagFile TagSection (9)
2009-01-10* doc/: Heavily improve documentationJulian Andres Klode7-14/+655
Complete the documentation of pkgCache, pkgDepCache, pkgCache::Package. Introduce new documentation for pkgCache::Version, pkgCache::Dependency, pkgCache::PackageFile, pkgcache::Description. There is also an example now which checks for missing dependencies.
2009-01-10* aptsources/distinfo.py: Allows numbers in urlsJulian Andres Klode1-1/+1
2009-01-10* also close LP: #223097Julian Andres Klode1-2/+2