Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-10-24 | Merged UbuntuRTMDistribution detection from ubuntu | Michael Vogt | 1 | -0/+34 | |
* Add template for the "Ubuntu-RTM" derived distribution. * Detect whether a system is running Ubuntu-RTM by way of "system-image-cli -i". Not perfect but close enough. | |||||
2014-06-30 | make pep8 happy (again) | Michael Vogt | 1 | -21/+21 | |
2014-01-06 | Style fix: Do not use "is True" / "is False" | Julian Andres Klode | 1 | -13/+13 | |
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 | 1 | -22/+23 | |
2013-05-08 | merged from experimental and uploaded to sid | Michael Vogt | 1 | -2/+6 | |
2013-04-30 | * aptsources/distro.py: | Michael Vogt | 1 | -2/+3 | |
- include the missing ID in the NoDistroTemplateException() error, thanks to Brian Murray | |||||
2013-03-13 | python2.6 compat fixes | Michael Vogt | 1 | -0/+4 | |
2012-11-20 | aptsources/distro.py: Replace the deprecated getiterator() ElementTree | Martin Pitt | 1 | -1/+1 | |
method with iter(), to avoid raising a PendingDeprecationWarning. | |||||
2012-11-19 | * aptsources/distinfo.py, aptsources/distro.py, aptsources/sourceslist.py, | Colin Watson | 1 | -1/+1 | |
tests/test_apt_cache.py, tests/test_debfile_multiarch.py: - Use logging.warning rather than the deprecated logging.warn. | |||||
2012-06-12 | cherry pick r472 from lp:~ubuntu-core-dev/python-apt/ubuntu (thanks Colin!) | Michael Vogt | 1 | -2/+4 | |
2012-06-12 | aptsources/*.py, setup.py: Make aptsources modules work directly in | Colin Watson | 1 | -2/+4 | |
either Python 2 or 3, and exclude the "future" 2to3 fixer so that 2to3 doesn't need to modify them. This makes life a little easier for the strange tricks update-manager plays with its dist-upgrader tarball. | |||||
2012-01-10 | pyflakes fixes | Michael Vogt | 1 | -3/+1 | |
2011-12-19 | pyflakes cleanup, use apt_pkg.gettext in aptsources too | Michael Vogt | 1 | -3/+1 | |
2011-09-28 | add concept of "ParentComponent" for e.g. ubuntu/multiverse | Michael Vogt | 1 | -2/+12 | |
that needs universe enabled as well (plus add test) LP: #829284 | |||||
2011-04-12 | releasing version 0.7.100.3ubuntu4 | Stéphane Graber | 1 | -0/+3 | |
2010-10-18 | fix compat issues with python3 | Michael Vogt | 1 | -2/+3 | |
2010-09-13 | * data/templates/Ubuntu.info.in: | Michael Vogt | 1 | -0/+1 | |
- add extras.ubuntu.com and archvie.canonical.com to the templates * aptsources/distinfo.py, aptsources/distro.py: - support non-official templates (like extras.ubuntu.com) | |||||
2010-03-01 | Style fixes. | Julian Andres Klode | 1 | -0/+2 | |
2010-02-13 | * aptsources/distro.py: | Julian Andres Klode | 1 | -2/+2 | |
- Call lsb_release with -idrc instead of --all. | |||||
2010-01-17 | aptsources/distro.py: Support Python 3, decode lsb_release results using utf-8. | Julian Andres Klode | 1 | -0/+2 | |
2010-01-17 | aptsources: Make all classes subclasses of object. | Julian Andres Klode | 1 | -1/+1 | |
2009-08-02 | Only recommend lsb-release instead of depending on it. Default to | Julian Andres Klode | 1 | -6/+19 | |
Debian unstable if lsb_release is not available. | |||||
2009-07-13 | * aptsources/distro.py: | Michael Vogt | 1 | -2/+2 | |
- fix indent error that causes incorrect sources.list additons (LP: #372224) | |||||
2009-04-01 | * Copyright updates: debian/copyright, etc. | Julian Andres Klode | 1 | -2/+2 | |
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments. | |||||
2009-01-22 | apt/debfile.py, aptsources/distro.py: Fix styling | Julian Andres Klode | 1 | -16/+17 | |
This fixes some styling issues. | |||||
2009-01-22 | fix incorrect indent | Michael Vogt | 1 | -30/+30 | |
2009-01-21 | * aptsources/distro.py: | Michael Vogt | 1 | -13/+16 | |
- use iso_3166.xml instead of iso_3166.tab * debian/control: - add Recommends to iso-codes (for iso_3166.xml) | |||||
2009-01-21 | aptsources/distro.py: fix fallout from the indent changes | Michael Vogt | 1 | -63/+62 | |
2009-01-13 | * apt/package.py: | Michael Vogt | 1 | -10/+14 | |
- fix bug in candidateInstalledSize property * aptsources/distinfo.py: - fix too restrictive mirror url check * aptsources/distro.py: - only add nearest_server and server to the mirrors if they are defined | |||||
2009-01-12 | Cleanup: Comparisons to True/False, ==/!= None, deprecated modules | Julian Andres Klode | 1 | -7/+6 | |
2009-01-11 | * Merge Ben Finney's do not use has_key() (Closes: #481878) | Julian Andres Klode | 1 | -6/+6 | |
A little bit adjusted to not remove the has_key() methods, and to use has_key() where needed [the low-level part does not have the needed functionality for 'key in mapping']. | |||||
2009-01-11 | Merge Ben Finney's whitespace changes (Closes: #481563) | Julian Andres Klode | 1 | -368/+384 | |
2009-01-11 | aptsources/distro.py: No deprecated form of raise statement | Julian Andres Klode | 1 | -2/+2 | |
2009-01-09 | Cleanup: Remove whitespace at the end of line in all python codes. | Julian Andres Klode | 1 | -26/+26 | |
2009-01-08 | * aptsources/distinfo.py: | Michael Vogt | 1 | -11/+14 | |
- fix too restrictive mirror url check * aptsources/distro.py: - only add nearest_server and server to the mirrors if they are defined | |||||
2008-11-10 | * aptsources/distro.py: | Michael Vogt | 1 | -6/+13 | |
- add parameter to get_distro() to make unit testing easier * tests/test_aptsources_ports.py: - add test for arch specific handling (when sub arch is on a different mirror than "main" arches) | |||||
2008-08-08 | 'mapping.has_key' is deprecated, use current Python 'key in mapping' idiom. | Ben Finney | 1 | -6/+6 | |
2008-06-21 | Merge from python-apt.debian-sid/. | Ben Finney | 1 | -1/+1 | |
2008-05-16 | Limit code lines to maximum 79 characters, to conform with PEP 8. | Ben Finney | 1 | -14/+19 | |
2008-05-16 | Statements on separate lines, to conform with PEP 8. | Ben Finney | 1 | -1/+2 | |
2008-05-16 | Fix spaces adjacent to commas and operators, to conform with PEP 8. | Ben Finney | 1 | -1/+1 | |
2008-05-16 | Fix code indentation to 4 spaces, to conform with PEP 8. | Ben Finney | 1 | -367/+367 | |
2008-05-16 | Fixes to blank lines, to conform with PEP 8. | Ben Finney | 1 | -1/+12 | |
2008-05-16 | Remove trailing whitespace. | Ben Finney | 1 | -23/+23 | |
2008-04-30 | aptsources/distro.py: fix typo (thanks to cjwatson) | Michael Vogt | 1 | -1/+1 | |
2007-08-03 | * aptsources/distro.py: | Michael Vogt | 1 | -3/+5 | |
- throw NoDistroTemplateException if not distribution template can be found * NMU * Fix version to not use CPU and OS since it's not available on APT anymore (closes: #435653, #435674) | |||||
2007-06-28 | * aptsources/distro.py: | Michael Vogt | 1 | -88/+114 | |
- generalized some code, bringing it into the Distribution class, and wrote some missing methods for the DebianDistribution one (thanks to Gustavo Noronha Silva) | |||||
2007-04-24 | * do not set the child base_uri to the parent one automatically, since | Sebastian Heinlein | 1 | -4/+6 | |
we want to know if it a special server was forced * check if a server was forced for a child source before changing it | |||||
2007-04-07 | * the gettext domain of the iso codes changed | Sebastian Heinlein | 1 | -1/+1 | |
2007-03-23 | * missed a debug breakpoint | Sebastian Heinlein | 1 | -2/+0 | |