Dne 23.5.2016 v 20:43 Josef Reidinger napsal(a):
JSoN interface sounds good to me. I think it is good idea. As I said on IRC DBuS or CLI interface is good for yast.
I'd avoid DBus unless really needed, you need some background daemon to handle it and DBus might not be available.
In general any stable format like XML, JSoN or YAML is good for YaST as it is easy to parse with ruby and easy to construct.
All these formats are supported directly by Ruby stdlib, i.e. no need for external library. Personally I'd prefer JSON or YAML. XML is too heavyweight IMHO and tends to break easily (you need to maintain the schema), JSON or YAML are more "stable" and easier to parse/construct. -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org