You are on page 1of 26

VISUAL SOURCE SAFE

- Beginners Guide

What is Version Control?


Deployed by all industries Track History Enables further revisions and future upgrades Easy to retrieve

Loans & Mortgages

Need of Version Control


Cross-platform

development tracking portability issues involved in maintaining one code base across multiple development platforms.
Reusable

or object-oriented code - tracking which programs use which modules so that code can be reused.

Version Tracking - Contd..,

Labels. These are strings that you can apply to any version of a file or project. A label is a free-form string of up to 31 characters. The following are all valid labels: "1.0", "2.01b", "Field Test 3", and "Approved by QA". Date/Time stamp. Tells when a file was last modified, or when a file was checked in. VSS supports both 12-hour format (with "a" or "p suffix) and 24-hour format.

What is CI?

Configuration means anything that can be changed CI or Configuration Item includes all software components that can be changed

Documents Plans Source Code Users


Loans & Mortgages

Software Configuration Management

SCM is a software engineering discipline comprising the tool and techniques that a company uses to manage change to its software assets.

Loans & Mortgages

Best Practices of SCM


Identification

of configuration

items.
Change Audit

control of configuration items. of configuration items.


Recording

and reporting of information needed to manage configuration items.

VSS - Features

Microsoft VSS helps you manage your projects, regardless of the file type (text files, graphics files, binary files, sound files, or video files) by saving them to a database. VSS project organization makes team coordination easy and intuitive VSS can be easily integrated with Microsoft development tools. Eg., Access, VB, V C++.
Loans & Mortgages

VSS - Terminology

Project: Group of related files, typically all the files required to develop a software component. Files can be grouped within a project to create subprojects. Sub Project : Project within a parent project Working Folder: Specified folder on a user's local computer used to store files when they are checked out of the VSS database.
Loans & Mortgages

VSS - Terminology

Checkout-File: File that has been reserved for work by a user. Users check out files to make changes to them. In the default configuration, VSS allows only one user at a time to check out a file. Checking out a file copies its latest version into the user's working folder. Label : User-defined name you can attach to a specific version number of a file or project. Loans & Mortgages

VSS Setup in Polaris

VSS Server

Neccm

Vss Client

Vss Client

Vss Client

Vss Client Vss Client

Vss Client
Loans & Mortgages

VSS - Client Short cut Creation

the Desktop, right click -> New -> shortcut -> Browse -> Network Neighborhood -> entire network -> microsoft windows network -> foundations -> NECCM -> VSS -> win32 -> Ssexp.exe

On

Open the Database

Open Source Safe Database -> Browse -> Network Neighborhood -> entire network -> microsoft windows network -> foundations -> NECCM -> NECGBS ->srcsafe.ini click on OPEN and OK. Now your Project Database is added & click on OPEN.

Loans & Mortgages

VSS TERMINOLOGY

Contd..

Multiple Checkouts : Simultaneous check outs


by two or more users. The VSS administrator must enable multiple check out. Source Code Control : The management of a file's change history and the file's relation to a larger grouping of related files known as a project. Source code control is a vital part of the efficient development of software applications. VSS is a project-oriented source code control.

Loans & Mortgages

Labeling of Files/Projects

To label the current version of a file or project:

Select the file or project you want in VSS Explorer. On the File menu, click Label to display the Label dialog box. In the Label box, type a string of up to 31 characters; optionally, in the Comment box, type a comment. Click OK.
Loans & Mortgages

To label an older version of a file or project:

Select the file or project you want in VSS Explorer. On the Tools menu, click Show History to display the History dialog box. Click Details to display the History Details dialog box. In the Label box, type a user-defined label; optionally, in the Comment box, type a comment. Click Close to exit the History Details dialog box.
Loans & Mortgages

VSS - Access Rights


Read Checkin/Check

out Add/Remove/Delete Destroy

Access Rights

Read General Rights , allows you to access (Read) the File Checkout / Checkin To make a writable copy of the file, to be modified(Checkout) To save the changes in to the repository (Checkin)

Loans & Mortgages

Access Rights

Add/Remove/Delete

To Add/Delete the files of Folders in VSS Database. To destroy the Projects from VSS. Normally assigned only to Project Manager.
Loans & Mortgages

Destroy

By default VSS Admin has Full Control.

Checkout

Loans & Mortgages

Checkin

Loans & Mortgages

History

Loans & Mortgages

Share

Loans & Mortgages

How to get a Latest Version


Select the database & respective Folder Choose the Get Latest Version Specify the working folder.

Loans & Mortgages

To get a Specific Version


Right click on the database & choose the Show history option Select the Label & Choose the Get option Give the Working Folder option .

Loans & Mortgages

Conclusion

Loans & Mortgages

You might also like