summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-29* python/configuration.cc:Michael Vogt2-1/+18
- add binding for the "dump()" method to configruation objects
2010-07-12merged from debian-sid, improve test outputMichael Vogt22-48/+52
2010-07-12tests/test_debfile.py: move test_debs into tests/dataMichael Vogt12-2/+2
2010-07-12merged from lp:~mvo/python-apt/mvo/Michael Vogt1-0/+77
2010-07-12tests/test_debs/var/lib/dpkg/status: adding fake status fileMichael Vogt1-0/+77
2010-07-12* tests/test_debfile.py:Michael Vogt3-5/+20
- properly setup fixture data to make debfile test pass (closes: #588796)
2010-07-12tests/test_debfile.py: add fixture dpkg-status file to make tests workMichael Vogt3-36/+39
2010-07-12releasing version 0.7.96Michael Vogt1-2/+2
2010-07-12po/*: refreshed poMichael Vogt1-35/+32
2010-07-09tests/test_aptsources.py: fix test by forcing id=UbuntuMichael Vogt1-2/+2
2010-07-06apt/cache.py: use apt_pkg.config instead of apt_pkg.ConfigMichael Vogt1-1/+2
2010-07-06tests/test_apt_cache.py: fixes for 0.8 compatibilityMichael Vogt1-3/+3
2010-07-06* python/progress.cc:Michael Vogt3-1/+9
- deal with missing return value from the acquire progress in pulse()
2010-07-06fix py3 compatibilityMichael Vogt5-13/+27
2010-07-06fix debfile to work with py3, update testsMichael Vogt4-14/+24
2010-07-05test_debfile: Do not insert path (breaks py3k, use test_all for testing).Julian Andres Klode1-3/+0
2010-07-05apt/debfile.py: make to_{hex,strish} staticmethodsMichael Vogt1-0/+2
2010-07-05rules: Fix SHELL override.Julian Andres Klode1-1/+1
2010-07-05Re-enable Python 3 support for latest python-default changes (hack).Julian Andres Klode3-0/+7
2010-07-02* merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port theMichael Vogt20-136/+513
DebPackage class fixes from gdebi into python-apt so that gdebi can use the class from python-apt directly * apt/debfile.py: - check if the debfiles provides are in conflict with the systems packages * tests/test_debs/*.deb, tests/test_debfile.py: - add automatic test based on the test debs from gdebi
2010-07-02* tests/test_debs/*.deb, tests/test_debfile.py:Michael Vogt13-4/+64
- add automatic test based on the test debs from gdebi
2010-07-02* apt/debfile.py:Michael Vogt2-1/+15
- check if the debfiles provides are in conflict with the systems packages
2010-07-02apt/debfile.py: fix bug in compare_to_version_in_cache with use_installed=TrueMichael Vogt1-1/+1
2010-07-02apt/debfile.py: DebFile needs a open fileMichael Vogt1-1/+1
2010-07-02merged lp:~kiwinote/python-apt/merge-gdebi-changes, this port theMichael Vogt6-131/+369
DebPackage class fixes from gdebi into python-apt so that gdebi can use the class from python-apt directly
2010-07-02add test_progress.py testMichael Vogt3-0/+65
2010-06-29* apt/cache.py:Michael Vogt3-0/+45
- add new "dpkg_journal_dirty" property that can be used to detect a interrupted dpkg (the famous "E: dpkg was interrupted, you must manually run 'dpkg --configure -a'")
2010-06-29* apt/cache.py:Michael Vogt3-0/+45
- add new "dpkg_journal_dirty" property that can be used to detect a interrupted dpkg (the famous "E: dpkg was interrupted, you must manually run 'dpkg --configure -a'")
2010-06-29merged from debian-sidMichael Vogt43-1294/+3057
2010-06-28Revert own change, as we can conflict/provide the same packageKiwinote1-13/+0
2010-06-28self.conflicts returns name, ver, oper, rather than name, oper, verKiwinote1-4/+4
2010-06-28And subtract a yearKiwinote1-0/+1
2010-06-28December is month 12, not month 0Kiwinote1-0/+2
2010-06-28Don't query cache[].candidate.version when no cache[].candidate is availableKiwinote1-1/+3
2010-06-25Don't depend on python-debianKiwinote1-2/+13
2010-06-25Merge cache.get_providers_for() into cache.get_providing_packages() and ↵Kiwinote2-48/+46
update debfile.py to use this
2010-06-25Remove unneeded cache.downloadable()Kiwinote1-10/+0
2010-06-25Merge gdebi changesKiwinote2-109/+310
2010-06-25* tests/test_apt_cache.py: Test accessing the record of all packages duringMichael Vogt3-1/+32
iteration. This both ensures that it's well-formatted and structured, and also that accessing it does not take an inordinate amount of time. This exposes a severe performance problem when using gzip compressed package indexes. * apt/cache.py: When iterating over the cache, do so sorted by package name. With this we read the the package lists linearly if we need to access the package records, instead of having to do thousands of random seeks; the latter is disastrous if we use compressed package indexes, and slower than necessary for uncompressed indexes.
2010-06-25apt/cache.py: When iterating over the cache, do so sorted by package name.Martin Pitt2-1/+16
With this we read the the package lists linearly if we need to access the package records, instead of having to do thousands of random seeks; the latter is disastrous if we use compressed package indexes, and slower than necessary for uncompressed indexes.
2010-06-25tests/test_apt_cache.py: Test accessing the record of all packages duringMartin Pitt2-0/+16
iteration. This both ensures that it's well-formatted and structured, and also that accessing it does not take an inordinate amount of time. This exposes a severe performance problem when using gzip compressed package indexes.
2010-06-02* data/templates/Ubuntu.info.in, Michael Vogt6-75/+203
data/templates/Ubuntu.mirrors: - updated for Ubuntu maverick * doc/source/conf.py: - do not fail on non-digits in the version number * utils/get_debian_mirrors.py: - ignore mirrors without a county
2010-06-01releasing version 0.7.95ubuntu1Michael Vogt1-2/+2
2010-06-01utils/get_debian_mirrors.py: ignore mirrors without a countyMichael Vogt1-0/+2
2010-06-01apt/__init__.py: remove unneeded importsMichael Vogt1-3/+0
2010-06-01pre-build.sh.moved: removedMichael Vogt1-8/+0
2010-06-01apt/__init__.py: enable deprecation warnings againMichael Vogt1-2/+0
2010-06-01* doc/source/conf.py:Michael Vogt2-1/+5
- do not fail for non digit version numbers like 0.7.95ubuntu1
2010-06-01revert commit 346 (this re-enable the deprecation warnings)Michael Vogt18-92/+68
2010-06-01* merge from debian bzr, remaining changes:Michael Vogt34-1133/+2754
- different mirror list * data/templates/gNewSense.info.in, data/templates/gNewSense.mirrors: - add gNewSense template and mirrors, thanks to Karl Goetz * apt/cache.py: - Make Cache.get_changes() much (~35x) faster (Closes: #578074). - Make Cache.req_reinstall_pkgs much faster as well. - Make Cache.get_providing_packages() about 1000 times faster. - Use has_versions and has_provides from apt_pkg.Package where possible. * apt/package.py: - Decode using utf-8 in installed_files (LP: #407953). - Fix fetch_source() to work when source name = binary name (LP: #552400). - Merge a patch from Sebastian Heinlein to make get_changelog() only check sources where source version >= binary version (Closes: #581831). - Add Version.source_version and enhance Sebastian's patch to make use of it, in order to find the best changelog for the package. * python: - Return bool instead of int to Python where possible, looks better. - Document every class, function, property. * python/cache.cc: - Check that 2nd argument to Cache.update() really is a SourceList object. - Fix PackageFile.not_automatic to use NotAutomatic instead of NotSource. - Add Package.has_versions to see which packages have at least one version, and Package.has_provides for provides. - Add rich compare methods to the Version object. * python/generic.cc: - Fix a memory leak when using old attribute names. - Map ArchiveURI property to archive_uri * python/progress.cc: - Do not pass arguments to InstallProgress.wait_child(). * doc: - Update the long documentation. * debian/control: - Change priority to standard, keep -doc and -dev on optional. * utils/migrate-0.8.py: - Open files in universal newline support and pass filename to ast.parse. - Add has_key to the list of deprecated functions. - Don't abort if parsing failed. - do not require files to end in .py if they are passed on the command line or if they contain python somewhere in the shebang line. * 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