source control best practices
DESCRIPTION
Discussion about common problems and solutions with source control usage. Overview of the new Visual Studio 2010 Source Control featuresTRANSCRIPT
www.orbitone.com
Source Control Best Practices
Raas van Gaverestraat 83B-9000 GENT, BELGIUM E-mail [email protected] Website www.orbitone.com
Tel. +32 9 330 15 00VAT BE 456.457.353Bank 442-7059001-50 (KBC)
Presenter: Mel Gerats7 April, 2010
7 April, 2010Source Control Best Practices2
In this presentation
Discuss source control standardsDiscuss deployment standards
Overview of Team Foundation Server 2010 features
7 April, 2010Source Control Best Practices3
Goals
Have Source Control standardsHave Deployment standards Improve versioning Improve deployabilityReduce manual actions
7 April, 2010Source Control Best Practices4
Current situation: Source Control
TrunkBranches
7 April, 2010Source Control Best Practices5
Current situation: Source Control
Work is done on the trunk (most of the time)Branches are used as back-up
7 April, 2010Source Control Best Practices6
Current situation: Deployment
Copy paste“publish” to stagingAlways manual actionsSql scripts
7 April, 2010Source Control Best Practices7
Problems
Builds get brokenNot always a deployable version availableNot always possible to check in stuff If there are multiple versions which one to deploy?
7 April, 2010Source Control Best Practices8
What do we want
Automate everythingOne Click deployUse more TFS features!Always be able to deploy changesNever break the build
7 April, 2010Source Control Best Practices9
Demo Time
Demo Team Foundation Server 2010
7 April, 2010Source Control Best Practices10
What will we do?
Create clear guidelines for source control usage based on Visual Studio TFS Branching Guide 2010
Start using Team Foundation Server 2010
Start really using build automation / msdeploy
7 April, 2010Source Control Best Practices11
Challenges
Nunit / NCover automationOverview of all builds like CruiseControl
7 April, 2010Source Control Best Practices12
Resources
Team Foundation Server 2010 related questions on Stackoverflow
Visual Studio TFS Branching Guide 2010Team Foundation Server Team Blog (lots of info there!)Team System Development Center