| Age | Commit message (Collapse) | Author | Files | Lines |
|
ProblemResolver, ActionGroup
|
|
Support the replacement of mapping.has_key() for Configuration,ConfigurationPtr
and ConfigurationSub objects.
This is implemented by extending the various types with the tp_as_sequence
slot, which refers to a PySequenceMethods containing only this method.
The CnfGetAttr() function has been removed and replaced by the use of the
tp_method slot. This helps the py3k port because the previously used
Py_FindMethod() is not avilable anymore.
This completes the support of the 'in' operator in all python-apt objects,
which makes it even easier to convert python-apt-using applications to py3k
once python-apt supports it, as 2to3 converts 'm.has_key(k)' to 'k in m'.
Also finalize the types in apt_pkgmodule.cc and add the new 'key in conf'
description to the documentation.
|
|
Replace support for file objects with a more generic support for any object
providing a fileno() method and for file descriptors (integers).
This also helps us to port to Python 3, where the previously used PyFile_
functions are not available anymore.
|
|
By using tp_methods and tp_getset instead of a function for tp_getattr,
the resulting object is easier to understand and access to attributes and
methods is faster.
It also helps the port to Python 3, where Py_FindMethod does not exist
anymore.
|
|
Support the replacement of mapping.has_key() for sections, and
update the usage in apt/package.py and apt/debfile accordingly.
This is implemented by extending the TagSecType with sequence
methods, but only settings the contains method there.
The TagSecGetAttr() function has been removed and replaced by
the use of the tp_methods slot.
|
|
- when setting a alternative rootdir, read the
config from it as well
* python/configuration.cc, python/apt_pkgmodule.cc:
- add apt_pkg.ReadConfigDir()
|
|
|
|
|
|
|
|
|
|
- add tests for the hashsum code
|
|
- fix bug in hashsum calculation when the original string
contains \0 charackters (thanks to Celso Providelo and
Ryan Hass for the test-case) LP: #243630
|
|
|
|
- add InstState{Ok,ReInstReq,Hold,HoldReInstReq} constants
* apt/cache.py:
- add reqReinstallPkgs property that lists all packages in
ReInstReq or HoldReInstReq
|
|
- 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)
|
|
branch
* update build-depends
|
|
- added pkgCache::State::PkgCurrentState enums
|
|
- *cough* expose the new PkgActionGroup stuff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Author: mdz
Date: 2003-07-23 02:20:24 GMT
Initial support for accessing source package data
|
|
Author: jgg
Date: 2002-01-08 06:53:04 GMT
Changed include paths
|
|
Author: jgg
Date: 2001-04-06 05:30:09 GMT
It makes packages, sort of
|
|
Author: jgg
Date: 2001-02-23 05:46:02 GMT
Alfredo's no_proxy patch
|
|
Author: jgg
Date: 2001-02-20 06:32:01 GMT
Initial revision
|