Re: [Module::Build] [RFC] [PATCH] Action plugins
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-12-03 00:18:22
|
On 11/30/2003 9:15 AM, Randy W. Sims wrote: > > This is a prototype and contains some no no's, but it hopefully provides > enough to comment on. This is about as far as I can go without being > invasive, and I wanted to get feedback before before proceeding. It is a > prototype, so if you think it should be thrown out, that's fine. > Otherwise, I'll start cleaning it up and either turn it over to you if > you want, or continue (I'm a little reluctant to do something as > invasive as this will be and create the plugin API, but I'm more than > willing to help:). > > Hope this is helpfull. > > Randy. Well, no one is commenting. That's not good. Perhaps I should list some of the benefits of this plugin architecture: * Users can write and distribute their own custom actions. * Module authors can simplify their Build.PL files by writing their custom actions as plugins, placing them in 'inc/Module/Build/Action/' and adding a 'use lib qw(inc);' before they 'use Module::Build'. * Sites can customize installs in a similar manner as above by setting the PERL5LIB environment variable to point to their custom overrides of builtin actions. * Action builders can make it extremely easy to create simple actions. * Allows for an elegant solution to the current architectural issues regarding compiling/linking in Module::Build. (This is my primary goal in creating this prototype.) * Simplifies Module::Build, providing better encapsulation for its different functional areas. Ken, should I drop this? I would like to help where I can. M::B is a project I believe very strongly in, but someone needs to tell me where (or if) I can help. I've got a short list of things I'd like to contribute: plugins, compiler stuff, adding trace info (like make --debug), nested builds, h2xs M::B support, support for building modules outside the source directory. But this is your project, and I don't want to get in the way. Just tell me where to go. ;) Regards, Randy. |