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@suse.cz Lihovarska 1060/12 tel: +420 284 028 959 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz