Product Upgrades
Submitted by
jccooper.
on 2007-07-17 15:20.
An example of explicit upgrades in an install script.
I've written before on how we should approach upgrades in the Install script, so that the install process is more likely to result in the same thing as an upgraded site. I found an example of this:https://goedel.uiah.fi/projects/calibrate/browser/trunk/Extensions/Install.py?rev=1580&format=txt
I'll note that this is mostly an explicit upgrade setup (that is, it tests versions) and I would prefer to test for capabilities or simply do idempotent operations whenever possible instead. But, this is the idea, anyway. Now, if only we had a nice framework for doing this. Plone does already...
