Visual SourceSafe Seamless Integration. 2 Agenda  Version Control  Architecture  Features  Integration  Configuration & Maintenance  Questions.

Slides:



Advertisements
Similar presentations
Team Development Using Visual Studio 6.0 Martyn Lovell Development Lead Visual Studio Enterprise Microsoft Corporation
Advertisements

OVERVIEW TEAM5 SOFTWARE The TEAM5 software manages personnel and test data for personal ESD grounding devices. Test and personnel data may be viewed/reported.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Dedi Rahmawan Putra  Shared Document  Conventional Ways  Common Problems  What is TortoiseSVN  Advantages over another tools  Basic Concepts.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Concepts of Version Control A Technology-Independent View.
Michael Donovan, River Campus Libraries – 12/03 DocuShare Overview and Training.
CVS Selim Çıracı Ahmet Kara Metin Tekkalmaz. CVS – Open Source Version Control System Outline What are Version Control Systems? And why do we need them?
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
MIS 431 Chapter 71 Ch. 7: Advanced File Management System MIS 431 Created Spring 2006.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
Microsoft Visual Source Safe 6.01 Microsoft Visual Source Safe (MVSS) Presented By: Rachel Espinoza.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 7: Advanced File System Management.
Source Code Management Or Configuration Management: How I learned to Stop Worrying and Hate My Co-workers Less.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
1 Chapter Overview Creating User and Computer Objects Maintaining User Accounts Creating User Profiles.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
SubVersioN – the new Central Service at DESY by Marian Gawron.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Software Configuration Management (SCM)
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 7: Advanced File System Management.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Overview of SQL Server Alka Arora.
Using Microsoft FrontPage and Visual InterDev Stephen W. Meeley Vice President Product Management.
Week 9 Objectives Securing Files and Folders Protecting Shared Files and Folders by Using Shadow Copies Configuring Network Printing.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 12 1 Microsoft Office Access 2003 Tutorial 12 – Managing and Securing a Database.
15 Maintaining a Web Site Section 15.1 Identify Webmastering tasks Identify Web server maintenance techniques Describe the importance of backups Section.
Section 15.1 Identify Webmastering tasks Identify Web server maintenance techniques Describe the importance of backups Section 15.2 Identify guidelines.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
1 Lecture 19 Configuration Management Software Engineering.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Version control Using Git Version control, using Git1.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
Version Control Systems with Subversion (SVN) and Tortoise.
1 Administering Shared Folders Understanding Shared Folders Planning Shared Folders Sharing Folders Combining Shared Folder Permissions and NTFS Permissions.
11 DISASTER RECOVERY Chapter 13. Chapter 13: DISASTER RECOVERY2 OVERVIEW  Back up server data using the Backup utility and the Ntbackup command  Restore.
Microsoft Visual SourceSafe “(VSS) does not eliminate the need for discipline and coordination. It only makes discipline and coordination easier to live.
Understanding StarTeam Enterprise Advantage Course #4124.
CharMeck.org Contributer Training SharePoint 2013 Orientation and Basic Training.
Getting Started with Word & Saving Guided Lesson.
1 MSTE Visual SourceSafe For more information, see:
Module 9 User Profiles and Social Networking. Module Overview Configuring User Profiles Implementing SharePoint 2010 Social Networking Features.
12 Copyright © 2009, Oracle. All rights reserved. Managing Backups, Development Changes, and Security.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Neil Kidd Developer Tools Technical Specialist Microsoft UK.
Visual Source Safe –A Quick Tour. CONTENTS What is VSS ? How to install VSS ? How does VSS track versions? VSS Concepts & Features Utilities available.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
LECTURE 2: Software Configuration Management
Understanding File Management
Section 15.1 Section 15.2 Identify Webmastering tasks
Concurrent Version Control
LECTURE 3: Software Configuration Management
Microsoft Visual Source Safe How & Why
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Visual SourceSafe Seamless Integration

2 Agenda  Version Control  Architecture  Features  Integration  Configuration & Maintenance  Questions

3 I can’t stand it when I...  lose or overwrite my files!  want to restore to an old version!  have to merge changes with another developer !  need to compare differences !  need to find out who’s been messing with my code !  have a shared component but it’s in several different places ! “Someone may decide a day or two later that the changes should not have been made. With Visual SourceSafe, it's no problem-we just roll it back to the previous version," Brad Young, SPRY Webmaster

“Version Control should be like air. You don’t see it, but it’s always there keeping you alive.” Microsoft® Visual SourceSafe®

5 SourceSafe Usage  Source Code Control  Web Management  Document Tracking  Text or Binary Files

6 Basic Purposes of Visual SourceSafe  Version control systems in general... Support team development, by coordinating multiple users through a checkout/checkin protocol Support team development, by coordinating multiple users through a checkout/checkin protocol Track versions of files Track versions of files  SourceSafe’s competitive advantage... Track versions of entire projects Track versions of entire projects Track modular code: one file that is reused, or shared, by multiple projects Track modular code: one file that is reused, or shared, by multiple projects

 Secure and scalable  Project oriented  Advanced yet easy  Manage Web sites, source code, and ordinary documents  Integration with Microsoft and third-party products Design Themes

8 Key SourceSafe Concepts  All your files are stored in a centralized database on the server  Any kind of files can be stored in SourceSafe: code, DLLs, graphics, documents, help files, icons, …  A project is a collection of files in the SourceSafe database, analogous to a folder in Windows

9  Project Oriented Share files Share files Synchronize changes Synchronize changes Project history Project history  Reverse Delta Storage Rapid file access Rapid file access Minimize disk space Minimize disk space Restore past versions Restore past versions  Any Type Content Source code Source code Application components Application components Web content Web content Documents Documents Architecture Benefits

10 The SourceSafe Explorer

11 “Visual SourceSafe looks just like Windows Explorer, so there’s no learning curve at all…” Jamie MacLennan,Software Engineer,Micrografx Ease of Use  Drag-and-drop functionality from Windows Explorer  Menus, toolbars, right-click  Customizable

12 Visual SourceSafe, Editing Tools, and the Working Folder  You store and track your files in SourceSafe projects  You edit and compile your files in the “working folder” which your editing tools see  Your tool does not have to know about SourceSafe, and vice-versa! Working Folder (e.g. C:\WORKING) SourceSafe projects (eg $/A/B)

13 The SourceSafe Administrator

14 Administrator  Security Read-Only Users Read-Only Users Rights by Project Rights by Project Rights by User Rights by User  Other Exclusive Checkouts Exclusive Checkouts Archive / Restore Archive / Restore Web Projects Web Projects Shadow Folders Shadow Folders

15 Features  Merge  Visual Comparisons  Branching  Pinning  Shadowing  Promotion  Archiving  Security and Administration  Web Features  Reporting And many, many more...

16 The Four Key Commands  Get: Give me a local copy of a file or project in my working folder, read-only, to view or compile  Check Out: Give me a local copy of a file or project, writable, to edit. (*May or may not be exclusive!)  Check In: Copy my edited file back into SourceSafe, available to other users. (Stores old versions with reverse deltas.)  Undo Check Out: Cancel my check out, voiding all the changes I made

17 Other Important Commands  Create Project: Create a new project  Add Files: Add files to a project  Delete: Delete a file or project  Difference: Show me what changed in this file or project  Share: Copy files from other projects into the current project  History: Show me all the versions of this file or project

18 The Visual SourceSafe Command Line  All SourceSafe functionality fully available from the command line (except some of the Web- specific features)  Great for macros, batch files, and integration: also sometimes faster to use than the GUI  Commands look like “SS Get FU.Cls” (means, “Get this file from the current project into my current folder”)

