ruby-dbus icon indicating copy to clipboard operation
ruby-dbus copied to clipboard

Missing support for org.freedesktop.DBus.ObjectManager

Open joseivanlopez opened this issue 2 years ago • 2 comments

It would be nice to support org.freedesktop.DBus.ObjectManager. It would be helpful for implementing object trees in D-Installer, for example for questions, see https://gist.github.com/joseivanlopez/a7568408a6bf9defcaa7a92faea9654d.

joseivanlopez avatar Apr 08 '22 16:04 joseivanlopez

OK, I've had a look at the library that will be first to use this, cockpit.js for D-Installer.

DBusClient.watch says that ObjectManager is not necessary:

Internally these watches work well with code that implements the ObjectManager portion of the DBus specification. If no ObjectManager implementation is available, the watch falls back to using DBus Introspection along with the usual PropertiesChanged signal.

But I guess we will have to test it to be sure.

mvidner avatar Apr 11 '22 12:04 mvidner

Service side of ObjectManager is implemented in PR #122 , v 0.19.0

Client side property caching, including what's covered by OM, is still missing

mvidner avatar May 01 '23 16:05 mvidner