Mailinglist Archive: yast-devel (73 mails)

< Previous Next >
Re: [yast-devel] DBus/PolicyKit support in Yast in openSUSE-11.1-Alpha1
  • From: Jiri Srain <jsrain@xxxxxxx>
  • Date: Fri, 1 Aug 2008 13:31:02 +0200
  • Message-id: <200808011331.06674.jsrain@xxxxxxx>
Dne Thursday 31 of July 2008 13:05:16 Stefan Schubert napsal(a):
Martin Vidner schrieb:
Would this be possible? It would increase the acceptance of the API.
Are there other options ?
I fear otherwise no one ( with the exception of YaST) would be able to
use the SCR via DBUS.

Correct. IMO we should simplify the interface and remove the
YCP specific types, for example by
replacing
SCR::Write(.someini.crash_interval, nil)
by
SCR::Execute(.someini.crash_interval, "remove")

That would be great. Please inform me(us) when you intent to change
the interface.
Meanwhile I will try to write a WebService-Server in Ruby which use the
SCR interface.
I would like to have a demo server (.e.g. for system time setting).

Hi Stefan!

You may have a look at the workshop result, which also uses SCR in order to
set timezone.

Just for inspiration if it helps... It's in the YaST SVN in the research
branch.

Jiri


--
Regards,

Jiri Srain
YaST Team Leader
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: jsrain@xxxxxxx
Lihovarska 1060/12 tel: +420 284 028 959
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
< Previous Next >
List Navigation
Follow Ups