[geeklog-devel] Autoinstall plugins and dependencies

Dirk Haun dirk at haun-online.de
Sat Oct 3 16:29:23 EDT 2009


Vincent Furia wrote:

>With that information the autoinstaller could be made to be smart enough to
>generate a dependency tree and install multiple plugins in order. Other
>"preinstall" checks (file permisisons, etc) could be accomplished in the
>install function.

The "info" array that the autoinstall function returns can easily be
extended, keeping backward compatibility. So it could contain additional
information regarding a plugin's dependency on other plugins.

It's already documented[1] that plugin_autoinstall_xxx may be called
more than once, so the installer could collect information from all
plugins first before it even attempts to install the first one.

So it all comes down to writing a more "intelligent" plugin installer.
And what it should be doing if the requirements are not met. Especially
when all this happens in the install script ...

Does that summarize the discussion so far?

bye, Dirk

[1] <http://wiki.geeklog.net/index.php/Plugin_Autoinstall#plugin_autoinstall_>


-- 
http://www.geeklog.net/
http://geeklog.info/




More information about the geeklog-devel mailing list