[geeklog-devel] we don't need to maintain the plugin's upgrade function

Joe Mucchiello joe at ThrowingDice.com
Thu Mar 20 09:28:04 EDT 2008

At 07:55 AM 3/20/2008, Michael Jervis wrote:
>They are separable, they are plug ins, but until the time comes that
>someone picks them up and runs them separately why have an upgrade
>function? The next release of the plugins will be with 1.5.0, thus
>they don't need one and it's extra effort for us to have one.

My point is that it is not extra effort. Merely different effort. 
Having the upgrade logic in the installer versus having the installer 
call the plugin_upgrade_$plugin function. Where is the extra effort? 
The only extra effort now is that the code in plugin_upgrade_$plugin 
was out of date. Moving the code there once is all the effort needed 
and then the issue of where does it get maintained never needs to be 
raised again.

Joe Mucchiello
Throwing Dice Games

More information about the geeklog-devel mailing list