12
www.orbitone.com Raas van Gaverestraat 83 B-9000 GENT, BELGIUM E-mail [email protected] Website www.orbitone.com Tel. +32 9 330 15 00 VAT BE 456.457.353 Bank 442-7059001-50 (KBC) Presenter: Mel Gerats 7 April, 2010 Source Control Best Practices

Source control best practices

Embed Size (px)

DESCRIPTION

Discussion about common problems and solutions with source control usage. Overview of the new Visual Studio 2010 Source Control features

Citation preview

Page 1: Source control best practices

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

Page 2: Source control best practices

7 April, 2010Source Control Best Practices2

In this presentation

Discuss source control standardsDiscuss deployment standards

Overview of Team Foundation Server 2010 features

Page 3: Source control best practices

7 April, 2010Source Control Best Practices3

Goals

Have Source Control standardsHave Deployment standards Improve versioning Improve deployabilityReduce manual actions

Page 4: Source control best practices

7 April, 2010Source Control Best Practices4

Current situation: Source Control

TrunkBranches

Page 5: Source control best practices

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

Page 6: Source control best practices

7 April, 2010Source Control Best Practices6

Current situation: Deployment

Copy paste“publish” to stagingAlways manual actionsSql scripts

Page 7: Source control best practices

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?

Page 8: Source control best practices

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

Page 9: Source control best practices

7 April, 2010Source Control Best Practices9

Demo Time

Demo Team Foundation Server 2010

Page 10: Source control best practices

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

Page 11: Source control best practices

7 April, 2010Source Control Best Practices11

Challenges

Nunit / NCover automationOverview of all builds like CruiseControl