Skip to content

Commit

Permalink
New mockup releases for Plone 5.0 and 5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Dec 23, 2016
1 parent 65e394b commit 02cf65b
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Breaking changes:

New features:

- New mockup releases for Plone 5.0 and 5.1.
[thet]

- Remove jquery.cookie from plone-logged-in bundle's stub_js_modules.
The toolbar, which has a dependency on jquery.cookie,
was moved from the plone bundle to plone-logged-in in CMPlone 5.1a2.
Expand Down
13 changes: 13 additions & 0 deletions plone/app/upgrade/v50/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -327,4 +327,17 @@

</gs:upgradeSteps>

<gs:upgradeSteps
source="5016"
destination="5017"
profile="Products.CMFPlone:plone">

<gs:upgradeStep
title="Run to507 upgrade profile."
description=""
handler=".final.to507"
/>

</gs:upgradeSteps>

</configure>
5 changes: 5 additions & 0 deletions plone/app/upgrade/v50/final.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,8 @@ def to502(context):
def to503(context):
"""5.0.2 -> 5.0.3"""
loadMigrationProfile(context, 'profile-plone.app.upgrade.v50:to503')


def to507(context):
"""5.0.6 -> 5.0.7"""
loadMigrationProfile(context, 'profile-plone.app.upgrade.v50:to507')
9 changes: 9 additions & 0 deletions plone/app/upgrade/v50/profiles.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,13 @@
provides="Products.GenericSetup.interfaces.EXTENSION"
/>

<genericsetup:registerProfile
name="to507"
title="Upgrade profile for Plone 5.0.6 to Plone 5.0.7"
description=""
directory="profiles/to_507"
for="Products.CMFPlone.interfaces.IMigratingPloneSiteRoot"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>

</configure>
13 changes: 13 additions & 0 deletions plone/app/upgrade/v50/profiles/to_507/registry.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<registry>
<records
interface="Products.CMFPlone.interfaces.IBundleRegistry"
prefix="plone.bundles/plone-logged-in">
<value key="last_compilation">2016-12-23 00:00:00</value>
</records>
<records
interface="Products.CMFPlone.interfaces.IBundleRegistry"
prefix="plone.bundles/plone">
<value key="last_compilation">2016-12-23 00:00:00</value>
</records>
</registry>
2 changes: 1 addition & 1 deletion plone/app/upgrade/v51/profiles/to_beta1/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!-- Update ``last_compilation`` to deliver new bundles -->
<records prefix="plone.bundles/plone" interface="Products.CMFPlone.interfaces.IBundleRegistry" purge="False">
<value key="last_compilation">2016-12-13 00:00:00</value>
<value key="last_compilation">2016-12-23 00:00:00</value>
</records>
<records prefix="plone.bundles/plone-logged-in" interface="Products.CMFPlone.interfaces.IBundleRegistry" purge="False">
<value key="last_compilation">2016-12-13 00:00:00</value>
Expand Down

0 comments on commit 02cf65b

Please sign in to comment.