1 / 31

Visual Studio 2008 Team System { Version Control }

Visual Studio 2008 Team System { Version Control }. Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH. Agenda. Kernkonzepte Integration mit Build Workitem Store Datawarehouse Migration. Team Foundation Server Version Control .

kyoko
Télécharger la présentation

Visual Studio 2008 Team System { Version Control }

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visual Studio 2008 Team System{Version Control} Christian Binder Senior PlatformStrategy ManagerMicrosoft Deutschland GmbH

  2. Agenda • Kernkonzepte • Integration mit • Build • Workitem Store • Datawarehouse • Migration

  3. Team Foundation ServerVersion 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 Umfeld Unix, Linux, Mac, Web Client Eclipse Integration (www.Teamprise.com)

  4. Team System – Praxiserprobung„Dogfooding“ – Jan 2008 DevDiv Benutzer Version control users: 2,991 Version control Files/Folders: 148,258,991/34,914,899 Total compressed file sizes: 1639 GB Workspaces: 5,275 Shelvesets: 18,165

  5. Version Control Zugriffsmöglichkeiten 3rd Party tools Non-Windows 3rd Party tools Web Access VS 2005/2008 Team Explorer VS 2003 VS 2002 VS 6 CMD Tf.exe MSSCCI Provider TFS Object Model Windows with .NET 2.0 WebServices

  6. Version Control Kernkonzepte • Workspaces • ChangeSets • Policies • Shelves • Branches • Labels

  7. Workspaces Visual Studio TFS Workspace Check-In Check-Out $/TeamProject/MyApp/ C:\TeamProject\MyApp Workspace Mapping

  8. Workspaces • Workspaces sind Basiskonzept • lokale Kopie der Server Files/Folders • Änderungen finden isoliert im Workspace statt • Mit Checkin wird Workspace auf den Server „synchronisiert“ • Workspace wird auf dem Server verwaltet • Server kennt Zustand des Workspaces • Workspaces haben Mappingzu lokalem Folder

  9. Verbesserter Offline Support

  10. Policies • Policies • Work Item Zuordnung • Test (Smoke) • statische Code Analyse • Erfolgreicher Build • Policy Pack…… • ÜberPluginModellerweiterbar • eigeneCheckin Policy erstellen

  11. Changesets • logischer Check-In Container • ChangesetNummern • Atomarer Checkinvia SQL Server Transaktion • Standard Changeset Elemente • Files und zugehörige Branch Informationen • Metadaten (Datum, Zeit, User) • Kommentare • Lifecycle ChangesetElemente • Work Items • Check-in Notes • Policy Warnungen

  12. Checkin 3 Update Work Items Artifact Link 2 1 Validate Policies Commit Changes Checkin Policy Engine Change Set 727012 WI Association Unit Testing Static Analysis Custom Policy 4 Check E-mail Notification Events Checkin - Detailbetrachtung Visual Studio WorkItem 33231 Work Item Tracking Workspace Change Set 727012 Change Set 727012 Change Set 727012 Change Set 727012 Change Set 727011 V2 V1 V5 V3 V4 V5 Version Control Integration Infrastructure

  13. Locks • None Bei Konflikten wird Lösung vorgeschlagen • CheckOut Lock VerhindertMehrfach-Auschecken • CheckIn Lock ErlaubtMehrfachauschecken Verhindert CheckIn bei anderen • Unchanged

  14. Shelves • Änderungen ohne CheckIn aufbewahren • Kein CheckIn geht nicht in Source Branch ein • Shelved Änderung via Unshelve wiederherstellbar • Einsatzgebiete • Unterbrechung der Arbeit (Pre Weekend Code) • Unfertigen Code verteilen z.B. Code Reviews • Zwischen-Backup

  15. {Kernkonzepte} Demo

  16. Branching , Merging & Label Release 1.0 Label Main Branch Merge 1.0 Bug/Fix

  17. Branching & Merging • Branching erlaubt eine unabhängige Code Basis in ein separatem Bereich (Branch) zu erzeugen • BranchHistory • Merging erlaubt Änderungen zwischen Branches abzugleichen

  18. {Branching} Demo

  19. Feature Branches FeatureBranch 1 Dev FeatureBranch 2 RI FI FI RI FB1 RI FB2 Main Release to QA Merge Fix Production Beta1 RTM Approved Hotfix Reverse Integration (RI) Forward Integration (FI)

  20. Build Integration Start Version Control Build Get Files ConsoleBuild_20070201.1 Label ConsoleBuild_20070201.1 Build&Drop Drop ConsoleBuild_20070201.1 Release\Console.exe

  21. {Build + Work Item Integration} Demo

  22. Work Item Integration

  23. Reporting: Code Churn Test raten Code Churn (Code Änderungen)

  24. Reporting mit Excel 2007

  25. Migration Manueller (Export/Import) geht immer Visual Source Safe Converter Team 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

  26. Agenda • Kernkonzepte • Integration mit • Build • Work Item Store • Datawarehouse • Migration

  27. 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 Überblick • Christian Binder, DEV Track1, Mittwoch 11:00 Uhr • Visual Studio Team Edition for Database Professionals • Bernhard 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

  28. Visual Studio 2008weitere Angebote • Visual Studio Team System Information Day • Regelmäßige ganztägige Informationsveranstaltung von Microsoft • Praxisnahe Demos & viel Raum für Diskussionen • Details & Anmeldung: www.event-team.com/events/visualstudio • TeamConf 2008 – Die Visual Studio Team System Konferenz • VSTS in der Praxis - 22.-24. April 2008 in München • Anwenderberichte (Siemens, ABB, Commerzbank, Datev, Münchener Rück,..) • Fach- und Technologievorträge • Vortragsprogramm und Anmeldung: www.teamconf.de • Visual Studio Launch Promotion • Tauschen 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 Produktes • vom 19. Februar bis zum 30. April 2008 • Nur bei den Partnern: PC Ware, SoftExpress, SOS und Zoschke(befinden sich alle in der Ausstellerhalle)

  29. Fragen? Vielen Dank! Christian Binder cbinder@microsoft.com http://blogs.msdn.com/cbinder

  30. WeitereInformationen • Patterns and PractisesVSTSGuidancehttp://www.codeplex.com/VSTSGuidance • Explained - Managing Source ControlDependencies • Patterns and Practises Branching Guidancehttp://www.codeplex.com/BranchingGuidance • TFS 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

  31. © 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.

More Related