blueriver/MuraCMS — pull request #270 by mschierberl (2012-02-08 01:47:43+00:00)
Title: Add feature that allows plugins to auto-update if specified in config.xml

Proposed feature addition for #269, allow plugins to auto-update.

I modified the "discover" function, so that if a plugin already exists, there is a check to the plugin xml, if the plugin.xml contains "autoUpdate" and the value is true, then compare the plugin.xml version to the deployed version in the database. If there is no match, then re-deploy.

Another option might be to just skip the new "autoUpdate" flag in order to keep config.xml options simpler. The logic could run if "autoDeploy" is true.