[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: code release cycle under svn

From: Ivan Aleman <bonovoxmofo_at_gmail.com>
Date: 2007-03-14 21:06:34 CET

2007/3/14, Mike Brenner <mikeb@mitre.org>:
> Hi Ivan,
>
> I don't think svn will push the files, I think the
> web server needs to pull the files from svn.
>
Hello Mike, you're right I think I misunderstood what Matt was asking,
indeed my answer was oriented to how layout a repository as
recommended in the book and push the files to production server using
the files that are tagged as a release under 'tags' branch. And of
course you can pull a working copy or better a 'tag' copy from
production server to start and upload the first time this is fine
still I think is prone to errors.

The way I do it? I first tag the release and copy to tags branch then
I checkout to the tag and because we have some misc folders and files
that aren't needed in production I remove those and all the SQL
scripts, etc, then I strip out the .svn info/tracking folders and
tar.bz2 the root folder of the tag and push the compressed file trough
VPN... et voila! Every time a new release is available I do the same
steps of course I use a 'maintenance' screen and if something needs to
be changed quickly but the change was not int he tag/release I push
the file or files from trunk branch using the VPN and SSH that's it,
this is more common to me 'cause releases under tags take longer to
occur, so I push lets say version 1.0.0 then the natural thing is to
correct mistakes/bugs that weren't detected on development time so you
can see every push as 1.0.1, 1.0.5, 1.2.0, etc until it stops for a
while and a new release appears, so it's time to start over.

That's the way I do it I am sure there are other better ways to handle
this using rsync or something else, may somebody explain here the way
they do it and consider their method as a better practice :) I will
appreciate it.

>
>
>
Kind regards.

-- 
Iván Alemán -- bonovoxmofo.blogspot.com
Cambia ya!
http://goodbye-microsoft.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 14 21:07:13 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.