Skip to content

Commit

Permalink
Add Plone 5.1 beta 4 upgrade profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Apr 11, 2017
1 parent a9d5ee3 commit 21ff333
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Breaking changes:

New features:

- *add item here*
- Add Plone 5.1 beta 4 upgrade profile.
[thet]

Bug fixes:

Expand Down
8 changes: 8 additions & 0 deletions plone/app/upgrade/v51/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ Add image scaling options to image handling control panel.
handler="..v50.final.fix_double_smaxage"
/>

<gs:upgradeDepends
title="Run to51beta4 upgrade profile."
description="
Update plone-logged-in bundle.
"
import_profile="plone.app.upgrade.v51:to51beta4"
/>

</gs:upgradeSteps>

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

<genericsetup:registerProfile
name="to51beta4"
title="Upgrade profile for Plone 5.1beta3 to Plone 5.1beta4"
description=""
directory="profiles/to_beta4"
for="Products.CMFPlone.interfaces.IMigratingPloneSiteRoot"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>

</configure>
10 changes: 10 additions & 0 deletions plone/app/upgrade/v51/profiles/to_beta4/registry.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<registry>

<!-- Update ``last_compilation`` to deliver new bundles -->
<records prefix="plone.bundles/plone-logged-in" interface="Products.CMFPlone.interfaces.IBundleRegistry" purge="False">
<value key="last_compilation">2017-04-11 16:10:00</value>
</records>

</registry>

0 comments on commit 21ff333

Please sign in to comment.