| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2014-11-07 | apt/debfile.py: use apt_pkg.open_maybe_clear_signed_file() when opening a ↵ | Michael Vogt | 1 | -1/+2 | |
| .dsc file | |||||
| 2014-09-03 | fix tests | Michael Vogt | 2 | -3/+5 | |
| 2014-09-03 | read all tags from a dsc file and improve tests | Michael Vogt | 1 | -6/+6 | |
| 2014-09-03 | add support for apt.debfile.DscSrcPackage.filelist | Michael Vogt | 1 | -3/+12 | |
| 2014-09-02 | Stop reading after the "Format" stanza in a .dsc file | Michael Vogt | 1 | -0/+3 | |
| This makes the tagfile parser skip the last gpg signature part that also contains a "Version:" line. | |||||
| 2014-08-28 | tests/test_auth.py: update for gnupg 1.4.18 | Mauricio Faria de Oliveira | 1 | -0/+6 | |
| The test 'test_add_key_from_server_mitm' needs updating for gnupg 1.4.18 which fail differently/earlier when 'fingerprints do not match' since commit 'Screen keyserver responses' (5230304349490f31aa64ee2b69a8a2bc06bf7816) With that change gnupg actually checks itself(!) if the key that the server send matches the key that the user asked for. Closes: #755342 | |||||
| 2014-06-30 | make pep8 happy (again) | Michael Vogt | 3 | -16/+16 | |
| 2014-04-02 | apt/package.py: Do not shadow _ | Julian Andres Klode | 1 | -3/+3 | |
| This can lead to bugs later on and makes pyflakes 0.8 cry. | |||||
| 2014-03-10 | Revert "* apt/cache.py:" (rootdir change) | Julian Andres Klode | 1 | -4/+1 | |
| This reverts commit 5e76e9fccee519c63602562dc4065deb3f97748b. Conflicts: apt/cache.py debian/changelog | |||||
| 2014-01-25 | apt/package.py: Pass an apt_pkg.Dependency to BaseDependency | Julian Andres Klode | 1 | -19/+41 | |
| Instead of passing the properties to __init__(), let's just pass the apt_pkg.Dependency. Store that in a _dep attribute, and provide properties to provide the API. The other classes do it this way as well. Reported-by: Michael Schaller <michael@5challer.de> | |||||
| 2014-01-25 | apt/package.py: Improved readability and documentation of ↵ | Michael Schaller | 1 | -3/+18 | |
| BaseDependency.__dstr(). | |||||
| 2014-01-06 | apt/package.py: Fix BaseDependency.__dstr.__ne__() | Julian Andres Klode | 1 | -1/+1 | |
| It turns out I missed this. Just simplify it to return not self.__eq__(other). Also add a test case for it. Reported-by: Michael Schaller <michael@5challer.de> | |||||
| 2014-01-06 | Unify list of comparison type values everywhere | Julian Andres Klode | 1 | -1/+1 | |
| They are now ordered and include the != and < operators in all cases. | |||||
| 2014-01-06 | apt, doc: Fix the list of comp_type values | Julian Andres Klode | 1 | -1/+1 | |
| Reported-by: Michael Schaller <michael@5challer.de> | |||||
| 2014-01-06 | Use a single code base for Python 2 and 3 | Julian Andres Klode | 5 | -17/+33 | |
| This is much better than running 2to3 during the build, as it gives us more control over the Python 3 code. | |||||
| 2014-01-06 | Use print_function everywhere | Julian Andres Klode | 11 | -62/+83 | |
| This brings the code closer to Python 3. Automatically converted using 2to3 -f print. | |||||
| 2014-01-05 | make test_pep8.py pass | Michael Vogt | 6 | -89/+129 | |
| 2014-01-05 | make pyflakes clean | Michael Vogt | 4 | -2/+3 | |
| 2014-01-05 | apt/cache.py, apt/package.py: Fixed PEP8 and pyflakes issues | Michael Schaller | 2 | -49/+44 | |
| 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 Vogt | 1 | -1/+4 | |
| - when using apt.Cache(rootdir=/some/dir) only read the APT configuration from this rootdir instead of /etc (closes: #728274) | |||||
| 2013-10-24 | apt/cache.py: Call os.path.abspath() on a supplied rootdir (LP: #792295) | Julian Andres Klode | 1 | -0/+1 | |
| When the rootdir option is set to a relative path, that path appears multiple times in the dir::state::status path, as we also prepend it there. | |||||
| 2013-10-21 | apt/debfile.py: Pass strip_multi_arch=False to parse_depends. | Julian Andres Klode | 1 | -6/+8 | |
| 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-10 | apt, aptsources: Only call init_config() if not already initialized | Julian Andres Klode | 1 | -2/+4 | |
| Based on an idea by the bug reporter. Reported-by: Dominique Lasserre <lasserre.d@googlemail.com> Closes: #686403 | |||||
| 2013-10-10 | apt/package.py: mark_upgrade misuses FromUser to set auto-installed | Daniel Hartwig | 1 | -2/+3 | |
| 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-08 | apt/package.py: Add a Package.has_config_files property (Closes: #712749) | Julian Andres Klode | 1 | -0/+5 | |
| The name might be a bit misleading, but I cannot find a short name that completely describes this check. | |||||
| 2013-09-11 | Completely remove deprecated stuff | Julian Andres Klode | 8 | -725/+0 | |
| 2013-06-06 | add support for "key in apt.debfile.DebPackage" (closes: #710541) | Michael Vogt | 1 | -0/+3 | |
| 2013-05-08 | merged from experimental and uploaded to sid | Michael Vogt | 3 | -1/+27 | |
| 2013-03-19 | * apt/package.py: | Michael Vogt | 1 | -0/+2 | |
| - export codename in apt.package.Origin as well (closes: #703401) | |||||
| 2013-03-13 | Fix the last commit | Julian Andres Klode | 1 | -4/+2 | |
| 2013-03-13 | apt/package.py: Try both filenames for package file lists | Julian Andres Klode | 1 | -6/+11 | |
| (Closes: #700715) | |||||
| 2012-10-23 | build fixes for python3.3 | Michael Vogt | 1 | -1/+2 | |
| 2012-10-15 | apt/cache.py: add comment | Michael Vogt | 1 | -0/+1 | |
| 2012-10-15 | close cache on (re)open | Michael Vogt | 1 | -0/+2 | |
| 2012-10-15 | merged lp:~jconti/python-apt/closeable-cache | Michael Vogt | 1 | -0/+20 | |
| 2012-10-10 | cherry pick robustness fixes for keyid (allow leading 0x, allow lowercase) | Michael Vogt | 1 | -1/+3 | |
| 2012-10-04 | * apt/cache.py: | Jason Conti | 1 | -0/+20 | |
| - Add Cache.close() to delete the records and free up file descriptors - Add with statement support for Cache.close() | |||||
| 2012-10-02 | * lp:~mvo/python-apt/recv-key-lp1016643: | Michael Vogt | 1 | -6/+75 | |
| - Only support long (v4) keyids when downloading keys and check the keys fingerprint before importing. This avoids man-in-the-middle attacks (LP: #1016643) | |||||
| 2012-10-02 | apt/auth.py: fix trailing whitespace | Michael Vogt | 1 | -1/+1 | |
| 2012-10-01 | fix crash when a pkgname has no candidate | Michael Vogt | 1 | -0/+1 | |
| 2012-10-01 | apt/auth.py: proper cleanup | Michael Vogt | 1 | -2/+1 | |
| 2012-10-01 | check fingerprint after downloading a key and before adding it | Michael Vogt | 1 | -4/+68 | |
| 2012-10-01 | support only downloading long keyids (160bit) in add_key_from_keyserver() | Michael Vogt | 1 | -3/+9 | |
| 2012-07-30 | apt/auth.py: Forward stderr from apt-key to our stderr if non-empty | Julian Andres Klode | 1 | -0/+4 | |
| 2012-07-30 | apt/auth.py: Do not merge stdout and stderr (Closes: #678706) | Julian Andres Klode | 1 | -5/+5 | |
| 2012-07-28 | Fix typos: the the -> the (closes: #679432) | Jakub Wilk | 1 | -1/+1 | |
| 2012-06-25 | Use Popen.communicate() instead of stdin, stdout | Julian Andres Klode | 1 | -10/+12 | |
| 2012-06-25 | * apt/auth.py: | Julian Andres Klode | 1 | -25/+27 | |
| - Use tempfile.NamedTemporaryFile to create temporary file | |||||
| 2012-06-12 | Drop __del__ statement, which is unsafe: ↵ | Evan Dandrea | 1 | -4/+1 | |
| http://www.algorithm.co.il/blogs/programming/python-gotchas-1-__del__-is-not-the-opposite-of-__init__/ | |||||
| 2012-06-12 | merged lp:~glatzor/python-apt/auth | Michael Vogt | 1 | -0/+176 | |
