From owner-freebsd-questions@FreeBSD.ORG Mon Jul 24 19:09:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD01916A4DD for ; Mon, 24 Jul 2006 19:09:07 +0000 (UTC) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0BC43D4C for ; Mon, 24 Jul 2006 19:09:07 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id 4651713C7CB; Mon, 24 Jul 2006 14:14:00 -0500 (CDT) Received: by bravo.pjkh.com (Postfix, from userid 1000) id 143C113C7C5; Mon, 24 Jul 2006 14:14:00 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id 1333613C7BF; Mon, 24 Jul 2006 14:14:00 -0500 (CDT) Date: Mon, 24 Jul 2006 14:14:00 -0500 (CDT) From: Philip Hallstrom To: Greg Groth In-Reply-To: <44C50512.8010409@gregs-garage.com> Message-ID: <20060724140850.Y73359@bravo.pjkh.com> References: <44C4ED38.3000905@gregs-garage.com> <20060724120744.F70883@bravo.pjkh.com> <44C50512.8010409@gregs-garage.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: Subversion web development question. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 19:09:07 -0000 >> At this point you can manage your files on your workstation and immediately >> check your results. >> >> Then when happy, you can commit your changes with SVN and they get >> committed to the repository. >> >> You don't need subversion to move files into your web tree. That's not >> what it does. > > Fair enough, so should I assume then that the files need to be moved using > SSH (for example) after su-ing to root? If so, I suppose I would be better > off then just setting up Apache on my desktop, testing locally, then moving > the files back to the server? Why would you need to be root? Here's what we do at work: The development server is at the data center (since we're all remote). Apache has been configured to run several name based virtual servers and looks for the document root in a 'cpr' in our home directory. (cpr is the initials of our project) For those of us that like the CLI and working directly on the server, the 'cpr' directory is also our subversion working directory. So I edit a file, test it, like it, commit it. repeat. Our designers don't like CLI. What we've done for them is to set them up with TortioseSVN on their workstations. They check out the repository on their desktop. They make changes. When they want to test, they run rsync (via cygwin and a shell script) that syncs only the files they've changed (and skips all the .svn sub dirs) up to the server. They test. They like, they commit using TortioseSVN. All of thise happens over a SSH tunnel. At no point in any of this do any of us need to be root.... If you can get your dev environment running locally it will be easier since you won't have to "upload to test", but depending on your situation that might not be reasonable. -philip