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

Re: Subversion workflow with PHP

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Thu, 26 Jun 2008 12:09:42 +0200

On Thursday 26 June 2008, Mike van Hoof wrote:
> We are using subversion for a while now, and it works like a charm, but
> I think our workflow is incorrect:
> - we have a svn server with svn and the repositories
> - we also have a webserver, with all our projects in the wwwroot. This
> projects are our working copies, so every developper works in the same
> working copy.

Yes, this isn't a terribly good idea because it leads to access conflicts in
the working copy. In particular two developers working on different features
of the same project can create problems.

> I want every developper to have it's own workingcopy, but if they put
> everything local it means they have to have their own webserver running
> locally.

So? That's not really terrible, that way they can even change the
configuration if necessary or similar changes that shouldn't be done on a
production system.

> An other option is that they copy every change they do to the webserver,
> but this slows down development.

rsync is one way which is actually pretty fast. Another would be to remotely
mount a directory on the webserver. Having a single working copy on the
webserver and updating that after checking in changes is another, but you
should still somehow check your changes _before_ checking them in.

How about different virtual hosts for each developer? That way you would only
have one webserver machine but each developer would have one working copy
associated with one virtual host. However, that still isn't very far from
running the server locally except that it has more dependencies.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-26 12:10:24 CEST

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.