19 Advanced Visual SourceSafe  Web Features  Sharing  Pinning  Branching/Merging  Customization  The SourceSafe Command Line

20 Other advanced features  “Keyword expansion” puts version control information directly into your source file  “Shadow folders” create a public share that echoes a SourceSafe project  “OLE Automation” lets you drive SourceSafe from VC++ or VB  Label Promotion allows you to retrofit a file to a previously applied label  Branching and Merging allows parallel development

21 Sharing  Sharing is how you track reusable files  Technically, sharing means that one file is in multiple projects at the same time  All updates are automatically propagated, since there is only one file  There is no “master project”: all sharing projects are peers  Use the Links tab (Options dialog) to track Shared files

22 Sharing  “$/A and $/B share Fu.cls” … or…  “Fu.cls is in $/A and $/B”  In this picture, the file has 5 versions. If either project checks in the file, both projects will be on version 6.0 $/A$/B Fu.cls

23 Branching / Merging Release 1.0 Release 2.0 Release 1.1 (bugfix) branch merge

24 Visual Merge

25 SourceSafe Web Features If you are using SourceSafe to manage your Web site…  “Deploy” copies your files to the live Web server (via directory path or FTP)  “Check Hyperlinks” checks the validity of internal or external links  “Create Site Map” creates an HTML site map you can post on your page

26  All Visual SourceSafe operations performed by FrontPage® Server Extensions  No Visual SourceSafe client necessary on workstations  Authentication based on Web-server authentication  Run NTFS! Visual SourceSafe repository Check in and check out FrontPage 97 Windows Visual InterDev® FrontPage 97 Mac Web staging server HTTP Web Development

27 Web Security  Keep VSS integrated (development) on a different server than the production server  Web servers only respond to HTTP requests and cannot access the VSS directories.  No security breaches specific to VSS Resources:  p 

28 SourceSafe Integration into Editing Environments  “Integration” means you can execute SourceSafe commands directly inside your editing environment.  SourceSafe commands are added to the application’s menus.  Developers can perform checkouts / checkins and other operations without leaving the development environment.  Some less commonly used commands still require the SourceSafe Explorer.

29 Integrated Applications  Microsoft Visual Basic®  Microsoft Visual C++®  Microsoft Visual FoxPro®  Microsoft Visual InterDev®  Microsoft Visual Modeler  Microsoft Visual J++®  Microsoft Access  Microsoft FrontPage  Third-Party Applications

30 Integration Technologies  Source Control API SSCC.DLL SSCC.DLL Can be used by other SCC providers (e.g. PVCS) Can be used by other SCC providers (e.g. PVCS) Used by VB, VC,VFP..... Used by VB, VC,VFP.....  OLE Automation Recommended method Recommended method Used by FrontPage and Visual InterDev Used by FrontPage and Visual InterDev

31 Example - VFP Integration

32 Example - Visual InterDev

33 Configuration and Maintenance  Database Size  Analyze  Backup strategies  Best Practices

34 Database Size  Should be < 3 GB  Unrelated projects can be in separate databases  Performance considerations  Free disk space should be >= database size  How long does Analyze take?

35 Analyze  Should be run regularly (once per week or month, depends on usage)  Should be run on the server  Switches Run with no switches then review the output Run with no switches then review the output - or - Run with -f -d -c -v# Run with -f -d -c -v#  Needs disk space

36 Backup Strategies  Back up the Data directory  Should be done regularly  Full backup (not incremental)  Do not restore over the current directory  SSARC can be used as a supplemental backup

37 Best Practices  Make sure you don’t run out of disk space !!  Synchronize all clocks with the server  Use individualized working folders when doing multiuser development  Bloated SS.INI files can cause slow performance  Plan carefully, especially for sharing and branching  Make sure you don’t run out of disk space !!

38 Summary  Don’t lose your data  Protect any type of file  Increase team productivity  Version control can be transparent

39