[geeklog-devel] Autoinstall plugins and dependencies
joe at ThrowingDice.com
Sat Oct 3 15:18:58 EDT 2009
At 02:46 PM 10/3/2009, Randy Kolenko wrote:
>I thought about having the dependency idea as well as you noted.
>That, in fact, could be part of the return array in the
>This way the autoinstaller can detect if those specific plugins are
>installed or not and then bail out of the install with messages
>signifying those plugins are not installed.
>Perhaps that is a "simpler" way to do this?
What if a plugin requires a specific version or higher of a plugin in
order to work? As nice as the autoinstaller is for most installs,
sometimes a plugin needs control before it can allow itself to be
installed. Moving the preinstall check function out of
admin/install.php and into autoinstall.php seems much simpler. The
admin/install.php file can just include autoinstall.php if necessary
for a manual install. Plugins can have other kinds of dependencies,
such as directory structure requirements, that cannot be handled
neatly and simply in the autoinstall array.
Throwing Dice Games
More information about the geeklog-devel