summaryrefslogtreecommitdiff
path: root/aptsources/distinfo.py
AgeCommit message (Collapse)AuthorFilesLines
2014-06-30make pep8 happy (again)Michael Vogt1-2/+2
2014-01-05make test_pep8.py passMichael Vogt1-6/+5
2012-11-19* aptsources/distinfo.py, aptsources/distro.py, aptsources/sourceslist.py,Colin Watson1-1/+2
tests/test_apt_cache.py, tests/test_debfile_multiarch.py: - Use logging.warning rather than the deprecated logging.warn.
2012-06-12aptsources/*.py, setup.py: Make aptsources modules work directly inColin Watson1-8/+10
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-10pyflakes fixesMichael Vogt1-1/+0
2011-12-19pyflakes cleanup, use apt_pkg.gettext in aptsources tooMichael Vogt1-5/+1
2011-09-28add concept of "ParentComponent" for e.g. ubuntu/multiverseMichael Vogt1-1/+10
that needs universe enabled as well (plus add test) LP: #829284
2011-08-11* aptsources/distinfo.py:Michael Vogt1-1/+1
- make mirror a valid protocol name
2011-08-11* aptsources/distinfo.py:Michael Vogt1-1/+1
- make mirror a valid protocol name
2011-05-26merge from debian, omit disable of the 0.7 APIMichael Vogt1-83/+84
2011-04-06all: Fix all instances of ResourceWarning about unclosed filesJulian Andres Klode1-83/+87
2010-10-18fix compat issues with python3Michael Vogt1-14/+14
2010-09-13* data/templates/Ubuntu.info.in:Michael Vogt1-1/+7
- 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-02-13* data/templates/*.in: Switch MirrorsFile to relative filenames.Julian Andres Klode1-0/+3
- setup.py: Copy the mirror lists to the build directory - aptsources/distinfo.py: Support relative filenames for MirrorsFile.
2010-01-17aptsources: Make all classes subclasses of object.Julian Andres Klode1-5/+5
2009-08-02Only recommend lsb-release instead of depending on it. Default toJulian Andres Klode1-4/+9
Debian unstable if lsb_release is not available.
2009-07-17aptsources/distinfo.py: Fix split_url() on Python 3.Julian Andres Klode1-2/+4
2009-06-04apt, aptsources, doc: Update to use the new names.Julian Andres Klode1-1/+1
2009-04-01* Copyright updates: debian/copyright, etc.Julian Andres Klode1-6/+4
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments.
2009-01-12Cleanup: Comparisons to True/False, ==/!= None, deprecated modulesJulian Andres Klode1-9/+7
2009-01-11* Merge Ben Finney's do not use has_key() (Closes: #481878)Julian Andres Klode1-3/+3
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-11Merge Ben Finney's whitespace changes (Closes: #481563)Julian Andres Klode1-13/+39
2009-01-10* aptsources/distinfo.py: Allows numbers in urlsJulian Andres Klode1-1/+1
2009-01-10* aptsources/distinfo.py: Allow @ in mirror urls (Closes: #478171)Julian Andres Klode1-1/+1
2009-01-09Cleanup: Remove whitespace at the end of line in all python codes.Julian Andres Klode1-11/+11
2008-08-23do not run apt_pkg.init() in the middle of a function, that *destroys* all ↵Michael Vogt1-1/+0
custom config data
2008-08-08'mapping.has_key' is deprecated, use current Python 'key in mapping' idiom.Ben Finney1-3/+3
2008-07-25* aptsources/distinfo.py:Michael Vogt1-16/+29
- fix template matching for arch specific code (LP: #244093)
2008-06-21Fix whitespace in changes from 0.7.6.Ben Finney1-1/+1
2008-06-21Merge from python-apt.debian-sid/.Ben Finney1-4/+10
2008-05-28make MirrorsFile arch specific tooMichael Vogt1-1/+2
2008-05-28* aptsources/distinfo.py:Michael Vogt1-2/+8
- support arch specific BaseURI and MatchURI in the distinfo template
2008-05-16Limit code lines to maximum 79 characters, to conform with PEP 8.Ben Finney1-3/+7
2008-05-16Statements on separate lines, to conform with PEP 8.Ben Finney1-1/+2
2008-05-16Fix spaces adjacent to commas and operators, to conform with PEP 8.Ben Finney1-8/+8
2008-05-16Fixes to blank lines, to conform with PEP 8.Ben Finney1-2/+25
2008-05-16Remove trailing whitespace.Ben Finney1-9/+9
2007-04-24* do not set the child base_uri to the parent one automatically, sinceSebastian Heinlein1-2/+0
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-03-22* use the correct gettext domainMichael Vogt1-1/+3
2007-02-13* fixed crash in Mirror.has_repositoryMichael Vogt1-2/+6
* fixed docstring
2007-02-05* aptsources/distinfo.py:Michael Vogt1-2/+2
- do not crash if the mirror file can not be read
2007-01-26merged glatzors python-apt branch that includes the new aptsource moduleMichael Vogt1-0/+241
2007-01-19* move the distro handling into its own file (distro.py)Sebastian Heinlein1-0/+241
* rename DistInfo to distinfo, since it contains more than only one class * Use the term template instead of suite in distinfo * fix the test function