[jifty-devel] plugin cleanups

Andrew Hanenkamp sterling at hanenkamp.com
Tue Mar 11 09:09:08 EDT 2008

I agree that the plugin directory is getting a little burdensome,
particularly since this means answering more and more questions each time a
new one is added regarding the necessary requirements and dependencies.
Therefore, I agree that they should be moved out of the regular installation

The plugins/ directory might be the right place for that. The other
alternative would be to pull them off into separate packages completely.
This would make them separate entities on CPAN and affords all the pros
(better author credit, a separate release schedule, separate support
options) and cons (not available with the central distribution, yet another
CPAN module to install, releases that get out of sync) that implies. We
could also do a little of both.

In any case, I think CLK is right: we need some general policy about what
plugins are core (lib/Jifty/Plugin, share/plugin), what plugins are included
with the Jifty distribution but are installed separately (plugins/), and
what plugins should be distributed separately altogether. I've been placing
my plugins in core or included since that's what I was encouraged to do from
the start, but I'd certainly distribute them separately if it would be


On 3/11/08, Chia-liang Kao <clkao at bestpractical.com> wrote:
> Hi,
> with the increasing numbers of jifty plugins being committed to the
> repository, I think it's a good idea to come up with some guidelines for
> maintaining plugins, and more importantly, keep the core jifty modules
> slim.
> right now, lots of modules (33) are added directly under
> lib/Jifty/Plugin and share/plugins/.  This approach makes it a lot
> easier to test and deploy, but also creates problems like messy optional
> dependencies.  there are a few other modules under plugins/, which are
> harder to install (and takes extra effort to test against the in-tree
> jifty).
> I think the plugins/ approach is probably more correct, as it makes it
> possible to release them separately and list plugin-specific
> dependencies.  But to make it as easy as putthing all things under lib
> to test and install, we need:
> - in toplevel Makefile.PL, takes an argument listing all plugin
> directories we want to test and install
> - make the toplevel makefile.pl call the plugins' makefile.pl with
> proper predefined harness_perl_switches to include the lib in jifty tree.
> - optionally a shortcut arg in makefile.pl to include core modules, all
> modules under plugins/.
> - make the "test" and "install" targets call the same targets for plugins.
> What do people think?
> Cheers,
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jifty.org/pipermail/jifty-devel/attachments/20080311/8eb158ef/attachment.htm 

More information about the jifty-devel mailing list