tejasvi kumar technology specialist – vsts microsoft corporation [email protected]

22
Tejasvi Kumar Tejasvi Kumar Technology Specialist – VSTS Technology Specialist – VSTS Microsoft Corporation Microsoft Corporation [email protected] [email protected]

Upload: ann-horton

Post on 30-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Tejasvi KumarTejasvi KumarTechnology Specialist – VSTSTechnology Specialist – VSTSMicrosoft CorporationMicrosoft [email protected]@microsoft.com

Page 2: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Team Foundation Source ControlTeam Foundation Source Control

Built new from the ground upBuilt new from the ground up 3-tier ASP.NET web service3-tier ASP.NET web service SQL Server 2005 data storeSQL Server 2005 data store

Totally New Totally New Version Control Version Control

SystemSystem

Lots of New Lots of New FeaturesFeatures

Built for the Built for the EnterpriseEnterprise

Integrated checkinIntegrated checkin ShelvingShelving Source Control ExplorerSource Control Explorer More…More…

Support for distributed teamsSupport for distributed teams Secure, Reliable, ScalableSecure, Reliable, Scalable Future tool for MicrosoftFuture tool for Microsoft

Page 3: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Source Control Feature SupportSource Control Feature Support

Atomic CheckinAtomic Checkin

Work Item IntegrationWork Item Integration

Checkin PoliciesCheckin Policies

ShelvingShelving

Delta File StorageDelta File Storage

Delta Binary File StorageDelta Binary File Storage

Large File Support (>4GB)Large File Support (>4GB)

Distributed Team SupportDistributed Team Support

YesYes NoNo

Page 4: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Source Control Feature SupportSource Control Feature Support

E-mail Checkin NotificationE-mail Checkin Notification

Non-Windows Support Non-Windows Support

Diff Tool ExtensibilityDiff Tool Extensibility

Shared CheckoutShared Checkout

VS 2003 IntegrationVS 2003 Integration

Keyword ExpansionKeyword Expansion

Pinning & SharingPinning & Sharing

Shadow FoldersShadow Folders

YesYes NoNo

Page 5: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Traditional Promotion ModelingTraditional Promotion Modeling

Source baselines of varying qualitySource baselines of varying quality

1212 1717 1919 2020

1010 1818 1919 2121

foo.csfoo.cs

bar.csbar.cs

TestTest DevDevProdProd

Page 6: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Team Foundation Promotion ModelingTeam Foundation Promotion Modeling

Branches of varying qualityBranches of varying quality

foo.csfoo.cs

bar.csbar.cs

$/…/Dev$/…/Dev

$/…/Test$/…/Test

$/…/Prod$/…/Prod1818

1818

foo.csfoo.cs

bar.csbar.cs 1313

1313

foo.csfoo.cs

bar.csbar.cs 99

99

1010

1212

1515

1414

1616

1515

2020

1919

2222

2121

2525

2525

1717

1717

2323

2323

2626

2626

2424

2424

2727

2727

Page 7: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Supporting the EnterpriseSupporting the EnterpriseDistributedDistributed DevelopmentDevelopment

Designed for the InternetDesigned for the InternetWeb-based protocols: HTTP & HTTPSWeb-based protocols: HTTP & HTTPS

Optimized for high-latency, low-bandwidth Optimized for high-latency, low-bandwidth scenariosscenarios

New! Caching proxyNew! Caching proxyFile content cached on LANFile content cached on LAN

Ideal for regional officesIdeal for regional offices

Page 8: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Supporting the EnterpriseSupporting the EnterpriseSource Control ProxySource Control Proxy

SOAP Messages

SOAP Messages

SOAP MessagesSOAP Messages

SOAP Messages

SOAP Messages

File TransfersFile Transfers

File TransfersFile Transfers

File Transfers

File Transfers

Page 9: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Supporting the EnterpriseSupporting the EnterpriseSource Control ProxySource Control Proxy

SOAP Messages

SOAP Messages

SOAP MessagesSOAP Messages

SOAP Messages

SOAP Messages

File UploadsFile Uploads

File UploadsFile Uploads

File UploadsFile Uploads

Downloads

Downloads

Page 10: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Source Control Proxy PerformanceSource Control Proxy PerformanceRedmond to RaleighRedmond to Raleigh

ContentContent No ProxyNo Proxy With ProxyWith Proxy35 MB, 1824 Files35 MB, 1824 Files 00:05:2000:05:20 00:00:3200:00:32

80 MB, 8 Files80 MB, 8 Files 00:14:0700:14:07 00:00:2500:00:25

* Raleigh office has 3Mbps of bandwidth shared by ~70 employees.* Raleigh office has 3Mbps of bandwidth shared by ~70 employees.

Page 11: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Efficient File StorageEfficient File Storage

99 1111

1212 1515

1717 1717““The The DeltafierDeltafier””

File CacheFile Cache

File StoreFile Store

Do

wn

loa

Do

wn

loa

ddH

and

ler

Han

dle

r

Up

loa

Up

loa

ddH

and

lH

and

lere

r

Compression + Delta Storage ≈ 70% Space Savings!Compression + Delta Storage ≈ 70% Space Savings!

Get foo.bmp;12Get foo.bmp;1299 1212 1515 1212

