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

Re: Substituting existing mechanism with Subversion--help!!

From: Peter Valdemar Mørch <swp5jhu02_at_sneakemail.com>
Date: 2005-01-07 00:15:28 CET

Do you realize you've asked a very broad question? I'll answer as best I
can as time allows:

Siju George sgeorge.ml-at-gmail.com |Lists| wrote:
> There is a Debian Server hosting the projects files in the apache home
> directory.
> ie all websites that are developed are put in differrent folders in
> the "/var/www" directory
> The "/var/www" directory is shared

> If so could you please guide me with the set up process?

What you basically have is one directory where everybody is stepping on
each others feet. This is *nasty*! Each developer can not debug in peace
with all the changes going on by others. It depends *a little* on how
often changes actually take place. But don't do this.

I suggest:

Each developer has his own "Debian Server" with his own /var/www
directory. (Which could be the same "Debian Server" with /var/www/userA,
  /var/www/userB, etc.). All these /var/www (or /var/www/*/) directories
are in fact individual working areas.

Once develper A is happy about his change in his own working directory
(which is now totally independent of what developer B is doing) he
checks in his modifications. It is every developer's responsibility to
keep up to date with other developers' changes with svn update.

You can then have a single integration area, that e.g. is updated every
morning to make sure that everything is up to date. Call it the "smoke
test" site.

If you insist on having only the one shared directory, in my experience,
you'll never reach "stability". But if you insist, you can then have
only that one single working area, and agree that whenever someone puts
a file in there, he needs to check it in. But somebody is going to
forget that at some point, and you have no way of knowing who. Don't do


Peter Valdemar Mørch
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 7 00:45:01 2005

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