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

Re: Using subversion for webdevelopment

From: Steven Vasilogianis <svasilogiani_at_kmrrec.org>
Date: 2004-08-03 17:46:34 CEST

[Sorry for sending this to you twice, Patrick. I meant to send it to the
as well.]

Patrick Smears wrote:

>> We have three servers, one for development, one for testing, and one
>> for production, and I like this setup. It would be impractical for
>> each of us to have a local development server setup, because it would
>> be way too much maintenance, and not everyone is capable of setting it
>> up (e.g., our designer).
>> I also think it's impractical for us to have to first commit our
>> changes to the repository, and then go to the development server and
>> check out those changes in order to test them.
>> I suppose one solution might be to use a post-commit hook which checks
>> the repository out on our development server, but how would I do this
>> securely?
>> So, how is this typically handled?

> Just a thought: one possibility would be to create a virtual host for
> developer on the development server - that way, Fred can test his
changes at
> http://fred.internal.example.com, whereas Jim would access
> http://jim.internal.example.com, where both are serviced by the same
> physical server. This way there is only one central configuration
file (so
> one person can manage it - and keep all the hosts in sync), but it
> some isolation, allowing one developer to break things without
> inconveniencing everyone else...

I think you've misinterpreted my problem; I probably didn't do a very
good job explaining it. (Although, being able to isolate peoples
mistakes is nice as well, so I'll look into your suggestion.)

$ svn checkout http://example.org/svn/some-site
$ emacs some-site/htdocs/index.php
[make some changes]
$ svn commit some-site/htdocs/index.php

Now, in order to test/view/whatever, those changes, they need to some
how get onto our development web server.

One way for me to do this is to ssh into our development server and do
a checkout. But it would become very frustrating to have to do this to
fix and test every minor bugfix and spelling mistake. Also, I would
like to avoid having to teach our designer to ssh in checkout changes.
(There is no way she would be willing to do this for every change. As
it is, she hates having to upload both an html and a css file.)


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 3 17:46:55 2004

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.