Base class for distribution specific functionality.
This class defines the API available to update-manager’s core.
Implementations must be subclasses of this base class.
Called only when hasDistUpgradeCheck returns True.
This method should do the actual check (MetaRelease functionality).
Optionally returns the name of a bug script to use for bug reporting.
Starts a changelog fetch thread and calls the given handler object accordingly.
Parameters: |
|
---|
Returns the distribution name.
Returns an update category ID for the package referred to by package_upd_info.
Parameters: | pkg_info – UpdateManager.Backend.PackageInfoBase object. |
---|---|
Returns: | Update category ID |
Returns an update category name for the update category id specified.
Parameters: | update_category_id – Update category id |
---|
Define whether this implementation can check for distribution upgrades (MetaRelease functionality).
Enum:
SECURITY = 0
RECOMMENDED = 1
DEFAULT = 2
PROPOSED = 3
BACKPORT = 4
THIRDPARTY = 5
A mapping of update category identifiers to their (localized) names. See UPDATE_CATEGORY for details.