CommitCommitfoo.bmpfoo.bmp bar.vbbar.vb

Page 12: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Innovative ShelvingInnovative Shelving

Capture changes without a checkinCapture changes without a checkin Optionally restore unmodified filesOptionally restore unmodified files

Scenarios:Scenarios: Interrupted workInterrupted work Backup/checkpoint work-in-progressBackup/checkpoint work-in-progress Transfer changesTransfer changes Code review or buddy testCode review or buddy test

Page 13: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Shared CheckoutShared Checkout

Shared or exclusive – you choose!Shared or exclusive – you choose! Customize for your team projectCustomize for your team project Customize for file typesCustomize for file types

Exclusive == Lock on checkoutExclusive == Lock on checkout Latest version required for checkinLatest version required for checkin

Page 14: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Supporting the EnterpriseSupporting the EnterprisePlatform SupportPlatform Support Clients shipping with VS 2005Clients shipping with VS 2005

VS2005 Solution Explorer integrationVS2005 Solution Explorer integration Source Control ExplorerSource Control Explorer Command lineCommand line

Coming from partnersComing from partners Unix, Linux, Mac OS clientsUnix, Linux, Mac OS clients Eclipse/Websphere integrationEclipse/Websphere integration

Page 15: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

BugsBugs

RequirementsRequirements

Issues ListIssues List

ChangeChangeRequestsRequests

CustomerCustomerRequestsRequests

What about Changes?What about Changes?

Page 16: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Customized to Your ProcessCustomized to Your ProcessWork Item TypesWork Item Types

Every organization works differentlyEvery organization works differently You must be able to customizeYou must be able to customize

Each type consist of:Each type consist of: Fields, form, rules, statesFields, form, rules, states

Build on standard methodologiesBuild on standard methodologies MSF for Agile Software DevelopmentMSF for Agile Software Development MSF for CMMI Process ImprovementMSF for CMMI Process Improvement

Page 17: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Tightly IntegratedTightly IntegratedWork Item TrackingWork Item Tracking

Version Control check-in linksVersion Control check-in links MS Project and Excel integrationsMS Project and Excel integrations Found In/Fixed In Build IntegrationFound In/Fixed In Build Integration Testing IntegrationTesting Integration Shared InfrastructureShared Infrastructure

ReportingReporting Authorization and SecurityAuthorization and Security Project and Iteration HierarchiesProject and Iteration Hierarchies Email alerts Email alerts

Page 18: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Visual Visual Studio Studio

CheckinCheckin

ValidateValidatePoliciesPolicies

11

Checkin PolicyCheckin PolicyEngineEngine

Checkin PolicyCheckin PolicyEngineEngine

Unit

Test

ing

Unit

Test

ing

WI A

ssoci

ati

on

WI A

ssoci

ati

on

Sta

tic

An

aly

sis

Sta

tic

An

aly

sis

Cust

om

Polic

yC

ust

om

Polic

y

CommitCommitChangesChanges

22

V1V1V1V1V5V5V5V5V4V4V4V4V5V5V5V5

V2V2V2V2V3V3V3V3

Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012

Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012Change Set 727012

Change Set 727011Change Set 727011Change Set 727011Change Set 727011Change Set 727012Change Set 727012Change Set 727012Change Set 727012

WorkItem 33231WorkItem 33231WorkItem 33231WorkItem 33231

UpdateUpdateWork ItemsWork Items

33

Events Raised forEvents Raised for33rdrd party sync purposes party sync purposes

ArtifactArtifactLinkLink

Check E-mailCheck E-mailNotificationNotification

44

Checkin - Under the HoodCheckin - Under the Hood

WorkspaceWorkspace

Integration Integration InfrastructureInfrastructure

Version Version ControlControl

Work Item Work Item TrackingTracking

Page 19: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Build AutomationBuild AutomationOut-of-the-box daily buildOut-of-the-box daily build Good build process is hard to achieveGood build process is hard to achieve

Many shops don’t even botherMany shops don’t even bother

Goal: make it trivial Goal: make it trivial Builds are reproducibleBuilds are reproducible VS Projects are built directlyVS Projects are built directly Builds are scheduled or on-demand Builds are scheduled or on-demand Build report is centrally publishedBuild report is centrally published

Goal: tight integration with VS Team Goal: tight integration with VS Team System toolsSystem tools

Page 20: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Build Automation StepsBuild Automation Steps

Build Build initiated from initiated from

serverserver

Create a Create a build IDbuild ID

Document Document build build

environmentenvironment

Sync Sync sources sources and toolsand tools

Calculate Calculate code churncode churn

Produce Produce build reportbuild report

Publish Publish buildbuild

UpdateUpdatework itemswork items

Calculate Calculate code code

coveragecoverage

Compile and Compile and analyzeanalyze

ExecuteExecuteteststests

Page 21: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

Session SummarySession Summary Version Control is a feature of Team Version Control is a feature of Team

FoundationFoundation Lots of powerful featuresLots of powerful features Team Foundation is ready for the Team Foundation is ready for the

enterpriseenterprise Managing changes made easyManaging changes made easy Automating the build processAutomating the build process

Page 22: Tejasvi Kumar Technology Specialist – VSTS Microsoft Corporation tejkumar@microsoft.com

© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.