[libvirt] Maintenance of ruby bindings

Hi, Is there anybody looking after the Ruby bindings? Are you still taking patches? It seems quite out of date wrt. the current interface. Rgs Neil Wilson

On Wed, Jun 30, 2010 at 03:37:44PM +0100, Neil Wilson wrote:
Hi,
Is there anybody looking after the Ruby bindings? Are you still taking patches? It seems quite out of date wrt. the current interface.
There isn't any active maintainer for them, so any volunteers to submit patches, or become a regular maintainer are welcome :) Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

On 06/30/10 - 03:56:31PM, Daniel P. Berrange wrote:
On Wed, Jun 30, 2010 at 03:37:44PM +0100, Neil Wilson wrote:
Hi,
Is there anybody looking after the Ruby bindings? Are you still taking patches? It seems quite out of date wrt. the current interface.
There isn't any active maintainer for them, so any volunteers to submit patches, or become a regular maintainer are welcome :)
Actually, not quite true. David Lutterkort and I decided to transfer ownership of them over to me. I've done most of the work to update the bindings to the latest; I'm still testing out a last few things, and I'll make an announcement in the next week or so with the new version of the bindings. -- Chris Lalancette

On Wed, 2010-06-30 at 15:56 +0100, Daniel P. Berrange wrote:
There isn't any active maintainer for them, so any volunteers to submit patches, or become a regular maintainer are welcome :)
Shifting the archive across to git would help! What do you use to auto-generate the python interface? I was wondering whether a similar approach could be used to generate a Ruby interface via the Foreign Function Interface library (FFI - http://wiki.github.com/ffi/ffi/) Somebody has created an example by hand at http://github.com/scalaxy/ruby-libvirt but that seems like a lot of work to maintain. Anyway for a start I've pushed the current mercurial tip up to github at http://github.com/NeilW/libvirt-ruby Rgs Neil

On Wed, Jun 30, 2010 at 04:21:53PM +0100, Neil Wilson wrote:
On Wed, 2010-06-30 at 15:56 +0100, Daniel P. Berrange wrote:
There isn't any active maintainer for them, so any volunteers to submit patches, or become a regular maintainer are welcome :)
Shifting the archive across to git would help!
Yes, it would be preferable to have them on the main libvirt GIT server alongside all the other bindings. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

On 06/30/2010 11:21 AM, Neil Wilson wrote:
On Wed, 2010-06-30 at 15:56 +0100, Daniel P. Berrange wrote:
There isn't any active maintainer for them, so any volunteers to submit patches, or become a regular maintainer are welcome :)
Shifting the archive across to git would help!
What do you use to auto-generate the python interface? I was wondering whether a similar approach could be used to generate a Ruby interface via the Foreign Function Interface library (FFI - http://wiki.github.com/ffi/ffi/)
I looked at moving augeas over to ffi, and it was a very nice interface. We are using JNA on the java side.. same deal. -- bk

On 06/30/10 - 04:21:53PM, Neil Wilson wrote:
On Wed, 2010-06-30 at 15:56 +0100, Daniel P. Berrange wrote:
There isn't any active maintainer for them, so any volunteers to submit patches, or become a regular maintainer are welcome :)
Shifting the archive across to git would help!
What do you use to auto-generate the python interface? I was wondering whether a similar approach could be used to generate a Ruby interface via the Foreign Function Interface library (FFI - http://wiki.github.com/ffi/ffi/)
I'm not familiar with FFI, but the current way that the python functions are generated are with a python script that parses an XML document describing the functions, and then generating a binding based on them. However, there are lots of exceptions that have to be hand-coded, and every time I have to touch that generator I come away crying. Given my experience with writing the ruby bindings, I think it would probably be shorter (and easier to understand) if we created the python bindings by hand. In any case, that is mostly besides the point. I already have a git repo setup on libvirt.org that I've pushed my experimental patches to, and I'm in the process of solidifying this release and getting it out. I'll make sure to CC you on the announcement once I'm confident in the bindings. -- Chris Lalancette
participants (4)
-
Bryan Kearney
-
Chris Lalancette
-
Daniel P. Berrange
-
Neil Wilson