Let plugins specifify dependencies and version requirements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
See forum discussion: https:/
Sometimes we have plugins that depend on the existence of other plugins, and they have to be installed after them. Or, we might have plugins that depend on other plugins (or the system itself) being at a certain version number.
We could make this happen by adding (optional) version requirements to the plugin's version.php file. It would look like this:
$config = new stdClass();
$config->version = 2014033100;
$config->release = 1.0.0
$config-
$config-
'artefact.
'notificat
);
Part of the installation process would be to check all the plugins that are queued for installation and rearrange the installation sequence if some of them are dependencies of others.
This would complement the sanity check method also proposed in https:/
tags: | added: install upgrade |
Currently the one bit of dependency management Mahara has, is the "live-in" blocktypes that live under artefacts. In Bug 1521418 I'm discussing getting rid of those. If we did that, then adding explicit plugin dependencies like this would become more important.