On Tue, May 3, 2011 at 12:45 AM, Martin Aspeli <optilude+li...@gmail.com> 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"
Zope-CMF maillist - Zope-CMF@zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests