summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-23* aptsources/sourceslist.py:Michael Vogt2-1/+3
- fix bug in invalid lines detection (LP: #324614)
2009-03-20close default timeout bug (thanks to juliank)Michael Vogt1-1/+2
2009-03-19this is a debian upload :)Michael Vogt1-1/+1
2009-03-19releasing version 0.7.9Michael Vogt1-2/+2
2009-03-19* aptsources/sourceslist.py:Michael Vogt2-1/+3
- fix bug in invalid lines detection (LP: #324614)
2009-03-19set to unreleasedMichael Vogt1-1/+1
2009-03-19* apt/gtk/widgets.py:Michael Vogt39-556/+971
- Handle older versions of python-gobject which do not ship glib * apt/package.py: Introduce the Version class - Deprecate Package.candidate*() and Package.installed*(), except for installedFiles. - Provide Version.get_source() (LP: #118788) - Provide Package.versions (Closes: #513236) * apt/progress/: New package, replaces apt.progress and apt.gtk - apt/progress/gtk2.py: Moved here from apt/gtk/widgets.py - apt/progress/__init__.py: Move here from apt/progress.py * doc/source/*: Improve the documentation - Document more attributes and functions of apt_pkg (they are all listed) * aptsources/distro.py: - use iso_3166.xml instead of iso_3166.tab - fix incorrect indent * debian/control: - add Recommends to iso-codes (for iso_3166.xml) * apt/package.py: - make sure to set the defaulttimeout back to the original value (in getChangelog(), LP: #314212) * apt/cache.py: - when setting a alternative rootdir, read the config from it as well * python/configuration.cc, python/apt_pkgmodule.cc: - add apt_pkg.ReadConfigDir() * python/cache.cc, tests/getcache_mem_corruption.py: - test if progress objects have the right methods and raise error if not (thanks to Emanuele Rocca) closes: #497049 * apt/package.py: - avoid uneeded interal references in the Package objects * apt/__init__.py: - remove the future warning
2009-03-08* doc/examples/*.py: Fix some examples, cleanupJulian Andres Klode8-18/+6
2009-03-08apt/cache.py: If no progress is given for cache open, use OpProgress.Julian Andres Klode2-8/+8
Also fix doc/examples/records.py to use Package.candidate.*
2009-03-08debian/changelog: Add 'Provide Package.versions (Closes: #513236)'Julian Andres Klode1-0/+1
2009-03-08po/POTFILES.in: Add apt/package.py,apt/debfile.py,apt/progress/gtk2.pyJulian Andres Klode2-11/+85
2009-03-08* aptsources/sourceslist.py: Add missing ')'Julian Andres Klode1-1/+1
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