Mailinglist Archive: yast-devel (246 mails)

< Previous Next >
Re: [yast-devel] WebYaST: Vendor customization
  • From: Jiří Suchomel <jsuchome@xxxxxxx>
  • Date: Thu, 13 Aug 2009 15:37:12 +0200
  • Message-id: <200908131537.12566.jsuchome@xxxxxxx>
On Thursday 13 of August 2009 15:31:27 Klaus Kaempf wrote:
* Jiří Suchomel <jsuchome@xxxxxxx> [Aug 13. 2009 14:50]:

So far, I'm using yml file (after Klaus' recommendation) as it is easy to
parse and human readable. See attached examples: one is for list of maps
(slightly better readable I assume), the second for map of maps (faster
access). The file is currently expected under /etc/YaST2 directory.

Technically, config file is parsed from YaPI which is called from
rest-service, so it is not bound to webYaST usage and theoretically could
be used together with YaPI from perl scripts.

Ruby provides nice support for yaml files, so there's no need to
involve YaPI here.

The reason to involve YaPI is different: SCR layer runs as root after user
passes the permissions checks, so it has rights to access the scripts.


Jiri Suchomel

SUSE LINUX, s.r.o. e-mail: jsuchome@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Praha 9, Czech Republic
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >