1 / 27

Steven Borg | Co-founder & Strategist, Northwest Cadence

05 | Administer Version Control. Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM. Module Overview. Create and manage workspaces Configure version control proxy Configure team project version control settings.

zanthe
Download Presentation

Steven Borg | Co-founder & Strategist, Northwest Cadence

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. 05 | Administer Version Control Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM

  2. Module Overview • Create and manage workspaces • Configure version control proxy • Configure team project version control settings

  3. Create and manage workspaces

  4. What the Study Guide says… • Create and manage workspaces. • cloaking, undoing delete, and modifying a workspace • deleting a workspace; specifying workspace visibility • unlocking other users’ checkouts, pending changes, and code • choosing a default workspace type for a collection • deleting a shelveset

  5. MSDN Resources

  6. Edit Workspace Settings • Command line: Use tf workspace • UI: Use Manage Workspaces -> Advanced

  7. Cloaking a Working folder • Command line: Use tfworkfold • UI: Use Manage Workspaces

  8. Undeleting a File • To restore an item deleted from the server • From the menu bar choose Tools, Options. • On the Options dialog box, navigate to Source Control, Visual Studio Team Foundation Server. • Select Show deleted items in the Source Control Explorer, and then choose OK. • From the menu bar choose View, Other Windows, Source Control Explorer. • In Source Control Explorer, navigate to the folder that contains the item you want to restore. • Open the item’s shortcut menu and then choose Undelete.

  9. Configure Default Workspace Type • Default workspace types (local vs server) can be set at the collection level.

  10. Create and Manage Workspaces

  11. Configure version control proxy

  12. What the Study Guide says… • Configure version control proxy. • setting up the cache hit ratio • setting up the cache size • setting up for multiple Team Foundation Server servers

  13. MSDN Resources

  14. Installing a Proxy Server

  15. Measuring the Cache Hit Ratio • To view cache performance by using the ProxyStatistics Web service • Log onto the server whose performance you want to monitor • For Team Foundation Server Proxy using the default settings for port: http://localhost:8081/VersionControlProxy/v1.0/ProxyStatistics.asmx • ClickQueryProxyStatistics, and then click Invoke • An XML output file shows data including OverallCacheMisses, CacheHitsPercentage, and CacheMissPercentage <ProxyStatisticsInfoCurrentCacheSize="356352" NoOfRequests="82" OverallCacheHits="41" NoOfFilesInCache="41" OverallCacheMisses="41" CacheHitsPercentage="50" CacheMissPercentage="50" />

  16. Proxy.config <?xml version="1.0" encoding="utf-8"?> <ProxyConfigurationxmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Servers> <Server><Uri>http://vsalm:8080/tfs/fabrikamfibercollection/</Uri></Server> <Server> <Uri>http://vsalm:8080/tfs/tailspintoyscollection/</Uri> </Server> </Servers> <!-- Proxy file cache root folder --> <CacheRoot>C:\Program Files\Microsoft Team Foundation Server 11.0\Version Control Proxy\_tfs_data</CacheRoot> <CacheLimitPolicy> … <!-- Cache limit expressed as percentage of disk space --> <PercentageBasedPolicy>75</PercentageBasedPolicy> <!-- Cache limit expressed as MB --> <!-- <FixedSizeBasedPolicy></FixedSizeBasedPolicy> --> </CacheLimitPolicy>

  17. Proxy.config (cont) <!-- The maximum age (in days) of content in the cache following a cleanup operation --> <DeletionAgeThreshold>30</DeletionAgeThreshold> <!-- Percentage of cache size that needs to be freed up, on hitting cache limit --> <CacheDeletionPercent>10</CacheDeletionPercent> <!-- Indicates how often (number of hours) the proxy statistics information should be persisted to a file--> <StatisticsPersistTime>1</StatisticsPersistTime> </ProxyConfiguration>

  18. Configure Version Control Proxy

  19. Configure team project version control settings

  20. What the Study Guide says… • Configure team project version control settings. • enabling multiple checkout • enabling get latest on checkout • configuring check-in policies for a team project (Work Items, builds, code analysis, testing policies)

  21. MSDN Resources

  22. Configuring Checkout Settings • To configure checkout settings • In Team Explorer, select the team project for which you want to configure check-out settings. • From the Team menu, click TeamProjectSettings, and then click SourceControl. • In the SourceControlSettings dialog box, select the Check-out Settings tab. • Select or clear the Enable multiple checkout box. • Select or clear the Enable get latest on check-out box. • Click OK.

  23. Configuring Check-in Policies

  24. Code Analysis Policy Editor

  25. Configure team project version control settings

  26. EXAM BEST BETS • Understand the differences between local and server workspaces • Be able to explain cloaked folders • Know the available options for configuring a proxy server • Especially the options found in Proxy.config • Practice setting up version control check-in policies, especially those that come out-of-the-box • Work Items, Builds, Code Analysis • Understand how to undelete a file

More Related