| Age | Commit message (Collapse) | Author | Files | Lines |
|
- when setting a alternative rootdir, read the
config from it as well
* python/configuration.cc, python/apt_pkgmodule.cc:
- add apt_pkg.ReadConfigDir()
|
|
|
|
|
|
|
|
- make sure to set the defaulttimeout back to the
original value (in getChangelog(), LP: #314212)
|
|
- when running with the rootdir option, run
InitConfig() again to ensure that the config
from the rootdir is read, not from the host
(lp: #243550)
|
|
|
|
- use iso_3166.xml instead of iso_3166.tab
* debian/control:
- add Recommends to iso-codes (for iso_3166.xml)
|
|
|
|
- remove the future warning
|
|
|
|
- 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
|
|
- Almost complete cleanup of the code
- Remove inconsistent use of tabs and spaces (Closes: #505443)
- Improved documentation
* apt/debfile.py:
- Drop get*() methods, as they are deprecated and were
never in a stable release
- Make DscSrcPackage working
* apt/gtk/widgets.py:
- Fix the code and document the signals
* Introduce new documentation build with Sphinx
- Contains style Guide (Closes: #481562)
- debian/rules: Build the documentation here
- setup.py: Remove pydoc building and add new docs.
- debian/examples: Include examples from documentation
- debian/python-apt.docs:
+ Change html/ to build/doc/html.
+ Add build/doc/text for the text-only documentation
* setup.py:
- Only create build/data when building, not all the time
- Remove build/mo and build/data on clean -a
* debian/control:
- Remove the Conflicts on python2.3-apt, python2.4-apt, as
they are only needed for oldstable (sarge)
- Build-Depend on python-sphinx (>= 0.5)
* aptsources/distinfo.py:
- Allow @ in mirror urls (Closes: #478171) (LP: #223097)
* Merge Ben Finney's whitespace changes (Closes: #481563)
* Merge Ben Finney's do not use has_key() (Closes: #481878)
* Do not use deprecated form of raise statement (Closes: #494259)
* Add support for PkgRecords.SHA256Hash (Closes: #456113)
|
|
In accordance with the latest change of the guidelines, mixedCase names
may not be used anymore for new modules.
|
|
|
|
|
|
The exception for mixedCase names is now only granted for modules
introduced prior to version 0.7.9 and changes thereto.
Modules which are listed as deprecated in the documentation of Python 2.6
should be avoided.
has_key() may only be used on TagSection objects.
|
|
|
|
|
|
|
|
#494259)
|
|
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'].
|
|
|
|
|
|
|
|
|
|
This changes our style to match the Python documentation.
|
|
There is no description for MetaIndex yet, but this will be added soon.
|
|
Not documented: MetaIndex PackageIndexFile PkgManager PkgRecords PkgSourceList
PkgSrcRecords ProblemResolver TagFile TagSection (9)
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We now build the extension first, and then the documentation. Also add
the text docs.
|
|
The new documentation is built using sphinx (>= 0.5) [other versions may work too,
but let's be safe].
|
|
Sphinx autodoc requires reStructuredText in docstrings, we format the
list of signals with light markup.
|
|
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.
|
|
Everything is now documented, we follow PEP 8 (except for naming conventions),
etc.
|
|
|
|
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.
|
|
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...
|
|
Use @property instead of x = property(x), where x is the function name.
|
|
|
|
- fix too restrictive mirror url check
* aptsources/distro.py:
- only add nearest_server and server to the mirrors if
they are defined
|
|
|
|
|
|
|