devel/production syncronization
I'm having problems trying to figure out how to keep the production version of my app synchronized with the developement version. I need to be able to work on an app on my laptop, then move those changes onto my production versions of the application spread around several sites. Since when in use, the production app's data changes quite a bit, it's not as easy as just copying over the whole site, I'd overwrite a lot of data. It'd be nice to have an option on export/import to do something analagous to applying a diff to a file. It'd also then be easy to apply to several different sites running the same app. Any help would be appreciated. Gary.
What are you developing in, if its python stuff on the file system its easy. If its dtml stuff in the ZODB, its not quite so easy. -- Andy McKay. ----- Original Message ----- From: "Gary Lowder" <gary@lowder.com> To: <zope@zope.org> Sent: Wednesday, February 21, 2001 1:02 PM Subject: [Zope] devel/production syncronization
I'm having problems trying to figure out how to keep the production version of my app synchronized with the developement version. I need to be able to work on an app on my laptop, then move those changes onto my production versions of the application spread around several sites. Since when in use, the production app's data changes quite a bit, it's not as easy as just copying over the whole site, I'd overwrite a lot of data. It'd be nice to have an option on export/import to do something analagous to applying a diff to a file. It'd also then be easy to apply to several different sites running the same app.
Any help would be appreciated.
Gary.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
It's dtml stuff in the ZODB, and I've noticed it's not easy <grin>. I'd naively figured I could export my VERSIONS thinking it contained the changes I'd made, no dice. The whole point of the app is a dynamic database where folders are added and deleted. All of our site installations have a different dataset. At the same time, the app is still in developement/refinement, and improvements need to be applied to all of our offices, without upsetting their data. All I'm changing amount to new or revised DTML Methods, occasional SQL Methods, etc. Thanks, Gary. Andy McKay wrote:
What are you developing in, if its python stuff on the file system its easy. If its dtml stuff in the ZODB, its not quite so easy. -- Andy McKay.
----- Original Message ----- From: "Gary Lowder" <gary@lowder.com> To: <zope@zope.org> Sent: Wednesday, February 21, 2001 1:02 PM Subject: [Zope] devel/production syncronization
I'm having problems trying to figure out how to keep the production version of my app synchronized with the developement version. I need to be able to work on an app on my laptop, then move those changes onto my production versions of the application spread around several sites. Since when in use, the production app's data changes quite a bit, it's not as easy as just copying over the whole site, I'd overwrite a lot of data. It'd be nice to have an option on export/import to do something analagous to applying a diff to a file. It'd also then be easy to apply to several different sites running the same app.
Any help would be appreciated.
Gary.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Nope and there ways around it, one is try a transparent folders. If everything is in one folder, move what you want to update into a transparent folder. Then export that folder, it gives you a grouping mechanism. One other hack I did was have a list of the things im exporting up somewhere, and ran a script that exported all the items in that list and then reimported them. A cool peice of software that does none of the above but helps you sync Zopes is http://www.zope.org/Members/MacGregor/Client_Server. HTH. -- Andy McKay. ----- Original Message ----- From: "Gary Lowder" <gary@lowder.com> To: "Andy McKay" <andym@activestate.com> Cc: <zope@zope.org> Sent: Wednesday, February 21, 2001 1:27 PM Subject: Re: [Zope] devel/production syncronization
It's dtml stuff in the ZODB, and I've noticed it's not easy <grin>. I'd naively figured I could export my VERSIONS thinking it contained the changes I'd made, no dice. The whole point of the app is a dynamic database where folders are added and deleted. All of our site installations have a different dataset. At the same time, the app is still in developement/refinement, and improvements need to be applied to all of our offices, without upsetting their data. All I'm changing amount to new or revised DTML Methods, occasional SQL Methods, etc.
Thanks, Gary.
Andy McKay wrote:
What are you developing in, if its python stuff on the file system its
easy.
If its dtml stuff in the ZODB, its not quite so easy. -- Andy McKay.
----- Original Message ----- From: "Gary Lowder" <gary@lowder.com> To: <zope@zope.org> Sent: Wednesday, February 21, 2001 1:02 PM Subject: [Zope] devel/production syncronization
I'm having problems trying to figure out how to keep the production version of my app synchronized with the developement version. I need to be able to work on an app on my laptop, then move those changes onto my production versions of the application spread around several sites. Since when in use, the production app's data changes quite a bit, it's not as easy as just copying over the whole site, I'd overwrite a lot of data. It'd be nice to have an option on export/import to do something analagous to applying a diff to a file. It'd also then be easy to apply to several different sites running the same app.
Any help would be appreciated.
Gary.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andy McKay -
Gary Lowder