Mailinglist Archive: yast-devel (85 mails)
| < Previous | Next > |
Re: [yast-devel] ruby bindings
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Wed, 25 Jul 2007 09:53:03 +0200
- Message-id: <20070725075303.GB23562@xxxxxxxxxxxxx>
* Duncan Mac-Vicar P. <dmacvicar@xxxxxxx> [Jul 25. 2007 09:49]:
> On Wednesday 25 July 2007 09:20:24 am Klaus Kaempf wrote:
> > * Duncan Mac-Vicar P. <dmacvicar@xxxxxxx> [Jul 25. 2007 00:17]:
> > > Hi people
> > >
> > > I want to merge some changes I have in my machine to the ruby bindings,
> > > so I thought about moving them to trunk first.
> >
> > The old, hand-crafted bindings or the new swig-based ones ?
>
> UHm, I am talking about YaST, not ZYpp.
Ah, sorry for the confusion.
>
> YaST ruby bindings are handcrafted as it is only a plugin which adds support
> for loading .rb modules, importing the ruby symbols in ycp, do ycp rb type
> convertion and namespace/function/component invocation. They don't wrap APIs.
>
> The other part is a ruby module which does the same as above, but in the other
> direction. It defines a ruby module which acts as a dynamic proxy which
> allows to invoke YaST symbols.
Sounds good (and a very welcomed addition to my openwsman-yast plugin ;-))
Klaus
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
> On Wednesday 25 July 2007 09:20:24 am Klaus Kaempf wrote:
> > * Duncan Mac-Vicar P. <dmacvicar@xxxxxxx> [Jul 25. 2007 00:17]:
> > > Hi people
> > >
> > > I want to merge some changes I have in my machine to the ruby bindings,
> > > so I thought about moving them to trunk first.
> >
> > The old, hand-crafted bindings or the new swig-based ones ?
>
> UHm, I am talking about YaST, not ZYpp.
Ah, sorry for the confusion.
>
> YaST ruby bindings are handcrafted as it is only a plugin which adds support
> for loading .rb modules, importing the ruby symbols in ycp, do ycp rb type
> convertion and namespace/function/component invocation. They don't wrap APIs.
>
> The other part is a ruby module which does the same as above, but in the other
> direction. It defines a ruby module which acts as a dynamic proxy which
> allows to invoke YaST symbols.
Sounds good (and a very welcomed addition to my openwsman-yast plugin ;-))
Klaus
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
| < Previous | Next > |