On 9/14/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> My method of choice is typically to have a 'staging' working directory
> checked out on the central dev server, in addition to personal working
> directories for each developer.  That staging directory is then
> rsynced up to the production cluster when changes are made.  This
> ensures two things:
> 
> 1) since no one directly edits the stage working directory, it's
> impossible to push anything live that isn't checked into the
> repository (since that's the only way to get it to staging).

This is key -- no "just a quick change" on the staging server which
gets missed in source control. Pushing through a process is a great
idea
 
> 2) pushes to the production cluster are always from a consistent
> source; no way to push a partial version and get version conflicts.
> 
> Basic routine looks like this:
> 
> 1) developer makes changes and tests
> 2) developer commits
> 3) I update staging server
> 4) testing on staging server
> 5) tag release
> 6) push to production
> 
> Obviously steps 1-4 happen a lot more frequently than 5-6, and 1-2
> happen a lot more than 3-4 as well.

I'd suggest giving CruiseControl a shot to remove the manual step 3,
especially since you're already using Ant (right?). Then your staging
server is always current and problems get noticed soon.

Of course this raises the whole issue of automating the *testing* in
steps 1 and 4 :)
 
> cheers,
> barneyb


-- 
John Paul Ashenfelter
CTO/Transitionpoint
(blog) http://www.ashenfelter.com
(email) [EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218368
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to