[Grok-dev] Re: releasing 0.12.1

Raphael Ritz r.ritz at biologie.hu-berlin.de
Wed Jun 4 06:41:04 EDT 2008


Tim Terlegård wrote:
> On May 30, 2008, at 4:16 PM, Philipp von Weitershausen wrote:
>> Jan-Wijbrand Kolman wrote:
>>>
>>> * Is there anything 0.12.1 can do to prevent Sebastian's "__iro__" 
>>> problem?
>>
>> Grok should continue to depend on zope.app.securitypolicy and 
>> zope.app.session, so that old pickles continue to work.
> 
> This is a disadvantage with object databases, classes can't be moved around
> easily.
> 
> Is there some script that can change class paths in the zodb? Or do you
> have you write your own migration code everytime you change
> my.model.SomeModel to my.models.SomeModel?

You can provide module aliases but that's about it ...

Alternatively, one could look into providing some
dump/load capability via a neutral format like what
GenericSetup does for CMF site configurations or
what we are looking into for Plone content at the moment.

Raphael


> 
> /Tim



More information about the Grok-dev mailing list