atom feed23 messages in net.sourceforge.lists.plone-developersRe: [Plone-developers] The reinstall ...
FromSent OnAttachments
Martin AspeliFeb 26, 2009 6:19 pm 
Hanno SchlichtingFeb 27, 2009 2:54 am 
Martin AspeliFeb 27, 2009 2:59 am 
Hanno SchlichtingFeb 27, 2009 3:25 am 
Martin AspeliFeb 27, 2009 3:47 am 
Matthew WilkesFeb 27, 2009 3:53 am 
Ricardo AlvesFeb 27, 2009 4:18 am 
Wichert AkkermanFeb 27, 2009 4:59 am 
Hanno SchlichtingFeb 27, 2009 5:09 am 
Martin AspeliFeb 27, 2009 5:29 am 
Daniel NouriFeb 27, 2009 5:35 am 
Chris RossiFeb 27, 2009 6:34 am 
Ricardo AlvesFeb 27, 2009 6:39 am 
Wichert AkkermanFeb 27, 2009 7:48 am 
Rob MillerFeb 27, 2009 11:25 am 
Maurits van ReesFeb 28, 2009 2:19 pm 
Hanno SchlichtingMar 14, 2009 8:22 am 
Lennart RegebroMar 14, 2009 8:42 am 
Hanno SchlichtingMar 14, 2009 9:06 am 
Gilles LenfantMar 14, 2009 11:33 am 
Martin AspeliMar 14, 2009 11:33 pm 
Wichert AkkermanMar 14, 2009 11:51 pm 
Alexander LimiMar 16, 2009 4:47 am 
Subject:Re: [Plone-developers] The reinstall button problem
From:Martin Aspeli (opti@gmail.com)
Date:Mar 14, 2009 11:33:30 pm
List:net.sourceforge.lists.plone-developers

Hi Hanno,

3. GenericSetup offers upgrade profiles specifically created for the upgrade use-case.

Note that they're not upgrade *profiles*, just upgrade *steps*. You give the name of a callable, and it's called during the upgrade process.

Some people have used that callable to invoke a separate extension profile that does the actual work of upgrading, but this is an implementation detail that may work better in some cases than others.

I think this is a reasonable approach to take for Plone 3.3 even though we have already made a first beta release. I tried to implement the code for this on a branch of Plone today.

What is missing here is clear documentation about how to write those upgrade profiles and what the exact purpose of the metadata.xml version is and when to increase it.

Does this sound reasonable?

+1, but it's Wichert's call.

The sooner we get people used to this, the better.

Martin

------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com