[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

MediaRepo: help needed in Packagekit


I started an effort to add a feature to fedora


I was told by David Zeuthen that the API of DeviceKit-disks is not yet stable
he advised me to use GIO (GVolumeMonitor)

so I made my patch implementation independent we can use HAL or DeviceKit or GIO

the only thing need to be changed in different implementations is
from yumMediaManager import MediaManager
should be
from yumMediaManagerHAL import MediaManager
from yumMediaManagerGIO import MediaManager

Richard Hughes had accepted my patch


as you can see in that commit

there is no implementation

but I made a HAL implementation, you can find it in PK mailing list

I know hal is to be dropped, the hal code it's just a placeholder

I want some to help me having a GIO version and a deviceKit version of

can anybody tell me what is the command line in deviceKit that works
like this HAL

dbus-send --system --print-reply --dest=org.freedesktop.Hal
org.freedesktop.Hal.Manager.FindDeviceByCapability string:volume.disc

or a simple hello world GIO segmetn in python that just list devices ..etc.

any kind of help is welcome

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]