summaryrefslogtreecommitdiff
path: root/aptsources
AgeCommit message (Collapse)AuthorFilesLines
2009-07-13* aptsources/distro.py:Michael Vogt1-2/+2
- fix indent error that causes incorrect sources.list additons (LP: #372224)
2009-06-04apt, aptsources, doc: Update to use the new names.Julian Andres Klode2-9/+9
2009-04-16* apt/*.py: Initial rename work for Bug#481061Julian Andres Klode1-1/+5
A new module, apt.deprecation, is introduced containing functions and classes which assist in the deprecation. The apt_pkg extension gets a new attribute, _COMPAT_0_7 which can be set by defining COMPAT_0_7 at compile time (-DCOMPAT_0_7). The names are changed, and compatibility functions are enabled if bool(apt_pkg._COMPAT_0_7) == True, i.e. if the package has been built with backward compatibility fixes. This commit changes the apt and aptsources packages, the apt_pkg and apt_inst extensions will be the next renames.
2009-04-01* Copyright updates: debian/copyright, etc.Julian Andres Klode3-14/+12
- debian/copyright: Switch to machine-interpretable copyright - apt/*.py: Fix the copyright years and comments.
2009-03-23* aptsources/sourceslist.py:Michael Vogt1-1/+1
- fix bug in invalid lines detection (LP: #324614)
2009-03-19* aptsources/sourceslist.py:Michael Vogt1-1/+1
- fix bug in invalid lines detection (LP: #324614)
2009-03-08* aptsources/sourceslist.py: Add missing ')'Julian Andres Klode1-1/+1
2009-03-08* Merge with mvoJulian Andres Klode1-11/+8
2009-02-16aptsources/sourceslist.py: use apt_pkg.Config.FindFileMichael Vogt1-11/+8
2009-01-22apt/debfile.py, aptsources/distro.py: Fix stylingJulian Andres Klode1-16/+17
This fixes some styling issues.
2009-01-22fix incorrect indent Michael Vogt1-30/+30
2009-01-21* aptsources/distro.py:Michael Vogt1-13/+16
- use iso_3166.xml instead of iso_3166.tab * debian/control: - add Recommends to iso-codes (for iso_3166.xml)
2009-01-21aptsources/distro.py: fix fallout from the indent changesMichael Vogt1-63/+62
2009-01-13* apt/package.py:Michael Vogt1-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-12Cleanup: Comparisons to True/False, ==/!= None, deprecated modulesJulian Andres Klode3-46/+37
2009-01-11* Merge Ben Finney's do not use has_key() (Closes: #481878)Julian Andres Klode3-11/+11
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 Klode4-760/+818
2009-01-11aptsources/distro.py: No deprecated form of raise statementJulian Andres Klode1-2/+2
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 Klode4-57/+57
2009-01-08* aptsources/distinfo.py:Michael Vogt2-12/+15
- 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 Vogt1-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-23* aptsources/__init__.py, aptsources/distinfo.py:Michael Vogt1-0/+4
- run apt_pkg.init() when aptsources gets imported and not the distinfo function
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 Finney3-11/+11
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 Finney2-5/+11
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 Finney3-27/+42
2008-05-16Statements on separate lines, to conform with PEP 8.Ben Finney2-2/+4
2008-05-16Remove redundant semicolons from statements.Ben Finney1-1/+1
2008-05-16Fix spaces adjacent to commas and operators, to conform with PEP 8.Ben Finney3-23/+23
2008-05-16Fix code indentation to 4 spaces, to conform with PEP 8.Ben Finney2-748/+748
2008-05-16Fixes to blank lines, to conform with PEP 8.Ben Finney4-8/+52
2008-05-16Remove trailing whitespace.Ben Finney4-52/+52
2008-04-30aptsources/distro.py: fix typo (thanks to cjwatson)Michael Vogt1-1/+1
2007-08-03* aptsources/distro.py:Michael Vogt1-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 Vogt1-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-06-14* aptsources/sourceslist.py:Michael Vogt1-6/+3
- merge missing fix from ubuntu branch
2007-04-24* do not set the child base_uri to the parent one automatically, sinceSebastian Heinlein2-6/+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 changedSebastian Heinlein1-1/+1
2007-04-04* Fix the addition of of sources that are already enabled but not with all ↵Sebastian Heinlein1-1/+7
components - fix LP#98795
2007-03-23* missed a debug breakpointSebastian Heinlein1-2/+0
2007-03-23* add a mirror comparision function to clean up the codeSebastian Heinlein1-7/+13
* handle multiple server in a more sane way
2007-03-23* Merge with mvoSebastian Heinlein3-40/+7
* fix comparisoin of urls that include a trainling slash * remove an obsolete and duplicated method
2007-03-22* use the correct gettext domainMichael Vogt3-3/+10
2007-03-15* aptsources/distro.py:Michael Vogt1-3/+2
- fix typo (LP#84009)