Skip to content

Commit

Permalink
Initiate Upgrade profile for Plone 5.2beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
davilima6 committed Feb 19, 2019
1 parent 0fdfd12 commit 4869bab
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plone/app/upgrade/v52/betas.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,7 @@ def to52beta1(context):
add_exclude_from_nav_index(context)
remove_legacy_resource_registries(context)
remove_interface_indexes_from_relations_catalog()


def to52beta2(context):
loadMigrationProfile(context, 'profile-plone.app.upgrade.v52:to52beta2')
5 changes: 5 additions & 0 deletions plone/app/upgrade/v52/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
handler=".betas.to52beta1"
/>

<gs:upgradeStep
title="Run to52beta2 upgrade profile."
description=""
handler=".betas.to52beta2"
/>
</gs:upgradeSteps>

</configure>
8 changes: 8 additions & 0 deletions plone/app/upgrade/v52/profiles.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,12 @@
provides="Products.GenericSetup.interfaces.EXTENSION"
/>

<genericsetup:registerProfile
name="to52beta2"
title="Upgrade profile for Plone 5.2beta1 to Plone 5.2beta2"
description=""
directory="profiles/to_beta2"
for="Products.CMFPlone.interfaces.IMigratingPloneSiteRoot"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
</configure>

0 comments on commit 4869bab

Please sign in to comment.