[Zope-CMF] [dev] CMF 2.2: upgrade steps

Jens Vagelpohl jens at dataflake.org
Thu Dec 10 03:56:07 EST 2009


On Dec 9, 2009, at 16:32 , yuppie wrote:

> I think it would be good to catch in .to22.check_dcmi_metadata *all* 
> tools that don't have a 'DCMI' attribute.
> 
> CMF 2.0 and 2.1 did not add '_DCMI' in __init__, I just changed that 
> before the 2.2 beta. If the old migration code was never triggered the 
> tools are broken without an upgrade step.

The check has been changed.


>> All scripts in CMFDefault were obsolete, those I deleted. The script in CMFCore is a good candidate for upgrade steps, but I am thinking the step should be in CMFDefault, correct?
> 
> Yes. All migration code is now linked to the default profile of 
> CMFDefault. At the moment I have no idea how to make these upgrade steps 
> available for people who use e.g. only CMFCore.

I made them all into CMFDefault upgrade steps and removed the script in CMFCore.

jens


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4814 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20091210/79782e4d/attachment.bin 


More information about the Zope-CMF mailing list