On Tue, May 3, 2011 at 12:45 AM, Martin Aspeli <[email protected]> wrote: > Several months ago, I seem to recall a discussion that led me to > believe it's now possible to register a GenericSetup upgrade step that > runs an extension profile when invoked, instead of having to write a > Python handler with imperative code to perform the migration. > > Now, I can't find any trace of this - was I imagining things?
It's called "upgradeDepends" and you give it a import_profile and an explicit list of import_steps to run. It was introduced in GS 1.5 as: "Add <genericsetup:upgradeDepends> ZCML tag; defines a specialized upgrade step that re-applies one or more import steps from a GS profile during an upgrade process" Hanno _______________________________________________ Zope-CMF maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
