+ All Categories
Home > Documents > Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Date post: 06-Apr-2015
Category:
Upload: otto-koenig
View: 112 times
Download: 3 times
Share this document with a friend
31
Visual Studio 2008 Team System {Version Control} Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH
Transcript
Page 1: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Visual Studio 2008 Team System

{Version Control}

Christian Binder

Senior Platform Strategy ManagerMicrosoft Deutschland GmbH

Page 2: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Agenda

Kernkonzepte

Integration mit BuildWorkitem StoreDatawarehouse

Migration

Page 3: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Team Foundation Server Version Control Neues Produkt zur Versionsverwaltung

Basierend auf dem SQL-Server 2005 / 2008 Webservice Mehrschicht Architektur

Unterstützung für verteilte Teams Security und Zuverlässigkeit Proxy support

Partnerlösungen im Client UmfeldUnix, Linux, Mac, Web ClientEclipse Integration (www.Teamprise.com)

Page 4: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Team System – Praxiserprobung„Dogfooding“ – Jan 2008 DevDivBenutzer

Version control users: 2,991

Version controlFiles/Folders: 148,258,991/34,914,899Total compressed file sizes: 1639 GBWorkspaces: 5,275 Shelvesets: 18,165

Page 5: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Version Control Zugriffsmöglichkeiten

Windows with .NET 2.0

TFS Object Model

VS

2

00

5/2

00

8Te

am

Exp

lore

r MSSCCIProvider

VS 2003VS 2002

VS 63rd

Party tools

Non

-Win

dow

s3

rd Pa

rty to

ols

WebServices

CMDTf.exe

Web Access

Page 6: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Version Control Kernkonzepte

Workspaces ChangeSetsPoliciesShelvesBranchesLabels

Page 7: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Workspaces

Visual Studio

WorkspaceWorkspace

TFS

Check-In

Check-Out

C:\TeamProject\MyApp $/TeamProject/MyApp/

Workspace Mapping

Page 8: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

WorkspacesWorkspaces sind Basiskonzept

lokale Kopie der Server Files/FoldersÄnderungen finden isoliert im Workspace stattMit Checkin wird Workspace auf den Server „synchronisiert“

Workspace wird auf dem Server verwaltet

Server kennt Zustand des WorkspacesWorkspaces haben Mappingzu lokalem Folder

Page 9: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Verbesserter Offline Support

Page 10: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

PoliciesPolicies

Work Item ZuordnungTest (Smoke)statische Code AnalyseErfolgreicher BuildPolicy Pack……

Über Plugin Modell erweiterbareigene Checkin Policy erstellen

Page 11: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Changesetslogischer Check-In ContainerChangeset NummernAtomarer Checkin via SQL Server TransaktionStandard Changeset Elemente

Files und zugehörige Branch InformationenMetadaten (Datum, Zeit, User)Kommentare

Lifecycle Changeset ElementeWork ItemsCheck-in NotesPolicy Warnungen

Page 12: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Visual Studio

Checkin

ValidatePolicies

1

Checkin PolicyEngine

Checkin PolicyEngine

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

CommitChanges

2

V1V1V5V5V4V4V5V5

V2V2V3V3

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

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

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

WorkItem 33231WorkItem 33231

UpdateWork Items

3

Events

ArtifactLink

Check E-mailNotification

4

Checkin - Detailbetrachtung

WorkspaceWorkspace

Integration Infrastructure

Version Control

Work Item Tracking

Page 13: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

LocksNone

Bei Konflikten wird Lösung vorgeschlagen

CheckOut LockVerhindert Mehrfach-Auschecken

CheckIn LockErlaubt MehrfachauscheckenVerhindert CheckIn bei anderen

Unchanged

Page 14: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Shelves

Änderungen ohne CheckIn aufbewahren

Kein CheckIn geht nicht in Source Branch einShelved Änderung via Unshelve wiederherstellbar

Einsatzgebiete Unterbrechung der Arbeit (Pre Weekend Code)Unfertigen Code verteilen z.B. Code Reviews Zwischen-Backup

Page 15: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

{Kernkonzepte}

Demo

Page 16: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Branching , Merging & Label

