Re: [Tracker] Migrating tracker from HAL to DeviceKit



On Wed, 2009-04-01 at 10:04 -0400, Jamie McCracken wrote:
Hi richard,

ïTracker does indeed use HAL for power management and for detecting
removable storage

As HAL support is optional (not all platforms have HAL like solaris) it
would probably make sense to switch to a raw dbus solution 

the only sang at this stage is which distro's use Device kit? I dont
believe jaunty uses it?

Ergo at this point in time, it might be best to see if device-kit is
activated on dbus and use it if its there else fallback to HAL.

In the long run we can then remove HAL support

martyn, do you agree?

I think we are at the point of having to care about the vstore branch[1]
too. But if the changes aren't very drastic then changes to the HAL
parts of trunk will or should merge into vstore easily. It was not an
area of focus for vstore, luckily.

Even the new Volume support (which I just made a blog item about[2])
will probably not suffer much, as it was all done on top of the lower
levels of the HAL support.

Note that I recommend that we all start caring about vstore because
otherwise we'll as a team just have more work when we start merging
vstore to trunk. Which, I understood, wont be very long from now.

For example if DeviceKit is not something for tomorrow, then unless it's
done in an easily to-vstore-mergable way Richard's code might not even
get released very often. Which would be a waste of Richard's time.

[1] http://git.codethink.co.uk/?p=tracker;a=shortlog;h=vstore
[2] http://pvanhoof.be/blog/index.php/2009/04/01/volume-support-in-experimental-tracker


Cheers and great to see DeviceKit people sniffing in our codez!

-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be




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