Mailinglist Archive: yast-devel (66 mails)

< Previous Next >
Re: [yast-devel] YaST Runlevel in Ruby
On Wed, Jun 19, 2013 at 11:17 AM, Lukas Ocilka <lukas.ocilka@xxxxxxxx> wrote:
- I strongly suggest that you do not call systemctl from the module,
this is the most important part, please use the systemd dbus api for YAST.


I've thoroughly went through all the pros and cons and I will not use D-BUS
API as it's too low level and I would need to create special high-level API
(library) to be used from YaST, plus I would need to maintain it.

Using D-BUS API is similar to creating sockets and all the handling just to
download a file if I could simply use Net::HTTP.get instead.

Anyway, if there was a library (that could be used from Ruby) using D-BUS
API, I would use it.

Do you mean systemd specific bindings?
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups