summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-06-09rename apt_pkg.SourceRecords.next() to apt_pkg.SourceRecords.step() to avoid ↵Michael Vogt1-5/+5
confusion with python iterators
2014-06-09Add apt_pkg.SourceRecords.next() to step through all SrcRecordsMichael Vogt2-1/+25
2014-06-06Include "Blankon" templateMichael Vogt2-0/+387
Closes: #747498
2014-04-25releasing package python-apt version 0.9.3.6Michael Vogt1-0/+13
2014-04-25add ubuntu utopicMichael Vogt1-0/+119
2014-04-25debian/control: update build-depends on libapt-pkg-dev for build-profile supportMichael Vogt1-1/+1
2014-04-25Add support for build profilesJohannes Schauer1-5/+6
Closes: 744243
2014-04-02Release 0.9.3.5Julian Andres Klode1-0/+12
2014-04-02apt/package.py: Do not shadow _Julian Andres Klode1-3/+3
This can lead to bugs later on and makes pyflakes 0.8 cry.
2014-03-22python/tag.cc: Ignore missing 'encoding' attribute in file objectsJulian Andres Klode1-0/+2
In case the encoding attribute does not exist, Python sets an exception. We must thus clear the exception, otherwise it might be raised at some later point in the code.
2014-03-22debian/pycompat: Drop, it's not used anymoreJulian Andres Klode1-1/+0
2014-03-22debian/control: Drop X{B,S}-Python-Version and use X-Python-VersionJulian Andres Klode1-3/+1
The others are deprecated.
2014-03-22tests: Drop some more Python 2.6 cruftJulian Andres Klode2-19/+1
We do not support Python 2.6 anymore, so we can get rid of this.
2014-03-22doc/source/conf.py: Do not use 'u' and 'r' prefixes togetherJulian Andres Klode1-2/+2
This does not work in Python 3.
2014-03-22utils/get_ubuntu_mirrors.py: Drop, its unused and brokenJulian Andres Klode1-57/+0
The Ubuntu wiki does not include a list of mirrors anymore.o
2014-03-20Release 0.9.3.4Julian Andres Klode1-0/+12
2014-03-18Revert "aptsources/sourceslist.py: ensure that our sources are opened with ↵Julian Andres Klode1-21/+18
UTF-8" This reverts commit a05fa8f6bacea135ba2954e9702aa95b54203322.
2014-03-17Support all compressors for data.tar/control.tar (Closes: #718330)Julian Andres Klode5-31/+55
This makes our support very flexible, and open for future additions of new compression algorithms. debfile_extract_tar() is almost identical to ExtractTarMember() of apt's debDebFile.
2014-03-16utils/get_*_mirrors*.py: Use sys.stderr.write instead of printJulian Andres Klode2-4/+4
pyflakes does not handle from __future__ import print_function, so work around it.
2014-03-16utils/get_*_mirrors*.py: Ensure failure if no mirrors were readJulian Andres Klode2-2/+15
This ensures that we do not accidentally build a package without a mirror list, just because the servers have some error or empty file which we do not know about (for example, Launchpad may have a 503, and we would not notice).
2014-03-16python/progress.cc: Remove invalid checks for mixedCase methodsJulian Andres Klode1-6/+3
They are not working, because they set an exception if the mixedCase name is missing.
2014-03-16python/progress.cc: Fix InstallProgress to set child_pid (LP: #1177720)Julian Andres Klode1-0/+3
We do not wait for a child at all otherwise.
2014-03-15Release 0.9.3.3Julian Andres Klode1-0/+13
2014-03-15aptsources/sourceslist.py: ensure that our sources are opened with UTF-8Steve Langasek1-18/+21
ensure that our sources are opened with UTF-8 encoding, regardless of the current locale, and handle the sources lines as Unicode internally for consistency between python2 and python3. LP: #1069019. [jak: Squashed a PEP8 fixup change by Brian Murray]
2014-03-10Release 0.9.3.2Julian Andres Klode1-0/+9
2014-03-10Revert "* apt/cache.py:" (rootdir change)Julian Andres Klode1-4/+1
This reverts commit 5e76e9fccee519c63602562dc4065deb3f97748b. Conflicts: apt/cache.py debian/changelog
2014-02-22Release 0.9.3.1Julian Andres Klode1-0/+6
2014-02-22debian/rules: Do not run dh_sphinxdoc -aJulian Andres Klode1-0/+5
Running dh_sphinxdoc -a causes the build to FTBFS on buildds, because the sphinx documentation is not built. Only run dh_sphinxdoc if we are building the sphinx documentation.
2014-02-22Release 0.9.3Julian Andres Klode1-0/+14
2014-02-22tests/test_policy.py: Fix comment to conform to PEP8Julian Andres Klode1-2/+2
2014-02-22tests/data/aptsources/sources.list.testDistribution: Add tangluJulian Andres Klode1-0/+1
2014-02-22tests/test_policy.py: Disable, uses system state (FTBFS on ppc64)Julian Andres Klode1-0/+2
Disable the tests until we can fix them properly.
2014-02-22debian/python3-apt-dbg.files: Fix pattern for kFreeBSDJulian Andres Klode1-1/+1
We previously moved all files containing a "d", but kfreebsd contains a "d" itself, so the build failed.
2014-02-22data: Add Tanglu distribution informationJulian Andres Klode2-0/+45
Add information about Tanglu 1.0 'Aequorea' and Tanglu 2.0 'Bartholomea'. Welcome, Tanglu.
2014-01-27python/generic.h: Fix MkPyNumber to work if char is unsigned.Julian Andres Klode1-1/+1
We currently consider two cases "unsigned char" and "char". This works as long as "char" is signed, but this is not guaranteed. Change "char" to "signed char" instead.
2014-01-26utils/doclint.py: Drop, not working anymore.Julian Andres Klode2-97/+14
Sphinx changed its pickle format some time ago, so this script does not work anymore
2014-01-26debian/rules: Use dh_sphinxdoc integrationJulian Andres Klode2-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-26doc/source/conf.py: Python 3 supportJulian Andres Klode1-0/+2
Correctly decode the process output in Python 3, so everything works if sphinx is run using python3.
2014-01-25Release 0.9.2Julian Andres Klode1-3/+30
2014-01-25debian/control: Drop python-{unittest2,debian} build depsJulian Andres Klode1-2/+0
They are not used anymore.
2014-01-25debian/control: Set Standards-Version to 3.9.5Julian Andres Klode1-1/+1
2014-01-25apt/package.py: Pass an apt_pkg.Dependency to BaseDependencyJulian Andres Klode2-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-25apt/package.py: Improved readability and documentation of ↵Michael Schaller2-3/+19
BaseDependency.__dstr().
2014-01-25tests/test_deps.py: test_dstr cleanup and fixesJulian Andres Klode1-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-23tests/test_aptsources.py: Fix regression in d95a8f2Julian Andres Klode1-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-14python/pkgmanager.cc: Do not create temporary CppPyRefJulian Andres Klode1-1/+1
Instead of creating a CppPyRef with the only purpose of destroying it, just decrement the reference count. Reported-by: cppcheck
2014-01-07apply patch from Barry Warsaw to fix autopkgtestMichael Vogt3-2/+7
2014-01-07debian/gbp.conf: Set sign-tags = TrueJulian Andres Klode1-0/+1
2014-01-07tests: Add back test_hashsums from old and updateJulian Andres Klode3-24/+27
These are automatic tests and they still work, so it's pointless not to use them.
2014-01-06debian/README.source: Drop it, it's useless bzrJulian Andres Klode1-3/+0
This contains some bzr advices. It's wrong for git, and we don't need it for git because git is popular.