summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-10-10apt, aptsources: Only call init_config() if not already initializedJulian Andres Klode3-4/+11
Based on an idea by the bug reporter. Reported-by: Dominique Lasserre <lasserre.d@googlemail.com> Closes: #686403
2013-10-10tests: Do not set dir::etc::sourceparts to /tmpJulian Andres Klode3-2/+6
This can cause build failures if *.list files are present in /tmp. Use /dev/null instead (not a directory, but APT silently ignores this).
2013-10-10apt/package.py: mark_upgrade misuses FromUser to set auto-installedDaniel Hartwig2-2/+7
Package.mark_upgrade uses FromUser for it's side effect of setting a package as auto-installed (or not). However, FromUser is also influential in pkgDepCache::IsModeChangeOk to determine whether an action should override a dpkg hold, etc.. Closes: #686726
2013-10-08Accept bytes object for file names (Closes: #680971)Julian Andres Klode1-0/+1
I accidentally pushed those changes to debian/sid, but the test suite still runs, so everything should be fine. We're still missing some automatic tests, though.
2013-10-08python/generic.cc: Move PyApt_Filename::init hereJulian Andres Klode2-21/+24
2013-10-08apt/package.py: Add a Package.has_config_files property (Closes: #712749)Julian Andres Klode2-0/+7
The name might be a bit misleading, but I cannot find a short name that completely describes this check.
2013-10-08python/apt_pkgmodule.cc: Fix documentation of version_compare (Closes: #680891)Julian Andres Klode2-2/+5
This was supposed to be fixed some time ago in mvo's bzr branch but it seems that it did not survive the git migration.
2013-10-08python-apt: formatting error in library/index.rst (Closes: #692484)Julian Andres Klode2-1/+4
2013-10-08aptsources/sourceslist.py: Fix uniq docstring and hide it (Closes: #723815)Julian Andres Klode2-1/+11
We accidentally exported this and people wrongly assumed that it was intended for SourcesList objects.
2013-10-08data/templates/Ubuntu.info.in: add 'devel' seriesJeremy Bicha2-0/+110
2013-10-08apt_pkg: Support paths supplied as bytes objects (See: #680971)Julian Andres Klode9-26/+31
We should be done now. DO NOT MERGE
2013-10-08PyApt_Filename: Add return value to assignment operatorJulian Andres Klode1-2/+2
2013-10-08apt_inst: Support paths supplied as bytes objects (Closes: #680971)Julian Andres Klode2-30/+33
2013-10-08python/generic.h: Introduce a PyApt_Filename classJulian Andres Klode1-0/+60
On Python 3, we need to encode filenames. We could use PyUnicode_FSConverter but this introduces unneeded complexity in all callees, and is only available in Python 3.1 anyway.
2013-09-11Update changelogJulian Andres Klode1-1/+5
2013-09-11Completely remove deprecated stuffJulian Andres Klode14-991/+0
2013-09-11Remove old API compatibility C++ support codeJulian Andres Klode19-947/+1
2013-09-10* merge from Ubuntu:Michael Vogt3-9/+127
- data/templates/Ubuntu.info.in: add "Saucy Salamander" to - debian/control: add "Multi-Arch: allowed"
2013-08-31Use HAVE_OPEN_MEMSTREAMIgor Pashev4-2/+15
2013-08-26python/arfile.cc: Fixup the formattingJulian Andres Klode1-16/+15
2013-08-05some fixes from a coverity scan runMichael Vogt2-102/+128
2013-08-05coverity fixesMichael Vogt4-4/+4
2013-06-06prepare releaseMichael Vogt1-2/+2
2013-06-06add support for "key in apt.debfile.DebPackage" (closes: #710541)Michael Vogt3-0/+10
2013-05-16debian/gbp.conf: add debian-tag so that git-dch works out of the boxMichael Vogt1-0/+1
2013-05-16Update Vcs fieldsJulian Andres Klode2-2/+7
Rename Vcs-Bzr to Vcs-Git and use the git protocol URL. Change Vcs-Browser to point to the gitweb interface.
2013-05-16debian/control:Michael Vogt4-7/+15
* debian/control: - updated Vcs field to point to http://git.debian.org/git/apt/python-apt.git * replace .bzr-builddeb/default.conf with debian/gbp.conf
2013-05-08merged from experimental and uploaded to sidMichael Vogt22-41/+402
2013-05-08add py2.6 compatibilityMichael Vogt1-1/+8
2013-04-30* aptsources/distro.py:Michael Vogt2-2/+11
- include the missing ID in the NoDistroTemplateException() error, thanks to Brian Murray
2013-03-19releasing version 0.8.9~exp2Michael Vogt1-2/+2
2013-03-19* apt/package.py:Michael Vogt2-0/+10
- export codename in apt.package.Origin as well (closes: #703401)
2013-03-14Release 0.8.8.2Julian Andres Klode1-2/+2
2013-03-13Fix the last commitJulian Andres Klode1-4/+2
2013-03-13apt/package.py: Try both filenames for package file listsJulian Andres Klode2-6/+16
(Closes: #700715)
2013-03-13releasing version 0.8.9~exp1Michael Vogt1-2/+4
2013-03-13python2.6 compat fixesMichael Vogt2-1/+12
2012-12-11merged test-fixes from ubuntu (mostly for dep8)Michael Vogt14-32/+141
2012-12-11merged from the debian-sid branchMichael Vogt3-683/+20
2012-11-28po/no.po: Remove useless translation (superseded by nb.po)David Prévot2-681/+6
2012-11-20releasing version 0.8.8ubuntu5Martin Pitt1-2/+2
2012-11-20tests/test_auth.py: Temporarily disable $http_proxy for the tests, asMartin Pitt2-0/+13
gnupg does not get along with proxies (LP #789049)
2012-11-20aptsources/distro.py: Replace the deprecated getiterator() ElementTreeMartin Pitt2-1/+3
method with iter(), to avoid raising a PendingDeprecationWarning.
2012-11-20tests/test_auth.py: In test_add_key_from_server_mitm(), show the exceptionMartin Pitt2-1/+4
if it does not match the expectation, so that this becomes possible to debug.
2012-11-20tests/*.py: Do not prepend None to sys.path, Python 3.3 redeems that withMartin Pitt5-4/+19
an unintelligible crash.
2012-11-19releasing version 0.8.8ubuntu4Colin Watson1-2/+2
2012-11-19* tests/test_aptsources.py:Colin Watson2-1/+4
- Clean up file object in test_enable_component.
2012-11-19* tests/test_all.py:Colin Watson2-4/+11
- Write general test status output to stdout, not stderr.
2012-11-19* tests/test_debfile_multiarch.py:Colin Watson2-2/+7
- Don't log warnings when skipping tests; the resulting stderr output causes autopkgtest to fail.
2012-11-19* aptsources/distinfo.py, aptsources/distro.py, aptsources/sourceslist.py,Colin Watson6-9/+13
tests/test_apt_cache.py, tests/test_debfile_multiarch.py: - Use logging.warning rather than the deprecated logging.warn.