summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-21apt/cache.py: Make Cache.get_providing_packages() about 1000 times faster.Julian Andres Klode2-15/+23
2010-04-21apt/cache.py: Make Cache.req_reinstall_pkgs much faster as well.Julian Andres Klode2-4/+7
2010-04-21Add rich compare methods to the Version object.Julian Andres Klode2-1/+21
2010-04-21Add Package.has_versions to see which packages have at least one version.Julian Andres Klode2-0/+10
2010-04-21apt/cache.py: Make Cache.get_changes() much (~35x) faster (Closes: #578074).Julian Andres Klode2-4/+10
This change consists of the following ideas: - Switch to the low-level API - Use 'not marked_keep()' to check if a package has been modified.
2010-04-01python: Document every class, function, property.Julian Andres Klode17-325/+893
Finally, a complete reference to apt_pkg available via pydoc and __doc__ attributes.
2010-04-01python: Return bool instead of int to Python where possible, looks better.Julian Andres Klode16-60/+61
2010-04-01Fix PackageFile.not_automatic to use NotAutomatic instead of NotSource.Julian Andres Klode2-1/+2
2010-03-31* python/cache.cc:Julian Andres Klode2-1/+4
- Check that 2nd argument to Cache.update() really is a SourceList object.
2010-03-31apt/package.py: Fix fetch_source() to work when source name = binary name ↵Julian Andres Klode2-5/+6
(LP: #552400).
2010-03-30apt/package.py: Decode using utf-8 in installed_files (LP: #407953).Julian Andres Klode2-2/+4
2010-03-29do not require files to end in .py if they are passed on the commandJulian Andres Klode2-1/+6
line or if they contain python somewhere in the shebang line.
2010-03-29Don't abort if parsing failed.Julian Andres Klode2-1/+7
2010-03-29Add has_key to the list of deprecated functions.Julian Andres Klode2-1/+2
2010-03-29utils/migrate-0.8.py: Open files in universal newline support and pass ↵Julian Andres Klode2-1/+3
filename to ast.parse.
2010-03-26Merge with mvo, with the following changes:Julian Andres Klode5-9/+54
* python/generic.cc is changed instead of python/indexfile.cc to add the ArchiveURI property * tests/test_apt_cache.py is changed to assert the properties of the Dependency object instead of assigning them to a variable. The additions to the changelog are: [ Julian Andres Klode ] - Map ArchiveURI property to archive_uri [ Michael Vogt ] * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration
2010-03-25* apt/__init__.py:Michael Vogt3-56/+64
- only show deprecation warnings if PYTHON_APT_DEPRECATION_WARNINGS is set in the environment * python/indexfile.cc: - add missing 0.7 compat indexfile.ArchiveURI method
2010-03-23* tests/test_apt_cache.py:Michael Vogt2-0/+36
- add simple test for basic cache/dependency iteration
2010-03-23* tests/data/aptsources_ports/sources.list:Michael Vogt2-8/+10
- fix ports test-data
2010-03-23* apt/cache.py:Michael Vogt2-1/+6
- make cache open silent by default (use apt.progress.base.OpProgress)
2010-03-23merge from debian-sidMichael Vogt8-15/+52
2010-03-20debian/control: Change priority to standard, keep -doc and -dev on optional.Julian Andres Klode2-1/+5
2010-03-15Correctly fix the last one, PyErr_Restore takes a reference.Julian Andres Klode1-0/+3
2010-03-15* python/generic.cc:Julian Andres Klode2-0/+10
- Fix a memory leak when using old attribute names.
2010-03-12Revert 0.7.93.3 and just set APT::Architecture to i386 forJulian Andres Klode3-5/+19
test_aptsources; fixes FTBFS on powerpc.
2010-03-12Upload to unstable.Julian Andres Klode1-2/+2
2010-03-12Build documentation only when needed (when building python-apt-doc).Julian Andres Klode2-2/+5
2010-03-12tests/test_all.py: Write information header to stderr, not stdout.Julian Andres Klode2-1/+2
2010-03-12recommend python2.6.Julian Andres Klode2-2/+2
2010-03-12Install examples to python-apt-doc instead of python-apt.Julian Andres Klode2-0/+1
2010-03-12Pass --link-doc=python-apt to dh_installdocs.Julian Andres Klode2-3/+4
2010-03-12merged from debian-sidMichael Vogt49-1222/+1559
2010-03-12Use dh_link instead of ln for python-apt-doc (Closes: #573523).Julian Andres Klode3-2/+2
2010-03-11Pass --exclude=migrate-0.8.py to dh_pycentral; in order to not dependJulian Andres Klode2-0/+10
on python2.6.
2010-03-10Upload to unstable as 0.7.94.Julian Andres Klode1-2/+2
2010-03-10python-apt-doc replaces files in older python-aptJulian Andres Klode1-0/+1
2010-03-10tests/test_all.py: Print the version info on start.Julian Andres Klode1-0/+1
2010-03-10Build documentation only once on the default Python version.Julian Andres Klode3-2/+5
2010-03-10Move documentation into python-apt-doc (Closes: #572617)Julian Andres Klode6-6/+19
2010-03-10python/apt_pkgmodule.cc: Fix apt_pkg.CompType to use CompTypeOld.Julian Andres Klode1-7/+13
2010-03-10* python/apt_pkgmodule.cc:Julian Andres Klode3-0/+154
- Treat '>>' and '>', '<<' and '<' as identical in check_dep (LP: #535667). * tests: - test_deps: Add tests for apt_pkg.CheckDep, apt_pkg.check_dep, apt_pkg.parse_depends and apt_pkg.parse_src_depends.
2010-03-09python/generic.cc: use std::string instead of stringMichael Vogt2-3/+2
2010-03-08* utils/get_ubuntu_mirrors_from_lp.py:Julian Andres Klode4-526/+646
- Sort the mirror list of each country.
2010-03-08* utils/get_debian_mirrors.py:Julian Andres Klode3-58/+24
- Parse Mirrors.masterlist instead of the HTML web page.
2010-03-08apt/package.py: Always return unicode strings in Package.get_changelog ↵Julian Andres Klode2-7/+14
(Closes: #572998).
2010-03-05* python/tag.cc:Julian Andres Klode2-0/+19
- Hack the TagFile iterator to not use shared storage (Closes: #572596): Scan once, duplicate the section data, and scan again.
2010-03-03python/generic.cc: Map UntranslatedDepType to dep_type_untranslated.Julian Andres Klode2-0/+3
2010-03-03* tests/data/aptsources/sources.list.testDistribution:Julian Andres Klode3-72/+74
- change one mirror which is not on the mirror list anymore.
2010-03-03apt/progress/old.py: Add missing return statements.Julian Andres Klode1-10/+10
2010-03-03apt/progress/old.py: Call parent constructors.Julian Andres Klode1-0/+2