On Tue, 9 Oct 2012 20:15:22 -0500 Rajko <[email protected]> wrote:
> > On a factory mail list I mentioned that one can program modules for > YaaST in ycp which is known to small number of people that are busy, > and that prevents writing YaST modules by programmers that use common > languages. > > It would be interesting to know status of bindings, so that we can > advertise that as a possibility. > Hi, I can talk just about ruby bindings that I maintain and it should work without problems. For examples what is possible see https://github.com/yast/yast-ruby-bindings/tree/master/examples/ruby If you find a problem feel free to report it and I try to fix it. There is some known issues, usually we are limited what ycp can do. Limitation that is there now: - from ycp you can call only ruby class methods - optional parameters is not possible ( because ycp cannot do it ) - limited expection handling ( ycp doesn't have exception, so ruby bindings catch exception and add method with description of method ). We already have some code in ruby that is called from ycp ( see gloves or in webyast it is used ), so at least basic functionality is guaranted. And I can fix issues quite quickly, so if you find some blocker for you, I can look at it quickly. Josef -- To unsubscribe, e-mail: [email protected] To contact the owner, e-mail: [email protected]
