Branching plan required?

时光怂恿深爱的人放手 提交于 2019-12-05 03:56:25

问题


In the TFS Branching Guide 2010 v1 (here) the ALM Rangers gives you 4 branch plans (scenarios) at the moment.

But in a related project, TFS Guide, also from the ALM Rangers (here), they offer a scenario "No Branch". This is good starting point, because having for example 2 branches (dev and main) will slow down the velocity and does introduce more complexity because of all the FI (forward integrate) and RI (reverse integrate) handling.

It looks for me that ALM Rangers do not sync both projects, because the branching guide 2010 v1 is not offering the "No Branch" plan anymore....

For our company we want to define a guidance that says to use a simple model at start but has the capability to grow when needed. So in fact, we want to start to use and develop directly on the Main branch only, and when QA really will becomes an issue we can drive off to a development branch and merge along the branches.

Is this a good practice to follow ?


回答1:


How you branch is one of the most important decisions you can make with respect to source code configuration management. It needs to match your organization, your processes, and your teams.

What you decide early will be, to a great degree, what you wind up using forever, so don't take the decision lightly.

My personal recommendation (only because it works for us) is to use the MAIN and DEV branch approach. This provides the ability to perform a level of quality assurance (e.g. trial builds) prior to merging to the MAIN branch. The DEV branch becomes your primary integration branch, so forward integration isn't as much of a burden (since everyone is working off of the DEV branch).

Just to give you some reference, we literally spent between 3 and 6 months discussing our branching strategy, running it through use cases and trying to poke holes in it, before we decided which one to use.



来源:https://stackoverflow.com/questions/3245304/branching-plan-required

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!