[Zope] developing with zmi: how to move a patch from data from devel to live?

Jens Vagelpohl jens at dataflake.org
Mon Jun 20 05:06:27 EDT 2005


On 20 Jun 2005, at 07:35, gabor wrote:
> now you create the fix/improvement on the devel server.
>
> but now how do you move the improvement/fix to the live server?
> you cannot just copy the data.fs over. the customer already has  
> some content/data in it...
>
>
> one way seems to be to not use the ZMI at all. you create an  
> install python script, which calls the methods of the ZMI  
> interface. this way works, but it seems for me to waste my time.  
> finding the right method that the gui calls to call it from the  
> install script seems stupid for me.
>
> but it solves the problem. with the script i can really make the  
> changes i need on the devel server.
>
> so, is there a solution where i can use the ZMI?
>
> how do you solve this kind of problem?

The problem is that you develop using the ZMI. It's a bad pattern.  
Don't do it.

jens



More information about the Zope mailing list