Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Option for template generator to install plugins as git submodules

#1517

The new template support for the Rails generator is awesome:

http://github.com/rails/rails/co...

However, when using the "plugin" function, plugins get installed directly into the app. Sometimes that's fine, but if you want to track the edge versions of plugins, adding them as git submodules is even better. This patch adds support for that - at Pratik's suggestion :)

http://m.onkey.org/2008/12/4/rai...

Reported by Peter Cooper · December 5th, 2008 @ 11:04 AM

State: resolved
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Peter Cooper
    Peter Cooper

    Thought: Perhaps submodule support should be added to commands/plugin.rb? It has support for svn externals, but only installs plugins via git using a rather curious technique (init, pull, then wiping the .git folder) :) I can run up a patch for this.

    December 5th, 2008 @ 11:10 AM

  2. Pratik
    Pratik

    Hopefully #1436 An extensible API for plugin management will clean it up. But considering this is a very small patch, we can surely roll it in, and later change TemplateRunner to use script/plugin stuff.

    December 5th, 2008 @ 11:17 PM

  3. Repository
    Repository
    • State changed from new to resolved

    (from [9eca588bdfbb41f6b48477025d1cd8eea4a38296]) Added support for plugins to be installed as submodules with the application templater. [#1517 Option for template generator to install plugins as git submodules state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    December 5th, 2008 @ 11:17 PM