[yast-devel] Ruby Bindings: Examples
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've just tried all the examples from http://svn.opensuse.org/svn/yast/trunk/ruby-bindings/examples/ruby/ and it seems that none of them work. At least not for me. What's the current status of this package? What's the status of calling Ruby from YCP and vice versa? Thanks in advance Lukas - -- Lukas Ocilka, Appliances Department, SUSE LINUX s.r.o. MD: Jeff Hawn, Jennifer Guild, Alena Hendrichova -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFN9f+MVSqMdRCqTiwRAuy0AKCP8eHxxr/9wpDL3k1m0qeQ1znzawCfROSf qqz2WGl4cQlUId/vGS2zzQg= =+b9F -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Mon, Jun 13, 2011 at 02:16:12PM +0200, Lukas Ocilka wrote:
I've just tried all the examples from http://svn.opensuse.org/svn/yast/trunk/ruby-bindings/examples/ruby/ and it seems that none of them work. At least not for me.
What's the current status of this package? What's the status of calling Ruby from YCP and vice versa?
Ugh, indeed none of them ran for me either. We need to fix that. But the bindings do work, at least for webyast-status-ws.rpm which includes LogFile.rb. That module is published on DBus by YaST. https://gitorious.org/opensuse/yast-rest-service/blobs/master/plugins/status... -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dne 13.6.2011 14:32, Martin Vidner napsal(a):
Ugh, indeed none of them ran for me either. We need to fix that.
But the bindings do work, at least for webyast-status-ws.rpm which includes LogFile.rb. That module is published on DBus by YaST. https://gitorious.org/opensuse/yast-rest-service/blobs/master/plugins/status...
Thanks, that seems to work because it's kind of a standard Ruby module called from YCP (?) that doesn't use anything from the old YaST. What I need is to write a Ruby module that also uses some other parts already written in YCP (Service.ycp actually). This has to be quite transparent for the developer: You should not need to care in which language is the other code written, you should be able to call it by one standard way. Lukas - -- Lukas Ocilka, Appliances Department, SUSE LINUX s.r.o. MD: Jeff Hawn, Jennifer Guild, Alena Hendrichova -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iD8DBQFN9gWsVSqMdRCqTiwRAj3qAJ4guztI2dzUJuwJuSZ/d1MLUUmDPQCgnEVh T+GyYr8K6/I89JhxMbptPz4= =sUyP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Lukas Ocilka
-
Martin Vidner