Defect #6324

requires_redmine_plugin should defer loading plugins if not all dependencies are met

Added by Tim Felgentreff over 2 years ago. Updated over 1 year ago.

Status:NewStart date:2010-09-07
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Unplanned
Affected version: Resolution:

Description

requires_redmine_plugin is a nice facility to track inter-plugin dependencies, however, it is useless if I do not want (or cannot) rename plugins I depend on.

I propose that plugins are deferred and loaded at a later time, if possible.
See attached patch for a proposed solution.

0001-implement-redmine-plugin-loader.patch Magnifier (3.92 KB) Tim Felgentreff, 2010-09-07 22:01

0001-implement-redmine-plugin-loader.patch Magnifier (3.88 KB) Tim Felgentreff, 2010-09-08 01:14

0001-implement-redmine-plugin-loader.patch Magnifier (3.88 KB) Tim Felgentreff, 2010-09-08 11:29

0001-Add-a-Redmine-plugin-locator-to-be-able-to-query-the.patch Magnifier (4.77 KB) Tim Felgentreff, 2010-09-08 11:54


Related issues

Related to Feature #5638: Use Bundler (Gemfile) for gem management Closed 2010-06-02

History

#1 Updated by Tim Felgentreff over 2 years ago

Remove debugger code

#2 Updated by Tim Felgentreff over 2 years ago

Also, for some reason, the patch I posted doesn't apply with git am. So if you use that, here's one that does. (No code changes)

#3 Updated by Tim Felgentreff over 2 years ago

Just found a bug with my patch where the asset directory wasn't set properly. Changed it to not replace the rails plugin locator, but use Redmine's in addition to the default one. This probably nicer, anyway, in case people want to add locators themselves. In the new implementation, the Redmine plugin locator doesn't load anything, but is only for querying the Rails plugin search path.

#4 Updated by Eric Davis over 2 years ago

  • Target version set to Unplanned

#5 Updated by Eric Davis over 2 years ago

  • Assignee deleted (Eric Davis)

I am stepping down from working on Redmine. If someone else is interesting in working on this issue, feel free to reassign it to them.

Eric Davis

Also available in: Atom PDF