Hey there!

I haven't been following RubyGems dev lately, but I promised a while
back to open a discussion about making it possible for third-party
projects to extend RubyGems in a standard way. Specifically, I'm
thinking of JRuby's support for installing Java libraries from Maven
using RubyGems...

gem install mvn:org.clojure:clojure

Currently we have a few patches to our installed copy of RG 1.5.1. The
changes aren't extensive, but they're invasive where they exist. I
believe they patch two aspects: spec retrieval (to formulate a
synthetic spec from Maven data) and remote fetching (to build a gem
from the Maven artifact on-the-fly). The bulk of the Maven-specific
logic exists in separate code not part of the RG codebase, but we do
have to hook a few things.

So, I have a few questions to kick this off:

* Is there a standard, frozen, public RG API that can be used to
programmatically install gems, query specs, etc?
* Are there standard hooks other than the "defaults" files to make it
possible to extend RubyGems with additional packaging systems,
transport mechanisms, etc?

We can probably start from here and see where it takes us. Thank you!

- Charlie
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to