On 05/10/2013 11:29 AM, Martin Vidner wrote:
On Tue, May 07, 2013 at 04:31:23PM +0200, Lukas Ocilka wrote:
Hi,

I'm still failing to find a Ruby library/rubygem for accessing
systemd functionality (preferably over D-BUS). Do you know of
anything useful?

I think that such a library is not needed as everything should be
fairly simple calls to the systemd DBus API. Or what use cases do
you have in mind?

Use case: YaST is written in a $LANGUAGE and I as a YaST developer don't want to care about D-BUS calls and parsing their output but I want to use some mid-to-high-level library for calling/setting-up systemd. I as a developer don't care about the actual implementation, I do care about the $LANGUAGE API.

Moreover, I as a developer would like to use an upstream project instead of writing and maintaining my own.

It seems I'm not the only one who sees the potential. Sadly, I haven't found any code yet: http://lists.freedesktop.org/archives/systemd-devel/2013-January/008304.html

That said, maybe you would be more happy with plain ruby-dbus (which
I maintain upstream) if its usage was simpler? Then ping these known
issues or file a new one:

"Objects must be introspected explicitly"
https://github.com/mvidner/ruby-dbus/issues/28
"Values returned by object proxies are always arrays"
https://github.com/mvidner/ruby-dbus/issues/30

Thanks, that might work if I decide to write and maintain my own Ruby-dbus-Systemd glue.

Bye
Lukas

--

Lukas Ocilka, Cloud & Systems Management Department
SUSE LINUX s.r.o., Praha
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to