Patch #14402
closed
Plugin migration directory should use plugin directory
Added by Florian Schwab over 11 years ago.
Updated over 9 years ago.
Description
Currently the plugin migrate directory is fixed to "plugins/<plugin_name>/db/migrate" but the plugin API allows setting a custom directory.
I attached a patch to use the plugin directory instead. Because the default value for the plugin directory is "plugins/<plugin_name>" this should be compatible with existing plugins.
Files
- Related to Patch #13927: Reduce coupling between plugins and the "plugins/" directory added
- Target version set to 3.1.0
Florian Schwab wrote:
Currently the plugin migrate directory is fixed to "plugins/<plugin_name>/db/migrate" [...]
Indeed, source:/trunk/lib/redmine/plugin.rb@14359#L428.
[...] but the plugin API allows setting a custom directory.
Right, which is implemented in r11766 and first shipped with Redmine 2.4.0.
I attached a patch to use the plugin directory instead. Because the default value for the plugin directory is "plugins/<plugin_name>" this should be compatible with existing plugins.
Can this little fix still be included in 3.1.0?
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
Also available in: Atom
PDF