Begin forwarded message:
> > On Monday 22 August 2011, 12:57:35, Anders F Björklund wrote: >> Tobias Gerschner wrote: >>> What's the state of ruby bindings in rpm5? The last discussion I > remember >>> was centered around the absence of an usable API for ruby >= 1.9. >> >> There are no ruby bindings in rpm5, only ruby embedding... >> (the old bindings were GPL, rather than LGPL like python) >> >> And Ruby upstream support for embedding is still very poor. > > Sorry for tuning in late. In current RPM-5.4 and RPM-HEAD there are Ruby > bindings which are not completeley defunct. Which means that one can fire up > a > Ruby 1.9 interpreter, do a "require 'rpm'" and e.g. parse and build a spec > file. That was my initial hacking goal. > > Yes, embedded Ruby is rather poor and a completeley different matter, for > many > reasons. One of it is that lack of MRI Ruby to cleanly cope with more than > one > interpreter instance at a time. Other reasons include the varity of Ruby > interpreters currently in existance. E.g., Rubinius offers a IMHO much > cleaner > API, but even if I chose to allow embedded ruby only with Rubyinius, what > about the bindings...? > > Please test the bindings code in current RPM-HEAD/-5.4.x. What's the actual > bug? What feature is missing? > > And it's also true that I never bothered to stringently persue Ruby bindings > with a well-defined ROADMAP etc. Sorry. > > Eric > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQIcBAEBAgAGBQJOXWmnAAoJEIXD2TZ1epVBx2kQAJMvWzqkP/GYic2nMh/811vI > c5iljvvRoU2b4eWxPSWWJoqpAhZx3n553FIicJZMdk47YPcXmxf94jZhpU4rQ8kr > 8do+18oW1HOQ9IO9nb4gyki3zDWHaP4F9vKfH09ltvdvHTO6s3nr4W11aXJi0DB+ > iEsxwfinES4frMBKQXom7ujMWxgzeotAE/ObFmC5GTtBc3Ndokofz1zoT+K6vR2o > T9q7+V86KRUzA3XpTTx2uOloi2j42DWlSWR22esbeI4zB5lE+BaAox4wU0EeQcYW > Vj0jGs8fA/1lQ7w1//Or3krs8ekhqvigbaTOgSNYCg4J7xQcmNgaajX8E1ILIbbo > mnnw8bMUQDB97EUZ8iL9LoChXPfsUJcMOemATejZBBZmrjAZj6vvlG0reLiSTc7R > WOV/la9+fOW0jWwd9t+X7fNDjDGzxX9UyQHq+7mRDP8ETh1v5WNUENItUkRV2fQP > 8RM+DK9t4PgfIjNZCr093qLWBy8uWcT/pGWnu2x3C+18qwzRrTC12334ucgxWO5b > nmI/ChYZbM7lxNlfWN6CQAj3mibosHhSuudY9Amoi+ufa8n8WtFIVmTYw8fYtBbD > eHBoRJqABhKKw6XCM2kGCY39jGmRVC8vbETUU9mQGaBpb05abGHdgejWCOFPMJKd > AZF+yOmaPmHMtf+0tfl0 > =V/dC > -----END PGP SIGNATURE----- ______________________________________________________________________ RPM Package Manager http://rpm5.org Developer Communication List rpm-devel@rpm5.org