Re: plugin dependencies

Michael Koziarski
Wed, 19 Sep 2007 16:02:07 -0000

> Ignoring anything about requiring specific versions, couldn''t this
be
> achieved by having all of the plugins added to the load path before
> any init.rb files are evaluated (my suggestion above)? That way the
> normal Ruby "require" would seem to provide everything that you
> describe here.

This sounds like it''s probably harmless and could solve a bunch of the
different issues people have been mentioning.  If you wanted to take a
look at this, I''d be happy to apply it.

We''re definitely not going to go down the route of a massive
dependency system of our own.  Rubygems does this kind of thing
already, and perhaps we just need to go down the plugins-as-gems
approach.

Either way,  I''d be open to applying a patch to add :all to
config.plugins or the load order changing,  but that''s about it for
2.0.

--
Cheers

Koz