Bug 246247

Summary: DBus interface
Product: telepathy Reporter: Daniele E. Domenichelli <ddomenichelli>
Component: nepomuk-serviceAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: 0.4.0   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 232378    

Description Daniele E. Domenichelli 2010-07-30 12:10:40 UTC
We should add some sort of DBus interface in t-i-d at least with a "quit" method, and hopefully also a "reload" method.

A very cool method could also clean the whole telepathy stuff from the nepomuk database and rebuild it.
Comment 1 Daniele E. Domenichelli 2010-09-22 18:33:49 UTC
We should also have some way to check that it is running (like we do with the query api) because if it is not running we might be using outdated data.

Also telepathy-integration-daemon needs to run only if nepomukserver is running, and crashes if nepomukserver is started after t-i-d and hangs if it is started after nepomukserver but before it is initialized.
Finally t-i-d depends on nepomukstorage and nepomukqueryservice and nepomuk implements dependencies between services

This makes me believe that we could save a lot of troubles if we implement it as a nepomuk service[1][2]



[1]http://techbase.kde.org/index.php?title=Development/Tutorials/Metadata/Nepomuk/NepomukServices
[2]http://api.kde.org/4.x-api/kdelibs-apidocs/nepomuk/html/classNepomuk_1_1Service.html
Comment 2 Daniele E. Domenichelli 2010-09-23 17:48:25 UTC
I modified of t-i-d that runs as nepomuk service and commited it in trunk/playground/network/nepomukservicetelepathy

If you want to test it, I suggest uninstalling t-i-d and telepathy-launcher-kded.
Comment 3 Daniele E. Domenichelli 2010-09-23 17:50:21 UTC
*I modified t-i-d to run as a nepomuk service and committed it in
trunk/playground/network/nepomukservicetelepathy
Comment 4 Daniele E. Domenichelli 2010-09-30 15:24:26 UTC
Fixed in r1181210.
telepathy-integration-daemon is now a nepomuk service and can nepomuk dbus interface can be used to start/stop/check status. (see http://reviewboard.kde.org/r/5449/ )