Defect #6324
requires_redmine_plugin should defer loading plugins if not all dependencies are met
| Status: | New | Start date: | 2010-09-07 | |
|---|---|---|---|---|
| Priority: | Normal | Due 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.
Related issues
History
#1 Updated by Tim Felgentreff over 2 years ago
- File 0001-implement-redmine-plugin-loader.patch
added - Assignee set to Eric Davis
Remove debugger code
#2 Updated by Tim Felgentreff over 2 years ago
- File 0001-implement-redmine-plugin-loader.patch
added
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