Software Management/CIM

From openSUSE

< Software Management(Difference between revisions)
Revision as of 09:57, 9 December 2008
Haass (Talk | contribs)

� Previous diff
Current revision
Haass (Talk | contribs)

Line 2: Line 2:
=Introdution= =Introdution=
-cmpi-pywbem-software is a set CIM-Providers for PackageKit.+cmpi-pywbem-software is a set of CIM-Providers for PackageKit.
It includes a provider for: It includes a provider for:
* Updates * Updates
OMC_PackageKit_Update OMC_PackageKit_Update
 + This provider lists and installs available and needed updates for the system.
* Repositories * Repositories
OMC_PackageKit_Repository OMC_PackageKit_Repository
 + This provider lists all declared repositories.
 + It provides also methods to enable/disable and refresh the repositories.
* Packages * Packages
OMC_PackageKit_Package OMC_PackageKit_Package
 + This provider lists, installs or removes all available packages.
=How to use it= =How to use it=
Line 16: Line 20:
Afterwards you will find the provider within the root/suse namespace. Afterwards you will find the provider within the root/suse namespace.
 +
 +==Constraints==
 +* When invoking the refresh method of the repository-provider all repos will be refresed, not only the selected one (constraint of PackageKit-API).
 +* A package/update with a license can not be installed as also a repo with an unknown key can not be refreshed since the signal-handling in the providers isn't implemented, yet.
 +
 +==Hints==
 +Be aware that the user which runs the CIM-server has to have all needed PackageKit-policies (PolicyKit) otherwise you'll get an authorization exception.
=How to get it= =How to get it=

Current revision


Contents

Introdution

cmpi-pywbem-software is a set of CIM-Providers for PackageKit. It includes a provider for:

  • Updates
 OMC_PackageKit_Update
 This provider lists and installs available and needed updates for the system.
  • Repositories
 OMC_PackageKit_Repository
 This provider lists all declared repositories.
  It provides also methods to enable/disable and refresh the repositories.
  • Packages
 OMC_PackageKit_Package
 This provider lists, installs or removes all available packages.

How to use it

When installing the provider via the rpm-packages they are already registered otherwise you have to call

   cmpi-provider-register -d <directory with the providers>

Afterwards you will find the provider within the root/suse namespace.

Constraints

  • When invoking the refresh method of the repository-provider all repos will be refresed, not only the selected one (constraint of PackageKit-API).
  • A package/update with a license can not be installed as also a repo with an unknown key can not be refreshed since the signal-handling in the providers isn't implemented, yet.

Hints

Be aware that the user which runs the CIM-server has to have all needed PackageKit-policies (PolicyKit) otherwise you'll get an authorization exception.

How to get it

Packages

It will be included in SLE11. Otherwise you will find the latest packages in the OBS home-project of haass.

Developers

For anonymous checkout:

   git clone git://git.opensuse.org/projects/cmpi-pywbem-software.git

If you have write access to our repository:

   git clone git@git.opensuse.org:projects/cmpi-pywbem-software.git