Hi Pj,

I can't think of any examples off hand which automatically plug themselves
into the workflow, I'm not even sure that Bundler does the right thing with
the gems loading them automatically?

What exactly did you have in mind? I do rather like that usually installing
a plugin means it's in the Gemfile *and* in the Capfile/deploy.rb, but I
don't have any dogmatic preference one way or another, because mostly I
*think* they nearly all (?) require a loader-line in the Cap config itself.

Not sure that helps, but hit us back, and we can talk about it.

Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667

On 18 March 2015 at 00:03, Pj Kelly <[email protected]> wrote:

> Hello All,
>
> I'm wondering if anyone is aware of or has opinions on how capistrano
> plugins should be setup.  The specific scenario I'm thinking about is
> whether plugins should automatically add their functionality in via
> callbacks, or leave it to the user of the plugin to call tasks defined
> where they see fit.  Personally I can see both sides of the argument -
> having a plugin be plug-and-play by just requiring it in your Capfile is
> super nice, however having the flexibility to call it wherever makes sense
> in your particular deployment flow is also nice.
>
> I'm aware that you can easily override already defined tasks if need be,
> but just curious if the maintainers of Capistrano have an opinion on how
> plugins should be authored.
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/ae146a74-8e3f-4ebb-b5ee-676f5c52c393%40googlegroups.com
> <https://groups.google.com/d/msgid/capistrano/ae146a74-8e3f-4ebb-b5ee-676f5c52c393%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CAN_%2BVLXye9VS1JCRPfD-SNcmETJzHXg5NA1UTPYN2aOm-PCHww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to