| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2014-01-26 | debian/rules: Use dh_sphinxdoc integration | Julian Andres Klode | 2 | -2/+2 | |
| This ensures that we do not include JavaScript from Sphinx in our binary package. Adjust debian/control to include the dependencies created by dh_sphinxdoc. | |||||
| 2014-01-26 | doc/source/conf.py: Python 3 support | Julian Andres Klode | 1 | -0/+2 | |
| Correctly decode the process output in Python 3, so everything works if sphinx is run using python3. | |||||
| 2014-01-25 | Release 0.9.2 | Julian Andres Klode | 1 | -3/+30 | |
| 2014-01-25 | debian/control: Drop python-{unittest2,debian} build deps | Julian Andres Klode | 1 | -2/+0 | |
| They are not used anymore. | |||||
| 2014-01-25 | debian/control: Set Standards-Version to 3.9.5 | Julian Andres Klode | 1 | -1/+1 | |
| 2014-01-25 | apt/package.py: Pass an apt_pkg.Dependency to BaseDependency | Julian Andres Klode | 2 | -40/+43 | |
| 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 | 2 | -3/+19 | |
| BaseDependency.__dstr(). | |||||
| 2014-01-25 | tests/test_deps.py: test_dstr cleanup and fixes | Julian Andres Klode | 1 | -22/+13 | |
| Simplify the code by not stating all test cases in the code, but using a loop. Also adds more tests this way. | |||||
| 2014-01-23 | tests/test_aptsources.py: Fix regression in d95a8f2 | Julian Andres Klode | 1 | -1/+1 | |
| Commit d95a8f27774842beb43bda54c4c61b67fe76a032 introduced a regression in this test that did not catch an invalid False value for the trusted property of a source without trusted set. | |||||
| 2014-01-14 | python/pkgmanager.cc: Do not create temporary CppPyRef | Julian Andres Klode | 1 | -1/+1 | |
| Instead of creating a CppPyRef with the only purpose of destroying it, just decrement the reference count. Reported-by: cppcheck | |||||
| 2014-01-07 | apply patch from Barry Warsaw to fix autopkgtest | Michael Vogt | 3 | -2/+7 | |
| 2014-01-07 | debian/gbp.conf: Set sign-tags = True | Julian Andres Klode | 1 | -0/+1 | |
| 2014-01-07 | tests: Add back test_hashsums from old and update | Julian Andres Klode | 3 | -24/+27 | |
| These are automatic tests and they still work, so it's pointless not to use them. | |||||
| 2014-01-06 | debian/README.source: Drop it, it's useless bzr | Julian Andres Klode | 1 | -3/+0 | |
| This contains some bzr advices. It's wrong for git, and we don't need it for git because git is popular. | |||||
| 2014-01-06 | tests/test_deps.py: Remove an invalid blank line | Julian Andres Klode | 1 | -1/+0 | |
| Fixes pep8 | |||||
| 2014-01-06 | apt/package.py: Fix BaseDependency.__dstr.__ne__() | Julian Andres Klode | 2 | -1/+29 | |
| 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 | 4 | -4/+7 | |
| 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 | 3 | -3/+3 | |
| Reported-by: Michael Schaller <michael@5challer.de> | |||||
| 2014-01-06 | Use a single code base for Python 2 and 3 | Julian Andres Klode | 6 | -25/+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 | 13 | -63/+86 | |
| This brings the code closer to Python 3. Automatically converted using 2to3 -f print. | |||||
| 2014-01-06 | tests: Remove checks for Python older than 2.7 | Julian Andres Klode | 3 | -24/+5 | |
| This simplifies the test code a tiny bit. | |||||
| 2014-01-06 | Drop support for Python 2.6 | Julian Andres Klode | 2 | -11/+4 | |
| This will allow us to use more Python 3 idioms in the code, and possibly even get a single code base that works in Python 2.7 and Python 3.3 and newer. | |||||
| 2014-01-06 | debian/control: Replace a tab with spaces | Julian Andres Klode | 1 | -1/+1 | |
| This looked a bit ugly if you had the wrong tab size. | |||||
| 2014-01-06 | Style fix: Do not use "is True" / "is False" | Julian Andres Klode | 3 | -16/+16 | |
| This is uncommon style. It's better to use "pred" instead of "pred is True" and "not pred" instead of "pred is False". | |||||
| 2014-01-05 | make test_pep8.py pass | Michael Vogt | 48 | -325/+399 | |
| 2014-01-05 | make pyflakes clean | Michael Vogt | 18 | -27/+12 | |
| 2014-01-05 | add .travis.yml & update python3 dependency to 3.3 | Michael Vogt | 3 | -33/+49 | |
| This patch adds support for the travis-ci.org CI system. The "C" environment in .travis.yml is used to avoid having PPA python versions installed in the travis chroot. python3.3 is needed so that test_paths.py runs The tests_paths.py will only work with python3.3 as it uses the u"" prefix | |||||
| 2014-01-05 | add new pep8,pyflakes dependencies | Michael Vogt | 3 | -4/+6 | |
| 2014-01-05 | add pyflakes test | Michael Vogt | 1 | -0/+41 | |
| 2014-01-05 | make pep8 test part of the unittests | Michael Vogt | 1 | -0/+27 | |
| 2014-01-05 | apt/cache.py, apt/package.py: Fixed PEP8 and pyflakes issues | Michael Schaller | 3 | -49/+53 | |
| 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 | 2 | -1/+12 | |
| - 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-23 | Release 0.9.1 to unstable | Julian Andres Klode | 1 | -0/+19 | |
| 2013-10-23 | po: Update the template | Julian Andres Klode | 1 | -16/+21 | |
| 2013-10-23 | debian/python-apt-doc.links: Replace bundled underscore.js by symlink | Julian Andres Klode | 2 | -1/+2 | |
| And add a dependency in debian/control. | |||||
| 2013-10-23 | debian: Upgrade to debhelper 9 (and dpkg-buildflags) | Julian Andres Klode | 3 | -4/+4 | |
| This gives us some more hardening, amongst other things. | |||||
| 2013-10-23 | python/progress.cc: (scan-build): Fix some uninitialized values | Julian Andres Klode | 1 | -3/+3 | |
| We need to set those pointers to NULL, as the functions that may write to them do not always write to them and we would read garbage in such a case. | |||||
| 2013-10-23 | python/policy.cc: (scan-build): Fix a dead assignment | Julian Andres Klode | 1 | -2/+2 | |
| We need to use else if, otherwise the first cases are not handled at all. | |||||
| 2013-10-23 | python/apt_instmodule.cc: Make RETURN(x) be return on Python 2 | Julian Andres Klode | 1 | -1/+1 | |
| This fixes a small compiler notice. | |||||
| 2013-10-23 | python/arfile.cc: (C++11) Explicitly cast unsigned long to time_t in {} | Julian Andres Klode | 1 | -1/+2 | |
| According to gcc, the expression would be ill-formed in C++11 otherwise. | |||||
| 2013-10-23 | python/cache.cc: Remove a check for an unsigned long value < 0 | Julian Andres Klode | 1 | -1/+1 | |
| This is impossible. | |||||
| 2013-10-23 | python/depcache.cc: Add more error handling to PkgDepCacheCommit | Julian Andres Klode | 1 | -1/+1 | |
| It returned false, but should have returned NULL after handling errors. | |||||
| 2013-10-23 | python/{depcache.cc,string.cc}: Ignore deprecation warnings for some calls | Julian Andres Klode | 3 | -0/+9 | |
| Those functions are deprecated in APT, but we still need to provide them for backwards compatibility. | |||||
| 2013-10-23 | python/*.cc: Get rid of the easy-to-replace deprecated APT functions | Julian Andres Klode | 3 | -5/+7 | |
| We cannot get rid of the InstallProtect and StrToTime calls for backwards compatibility, but let's drop the others. | |||||
| 2013-10-23 | data/templates/Debian.info.in: Change wheezy version from 7.0 to 7 | Julian Andres Klode | 53 | -72/+72 | |
| The wheezy release now uses 7.1, 7.2 for point releases, so this is more accurate. The translations were adjusted using sed. | |||||
| 2013-10-23 | data/templates/Debian.info.in: Add jessie | Julian Andres Klode | 1 | -0/+30 | |
| We already have the new Ubuntu development version, but not our own testing. | |||||
| 2013-10-21 | data/templates/Ubuntu.info.in: It's 'Tahr', not 'Thar' | Julian Andres Klode | 1 | -3/+3 | |
| Stupid typo. Did I write this myself, or did I copy it from somewhere? | |||||
| 2013-10-21 | Release 0.9.0 to unstable | Julian Andres Klode | 1 | -2/+2 | |
| 2013-10-21 | debian/control: Set Standards-Version to 3.9.4 | Julian Andres Klode | 2 | -1/+3 | |
