We do something similar to what your co-worker suggested. It was the best
solution for us and has worked out great since we implemented it.

We create a branch for each version. All development is done in those
branches and when a build goes to QA, it is labeled with a unique string (We
use perforce. We moved from SVN to it a couple years ago and haven't
considered going back. Anyway, labels are to perforce what tags are to
SVN... basically just a snapshot of the code at that given time. You can
sync workspaces with labels or integrate with them, etc...)

When our QA team validates the code they were given, they approve the label
that came along with it. Management gives the thumbs up and that label then
gets integrated into what would be the equivalent of the trunk in SVN. 

The "trunk" is always current with production. Nothing goes intot he trunk
unless it is approved for production by QA and given the greenlight by
management... and then integrated there by yours truly.

This setup gives us the ability to split the team up and work on multiple
versions at once without interfering with each other in any way.

I run daily integrations, starting with the most current version and working
my way up to the highest, to ensure any hotfixes or such make their way into
all versions. Perforce's PV4 client makes these types of management tasks a
breeze.

We have multiple dev servers set up to mirror production (VMware FTW!).
Every day (or at least that's what we tell ourselves) those servers are
synced up with their respecitve dev branches to keep things up to date.

Anyway, that's the basic rundown of what we have. It works great for us.
Hope it helps.

 
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Friday, June 11, 2010 5:36 PM
To: cf-talk
Subject: Branching Strategies


We are finally implementing source control for a decently sized CF
application were I work with a total of 5-6 CF developers but we can't
decide when and how often to branch our code.  

One co-worker wants to create a branch of every release (we have about a
3-month release cycle) and develop changes for the next release in that
branch while day-to-day hot fixes get committed directly to the trunk
for immediate deployment.  

I would rather always commit straight to the trunk and only branch for
really big projects which are likely to interfere or break other
development because I am afraid of the overhead of merging.

I found a lot of good branching theory here:
http://www.cmcrossroads.com/bradapp/acme/branching/ 

However, I wanted to hit up the list to get opinions from people with
similar sized teams to see what you've found to be a good branching
strategy.

Thanks!

~Brad




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334502
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to