VISUAL SOURCE VISUAL SOURCE SAFE SAFE - Beginner’s Guide
Nov 14, 2014
VISUAL SOURCE VISUAL SOURCE SAFESAFE
- Beginner’s Guide
Loans & Mortgages
What is Version Control?
Deployed by all industries Track History Enables further revisions and
future upgrades Easy to retrieve
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.
Loans & Mortgages
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.
Best Practices of SCM
Identification of configuration items. Change control of configuration items. Audit of configuration items.Recording and reporting of information needed to manage configuration items.
Loans & Mortgages
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
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.
VSS - Access Rights
ReadCheckin/Check outAdd/Remove/Delete Destroy
Loans & Mortgages
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. Destroy
To destroy the Projects from VSS. Normally assigned only to Project
Manager. By default VSS Admin has Full Control.
Loans & Mortgages
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
ConclusionConclusion