summaryrefslogtreecommitdiff
path: root/debian
AgeCommit message (Collapse)AuthorFilesLines
2014-01-05add new pep8,pyflakes dependenciesMichael Vogt2-2/+4
2014-01-05apt/cache.py, apt/package.py: Fixed PEP8 and pyflakes issuesMichael Schaller1-0/+9
This commit removed the unused local variable 'transient' in 'apt/cache.py' and the unused import 'warnings' in 'apt/package.py'.
2013-11-23* apt/cache.py:Michael Vogt1-0/+8
- when using apt.Cache(rootdir=/some/dir) only read the APT configuration from this rootdir instead of /etc (closes: #728274)
2013-10-23Release 0.9.1 to unstableJulian Andres Klode1-0/+19
2013-10-23debian/python-apt-doc.links: Replace bundled underscore.js by symlinkJulian Andres Klode2-1/+2
And add a dependency in debian/control.
2013-10-23debian: Upgrade to debhelper 9 (and dpkg-buildflags)Julian Andres Klode3-4/+4
This gives us some more hardening, amongst other things.
2013-10-21Release 0.9.0 to unstableJulian Andres Klode1-2/+2
2013-10-21debian/control: Set Standards-Version to 3.9.4Julian Andres Klode2-1/+3
2013-10-21data/templates/Ubuntu.info.in: Add "Trusty Thar"Julian Andres Klode1-0/+2
A copy from saucy, with name and numbers adjusted
2013-10-21tests/old/*.py: Update to new API as wellJulian Andres Klode1-0/+2
2013-10-21doc/examples/*.py: Update examples to the new APIJulian Andres Klode1-0/+2
Closes: #639022
2013-10-21aptsources: Correctly parse multiple options (LP: #1103200)Julian Andres Klode1-0/+1
It's still not optimal and we do not support the arch+ and arch- options, but it's a beginning.
2013-10-21doc/source/examples/dpkg-info.py: Use apt_inst.DebFileJulian Andres Klode1-0/+2
We previously used deb_extract_control, but this does not exist. Closes: #671784
2013-10-21python/cache.cc: Set NoDelete=true when creating Policy, fixes segfault in ↵Julian Andres Klode1-0/+2
destructor
2013-10-21apt/debfile.py: Pass strip_multi_arch=False to parse_depends.Julian Andres Klode1-0/+4
Patch by Michael, tests derived from the ones provided by the reporter. I included the test debs without the source package, as for our use case, all needed "source code" is included in the package itself anyway. Reported-By: Francois Gouget <fgouget@free.fr> Closes: #717859 Closes: #717861
2013-10-10apt, aptsources: Only call init_config() if not already initializedJulian Andres Klode1-0/+2
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 Klode1-0/+2
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 Hartwig1-0/+4
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-08apt/package.py: Add a Package.has_config_files property (Closes: #712749)Julian Andres Klode1-0/+2
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 Klode1-0/+2
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 Klode1-0/+3
2013-10-08aptsources/sourceslist.py: Fix uniq docstring and hide it (Closes: #723815)Julian Andres Klode1-0/+2
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 Bicha1-0/+3
2013-09-11Update changelogJulian Andres Klode1-1/+5
2013-09-11Completely remove deprecated stuffJulian Andres Klode2-4/+0
2013-09-11Remove old API compatibility C++ support codeJulian Andres Klode1-1/+0
2013-09-10* merge from Ubuntu:Michael Vogt2-9/+8
- data/templates/Ubuntu.info.in: add "Saucy Salamander" to - debian/control: add "Multi-Arch: allowed"
2013-08-31Use HAVE_OPEN_MEMSTREAMIgor Pashev1-2/+7
2013-08-05some fixes from a coverity scan runMichael Vogt1-0/+6
2013-06-06prepare releaseMichael Vogt1-2/+2
2013-06-06add support for "key in apt.debfile.DebPackage" (closes: #710541)Michael Vogt1-0/+3
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 Vogt3-2/+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 Vogt4-1/+82
2013-04-30* aptsources/distro.py:Michael Vogt1-0/+8
- 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 Vogt1-0/+8
- export codename in apt.package.Origin as well (closes: #703401)
2013-03-14Release 0.8.8.2Julian Andres Klode1-2/+2
2013-03-13apt/package.py: Try both filenames for package file listsJulian Andres Klode1-0/+5
(Closes: #700715)
2013-03-13releasing version 0.8.9~exp1Michael Vogt1-2/+4
2012-12-11merged test-fixes from ubuntu (mostly for dep8)Michael Vogt1-0/+35
2012-12-11merged from the debian-sid branchMichael Vogt1-2/+19
2012-11-28po/no.po: Remove useless translation (superseded by nb.po)David Prévot1-0/+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 Pitt1-0/+2
gnupg does not get along with proxies (LP #789049)
2012-11-20aptsources/distro.py: Replace the deprecated getiterator() ElementTreeMartin Pitt1-0/+2
method with iter(), to avoid raising a PendingDeprecationWarning.
2012-11-20tests/test_auth.py: In test_add_key_from_server_mitm(), show the exceptionMartin Pitt1-0/+3
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 Pitt1-0/+7
an unintelligible crash.