Personal tools
You are here: Home Products Plone Roadmap #161: Remove migration code for old releases
Document Actions

#161: Remove migration code for old releases

Contents
  1. Motivation
  2. Assumptions
  3. Proposal
  4. Implementation
  5. Risks
  6. Participants
by Hanno Schlichting last modified October 8, 2006 - 20:56
Don't support migrating to Plone 3 from versions earlier then Plone 2.1.0-final.
Proposed by
Hanno Schlichting
Proposal type
Architecture
Assigned to release
State
completed

Motivation

In the process of working on CMF 2.1 support (see PLIP148) I came across a lot of problems due to the old migration code. The two main areas were Action migrations and the content type migration to ATContentTypes.

Assumptions

Migrating to Plone 3 will be possible for all sites that run any released version of Plone 2.1-final, 2.1.x or Plone 2.5. Migrating sites from versions prior to Plone 2.1 can be dealt with easily by migrating to Plone 2.5 first or by doing a new site creation and only upgrading the content in a temporary Plone 2.1/2.5 site. For such old sites it is highly questionable that a direct migration will work anyways as probably all installed add-ons will need new versions and the underlying Zope version will have to make a jump over various versions as well.

Proposal

As I am lazy and would like to save the time to debug all those old problems, fix migration code to work against the new API's and spent my time on more fruitful things instead, I would like to suggest to not support migrations from prior to Plone 2.1.0-final to Plone 3.0.

I think as we have no real migration tests at all, trying to support age-old migration code is more of a burden and risky then it is beneficial. The number of people actually trying to upgrade from a pre 2.1 version to Plone 3 will most likely be rather small anyways. For these sites creating a new site based on Plone 3 and only importing the content is probably a more reliable way and we should advertise it instead of telling those people to do an inline migration which will reindex their content probably a few dozen times ;)

Implementation

The implementation is pretty simple. Just remove all the migrations from Plone itself and ATContentTypes.

Risks

Some people might try to migrate to Plone 3 directly but we can provide a nice error message in these cases telling them that directly migrating isn't supported anymore and pointing them to the 2.5 release which they should migrate to first.

Participants

Hanno Schlichting

+1

Posted by Alexander Limi at June 10, 2006 - 22:09
As long as we add an error message about it on migration, it's fine. Plone 2.1 was the first decent Plone release anyway. ;)

+1

Posted by Tannic at October 18, 2006 - 20:35
Anything before Plone 2.1 does not have to be supported. 2.0 -> 2.1 was hard, 2.1 to 2.5 is yet to be tried.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by