Main

1.0

Branch Merge

Release 1.0

Bug/Fix

Label

Page 17: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Branching & Merging

Branching erlaubt eine unabhängige Code Basis in ein separatem Bereich (Branch) zu erzeugenBranch HistoryMerging erlaubt Änderungen zwischen Branches abzugleichen

Page 18: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

{Branching}

Demo

Page 19: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Feature Branches

Main

Production

Release to QA

Beta1

Merge Fix

RTM

Approved Hotfix

Dev

FeatureBranch 1

FeatureBranch 2

Forward Integration (FI)

Reverse Integration (RI)

FIRI RI FB2RI FB1 FI

Page 20: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Drop

Version Control

Build Integration

Build

ConsoleBuild_20070201.1

Get Files

ConsoleBuild_20070201.1

Release\Console.exe

Label

Build&Drop

Start

ConsoleBuild_20070201.1

Page 21: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

{Build + Work Item Integration}

Demo

Page 22: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Work Item Integration

Page 23: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Reporting: Code Churn

Test raten

Code Churn(Code

Änderungen)

Page 24: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Reporting mit Excel 2007

Page 25: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

MigrationManueller (Export/Import) geht immerVisual Source Safe ConverterTeam Foundation Server Migration Tool for Rational® ClearCase®CS Converter von ComponentSoftware

Migriert GNU RCS, CS-RCS, GNU CVS, und Subversion (SVN)

Team Foundation Server Migration and Integration Solutionshttp://msdn2.microsoft.com/en-us/teamsystem/bb840033.aspx

Page 26: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Agenda

Kernkonzepte

Integration mit BuildWork Item StoreDatawarehouse

Migration

Page 27: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Launch Sessions zu VSTS 2008

Erfolgreiche Softwareprojekte mit Visual Studio Team System 2008

Marcus Alt, TDM Track, Mittwoch 09:15 Uhr

Visual Studio Team System 2008 im ÜberblickChristian Binder, DEV Track1, Mittwoch 11:00 Uhr

Visual Studio Team Edition for Database ProfessionalsBernhard Frank, DEV Track2, Mittwoch 13:45 Uhr

Bessere Applikationen entwickeln durch Integrierte Qualitätssicherung mit Visual Studio Team System 2008

Christian Binder, DEV Track1, Mittwoch 15:30 Uhr

Page 28: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Visual Studio 2008weitere Angebote

Visual Studio Team System Information DayRegelmäßige ganztägige Informationsveranstaltung von MicrosoftPraxisnahe Demos & viel Raum für DiskussionenDetails & Anmeldung: www.event-team.com/events/visualstudio

TeamConf 2008 – Die Visual Studio Team System KonferenzVSTS in der Praxis - 22.-24. April 2008 in MünchenAnwenderberichte (Siemens, ABB, Commerzbank, Datev, Münchener Rück,..)Fach- und TechnologievorträgeVortragsprogramm und Anmeldung: www.teamconf.de

Visual Studio Launch PromotionTauschen Sie Ihre Visual Studio Standard in eine höherwertige Visual Studio Edition Ihrer Wahl Anrechnung in Höhe von 299 € beim Kauf eines anderen VS Produktesvom 19. Februar bis zum 30. April 2008Nur bei den Partnern: PC Ware, SoftExpress, SOS und Zoschke (befinden sich alle in der Ausstellerhalle)

Page 29: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Fragen?

Vielen Dank!

Christian Binder [email protected]://blogs.msdn.com/cbinder

Page 30: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

Weitere Informationen

Patterns and Practises VSTSGuidancehttp://www.codeplex.com/VSTSGuidance

Explained - Managing Source Control Dependencies

Patterns and Practises Branching Guidancehttp://www.codeplex.com/BranchingGuidanceTFS Version Control Dokumentationhttp://msdn2.microsoft.com/en-us/library/ms181368.aspx

TFS Version Control Extensibility http://msdn2.microsoft.com/en-us/library/bb130331(VS.80).aspx

TFS Version Control API Referencehttp://msdn2.microsoft.com/en-us/library/bb130334(VS.80).aspx

Page 31: Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.

© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Recommended