summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-11* doc/source/apt_pkg/cache.rst: Add the last classesJulian Andres Klode1-6/+435
There is no description for MetaIndex yet, but this will be added soon.
2009-01-10* doc/source/apt_pkg/cache.rst: Add PkgAcqFile, AcquireItem, and ConfigurationJulian Andres Klode1-0/+175
Not documented: MetaIndex PackageIndexFile PkgManager PkgRecords PkgSourceList PkgSrcRecords ProblemResolver TagFile TagSection (9)
2009-01-10* doc/: Heavily improve documentationJulian Andres Klode7-14/+655
Complete the documentation of pkgCache, pkgDepCache, pkgCache::Package. Introduce new documentation for pkgCache::Version, pkgCache::Dependency, pkgCache::PackageFile, pkgcache::Description. There is also an example now which checks for missing dependencies.
2009-01-10* aptsources/distinfo.py: Allows numbers in urlsJulian Andres Klode1-1/+1
2009-01-10* also close LP: #223097Julian Andres Klode1-2/+2
2009-01-10* aptsources/distinfo.py: Allow @ in mirror urls (Closes: #478171)Julian Andres Klode2-2/+4
2009-01-09Remove inconsistent use of tabs and spaces (Closes: #505443)Julian Andres Klode1-0/+1
2009-01-09Contains style Guide (Closes: #481562)Julian Andres Klode1-0/+1
2009-01-09* doc/source/coding.rst: Add the jak branchJulian Andres Klode1-0/+7
2009-01-09* setup.py, doc/source/conf.py: Fix building by adding build/lib* to PYTHONPATHJulian Andres Klode7-10/+27
We now build the extension first, and then the documentation. Also add the text docs.
2009-01-09* Introduce the new documentation and add 0.7.9~exp2 to changelog.Julian Andres Klode29-52/+1453
The new documentation is built using sphinx (>= 0.5) [other versions may work too, but let's be safe].
2009-01-09* apt/gtk/widgets: Reformat docstrings a bit, for sphinxJulian Andres Klode1-41/+18
Sphinx autodoc requires reStructuredText in docstrings, we format the list of signals with light markup.
2009-01-09* apt/debfile: Fix and cleanupJulian Andres Klode1-204/+198
This fixes various problems. Most things should work now. I have also removed the get*() methods, because we have not had these methods in a stable python-apt release yet, and they are deprecated.
2009-01-09* apt/gtk/widgets.py: Fix it and clean it up.Julian Andres Klode1-95/+164
Everything is now documented, we follow PEP 8 (except for naming conventions), etc.
2009-01-09* apt/cdrom.py: Cleanup, support sources.list.dJulian Andres Klode1-21/+64
2009-01-09* apt/package.py: Cleanup, move Origin to module-level, enhance RecordJulian Andres Klode1-165/+277
This commit includes multiple changes: First of all, the code has been adjusted to follow PEP 8 and the documentation has been improved. Secondly, the Origin class has been moved out of the Package class into the module, and its __repr__ has been changed. Thirdly, the Record class has been enhances with some new methods, and the attribute containing the string has been removed, as we can reproduce the string using the TagSection in the _rec attribute. The methods added are __contains__(), __iter__(), get() and iteritems(). Fourthly, the method getChangelog() has been fixed in some areas, especially in the exception handling. The method/property installedFiles() is now enclosing its file access into a try/finally block. All the testing code has been moved into a _test() function for now, until the new testing functionality is implemented.
2009-01-09* apt/progress.py: CleanupJulian Andres Klode1-148/+204
This is the first part of a cleanup series. The code has been changed in terms of indentation at some places, the lines have all been shortened to 79 chars or less, everything has been documented, the (non-functional) testing code has been removed, and more...
2009-01-09* apt/debfile.py, apt/package.py: Use @propertyJulian Andres Klode2-46/+47
Use @property instead of x = property(x), where x is the function name.
2009-01-09Cleanup: Remove whitespace at the end of line in all python codes.Julian Andres Klode29-196/+196
2008-12-15merge mvo branch, upload to experimentalMichael Vogt14-191/+1356
2008-12-15* setup.py:Michael Vogt5-3/+40
- build html/ help of the apt and aptsources modules into /usr/share/doc/python-apt/html
2008-12-11 - new method "getRequiredDownload()"Michael Vogt2-0/+13
- new method "additionalRequiredSpace()"
2008-11-24gtk.events_pending() -> glib.main_context_default().pending()Michael Vogt1-11/+10
2008-11-24change naming for the gobjects to match glatzors branchMichael Vogt2-18/+37
2008-11-24merged from the consolidation-bracn (with some modificatins)Michael Vogt12-189/+1286
2008-11-24merge from debianMichael Vogt2-2/+16
2008-11-24merge from the mvo branchMichael Vogt23-69/+355
2008-11-10add missing lpiaMichael Vogt1-0/+10
2008-11-10fix missing base uris for *-security and powerpcMichael Vogt1-4/+8
2008-11-10* aptsources/distro.py:Michael Vogt5-7/+115
- 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-11-07* Non-maintainer upload.Michael Vogt3-16/+75
* data/templates/Debian.info.in: Set the BaseURI to security.debian.org for lenny/updates, etch/updates and sarge/updates. (Closes: #503237) * data/templates/Debian.info.in: - add 'lenny' template info (closes: #476364) * aptsources/distinfo.py: - fix template matching for arch specific code (LP: #244093)
2008-11-07python/acquire.cc (GetPkgAcqFile): Support DestDir and DestFilename.Michael Vogt5-17/+15
2008-11-03* data/templates/Ubuntu.info.in:Michael Vogt2-0/+57
- updated
2008-10-22* python/metaindex.ccMichael Vogt2-0/+5
- fix crash when incorrect attribute is given
2008-09-18fix typoMichael Vogt1-1/+1
2008-09-18* apt/package.py:Michael Vogt2-2/+5
- do not return None in sourcePackageName (LP: #123062) - add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants
2008-09-18add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constantMichael Vogt2-1/+7
2008-09-18* python/apt_pkgmodule.cc:Michael Vogt4-0/+22
add "SelState{Unknown,Install,Hold,DeInstall,Purge}" constants - fix detection of cdrom sources and add test for it
2008-09-18* tests/test_aptsources.py:Michael Vogt2-23/+31
- make the test work again
2008-08-30Remove logging statement. (Was c&p error from PackageKit)Sebastian Heinlein1-2/+1
2008-08-30Reformat the package description according to the Debian PolicySebastian Heinlein1-12/+28
2008-08-29Push train workSebastian Heinlein3-10/+10
2008-08-29debfile: fix a silly error that made me some headache and returned the ↵Sebastian Heinlein1-1/+1
depends in getConflicts()
2008-08-29Remove not used imports in debfileSebastian Heinlein1-3/+2
2008-08-28Fix: not installed files can have installed filesSebastian Heinlein1-2/+0
2008-08-27For emptSebastian Heinlein1-4/+7
2008-08-26Merge with the gtk branch: This brings gobject based progresses and a GTK ↵Sebastian Heinlein1-0/+372
widget that provides progressbar, status and terminal.
2008-08-26Merge with consolidate branchSebastian Heinlein8-512/+512
2008-08-26Rename gtk to widgets. Replace the GDebi progresses by gobject based ones ↵Sebastian Heinlein2-125/+372
and add GtkAptProgress as a general progress providing widget.
2008-08-25Merge with mvoSebastian Heinlein5-4/+15