Newer
Older
floop.migration / floop / migration / configure.zcml
<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:five="http://namespaces.zope.org/five"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
    i18n_domain="floop.migration">

  <five:registerPackage package="." initialize=".initialize" />

  <genericsetup:registerProfile
      name="default"
      title="floop.migration"
      directory="profiles/default"
      description="Installs the floop.migration package"
      provides="Products.GenericSetup.interfaces.EXTENSION"
      />
  <genericsetup:upgradeSteps
      source="0.1"
      destination="0.2"
      profile="floop.migration:default">

    <genericsetup:upgradeStep
	title="ZWiki to ATDocument"
	description="Convert old ZWiki pages to Plone documents, using structured text markup."
	handler=".migrate.migrate" />
    <!-- The above handler should be the path and function name of the migration -->

  </genericsetup:upgradeSteps>
  
</configure>