On Tue, May 18, 2010 at 01:14, Alexandre Andrade <[email protected]> wrote: > I have the following problem: > > I have a app on production, but have to make major changes on them. > So I want to use a development environment, and use a VCS (version control > system- baazar, cvs, subversion) to syncronize to production. > > What I want to know is: > > How others have done it? Syncronize changes between the development and > production? and someone uses a VCS and how?
Hello Alexandre, I use Mercurial for my web2py projects and use hooks to execute scripts (shell scripts, python scripts etc.) when something 'happens' with the repository (a commit or a push, for example). I have a 'central' mercurial repository on my server that actually copy the new files to the app environment and restart Apache (it can use hg log etc. to see what files were modified). The correct here is to push to a central repository and have a hook to run the integration tests and, if all the integration tests pass, so integration system can start a hook to update app (or event the central repository if it knows how tests were - failed or passed). We can talk better on Portuguese on the web2py-users-brazil list. :) > -- > Atenciosamente > > -- > ========================= > Alexandre Andrade > Hipercenter.com -- Álvaro Justen - Turicas http://blog.justen.eng.br/ 21 9898-0141

