26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• Build frequency on branch – Continuous integration builds are performed on the<br />

branch.<br />

• Testing focus in branch – Perform feature and quick feedback testing.<br />

The <strong>Team</strong> branches should be used to allow teams to complete development tasks in<br />

parallel. This can be useful to isolate teams from breaking changes originating on other<br />

teams, or to allow teams to work toward unique milestones. All active development<br />

should occur in the <strong>Team</strong> branches and then be integrated into the Main branch. You<br />

might also want to create Feature branches beneath each <strong>Team</strong> branch.<br />

Additional Resources<br />

• For an introduction to branching and merging, see “Branching and Merging Primer”<br />

at http://msdn2.microsoft.com/en-us/library/aa730834(VS.80).aspx<br />

• For more information about branching, see “How to: Branch Files and Folders” at<br />

http://msdn2.microsoft.com/en-us/library/ms181425(VS.80).aspx<br />

• For more information about merging, see “How to: Merge Files and Folders” at<br />

http://msdn2.microsoft.com/en-us/library/ms181428(VS.80).aspx<br />

• For additional descriptions of how to branch and merge in <strong>Visual</strong> <strong>Studio</strong> 2005, see<br />

“Branching and Merging <strong>Team</strong> <strong>Foundation</strong> Source Control” at<br />

http://msdn2.microsoft.com/en-us/library/ms181423(VS.80).aspx<br />

How to Use Branching to Isolate External Dependencies<br />

Use an External branch to improve the integration and stabilization of breaking changes<br />

caused by external dependencies.<br />

The following is an example of what your branch structure might look like after you have<br />

created an External branch:<br />

• External – External branch<br />

o Source<br />

• Main – Integration branch<br />

o Source<br />

o Other Asset Folders<br />

Keep the following recommendations in mind when working <strong>with</strong> an External branch:<br />

• When to branch – When you have external dependencies that might cause<br />

breaking changes in your project. If your dependencies are making interface<br />

changes or substantial logic changes that will impact your code, create an<br />

External branch to isolate these changes.<br />

• When not to branch – When your external dependencies are stable or you are<br />

confident they will not introduce breaking changes.<br />

• Permissions in branch – Read/write for developers responsible for external<br />

dependency integration, read-only for everyone else.<br />

• Build frequency on branch – Builds are performed on-demand.<br />

• Testing focus in branch – Integration testing.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!