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).

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.

cheers,
barneyb

On 9/14/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> Curious how everyone is deploying code from an SCM tool like CVS.  CVS
> has an export function, but the darn thing will not overwrite files.
> I just forced my team into CVS use and I'm having them use tags for
> each release.  I'm thinking of using ANT to
> 1) perform a CVS export of module mymodule to mymodule_new folder
> 2) delete mymodule folder
> 3) rename mymodule_new folder to mymodule
> 
> Any other possible approaches?  I don't really want to 'checkout' the
> code to the production environment either.
> 
> DK
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:218337
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