Microsoft Visual SourceSafe explained

Visual SourceSafe
Author:One Tree Software
Developer:Microsoft
Discontinued:yes
Latest Release Version:2005 (8.0.50727.42)
Operating System:Windows
Genre:Version control
License:Proprietary commercial software

Microsoft Visual SourceSafe (VSS) is a discontinued source control program oriented towards small software development projects. Like most source control systems, SourceSafe creates a virtual library of computer files. While most commonly used for source code, SourceSafe can handle any type of file in its database, but older versions were shown[1] [2] to be unstable when used to store large amounts of non-textual data, such as images and compiled executables.

History

SourceSafe was originally created by a North Carolina company called One Tree Software. One Tree SourceSafe had gone through several releases in their 1.x to 2.x cycles, supporting DOS, OS/2 (with a Presentation Manager GUI), Windows, Windows NT, Mac, and Unix. When Microsoft bought OneTree in 1994,[3] they immediately ceased development on all versions except for Windows. Microsoft SourceSafe 3.1, Windows 16-bit-only and Macintosh,[4] rebranded One Tree 3.0 versions, were briefly available before Microsoft released a Version 4.0. With the acquisition of One Tree Software, Microsoft discontinued its source code control product at the time, Microsoft Delta.[5] [6] After the acquisition, Mainsoft Corporation developed SourceSafe for UNIX in cooperation with Microsoft.[7] Later, Metrowerks, Inc. developed Visual SourceSafe for Macintosh in cooperation with Microsoft.[8]

Overview

SourceSafe was initially not a client/server Source Code Management, but rather a local only SCM system. Architecturally, this serves as both a strength and weakness of design, depending on the environment it is used in. It allows a single user system to be set up with less configuration than that of some other SCM systems. In addition, the process of backing up can be as simple as copying all of the contents of a single directory tree. For multi-user environments, however, it lacks many important features found in other SCM products, including support for atomic commits of multiple files (CVS has the same problem as it is built upon the original RCS). SourceSafe inherits its shared functionality using direct remote file system access to all the files in the repository. This, together with historic bugs in the codebase, occasionally led to SourceSafe database corruption, a problem noted by Microsoft.[9]

Starting with VSS 2005, Microsoft added a client–server mode. In this mode, clients do not need write access to a SMB share where they can potentially damage the SS database. Instead, files must be accessed through the VSS client tools - the VSS windows client, the VSS command-line tool, or some application that integrates with or emulates these client tools.

Versions

VersionDate
3.1February 14, 1995
4.0September 12, 1995[10]
5.0October 7, 1996[11]
6.0June 3, 1998 [12]
6.0c (Build 9350)2001[13]
2005January 27, 2006 [14]

Criticism

Visual SourceSafe's stability is criticised due to the way Visual SourceSafe uses a direct, file-based access mechanism that allows any client to modify a file in the repository after locking it. If a client machine crashes in the middle of updating a file, it can corrupt that file.[15] Many users of Visual SourceSafe mitigate this risk by making use of a utility provided by Visual SourceSafe that checks the database for corruption and, when able, corrects errors that it finds.

Microsoft in-house use

Although "eating their own dog food" is often said to be part of Microsoft's culture,[16] VSS appears to be an exception; it is widely rumored[17] that very few projects within Microsoft relied on Visual SourceSafe before the product was discontinued, and that the predominant tool at the time was SourceDepot. According to Matthew Doar:[18]

The Microsoft Developer Division was using Team Foundation Server for most of its internal projects,[19] although a VSS transcript implied that other large teams use "a mix of customized in-house tools."

Microsoft has since moved on to using Git.[20]

Updates

An updated version called Visual SourceSafe 2005 was released in November 2005, promising improved performance and stability, better merging for Unicode and XML files, as well as the ability to check files out over HTTP. It was included with Visual Studio 2005 Team System editions,[21] but is not included with Visual Studio Team System 2008.

At the same time, Microsoft also introduced a source control called Team Foundation Version Control (TFVC), which was part of project lifecycle management product Visual Studio Team System. This product addresses many of the shortcomings of Visual SourceSafe, making it suitable for larger teams requiring high levels of stability and control over activities.

With Visual Studio 2010, Microsoft no longer distributes Visual SourceSafe. Microsoft now offers Team Foundation Server Basic for smaller development teams.[22] [23] There is a hotfix so existing SourceSafe customers can use SourceSafe with Visual Studio 2010.

The final version of the product, Visual SourceSafe 2005, retired from mainstream support on 10 July 2012 with extended support ending on 11 July 2017.[24]

Further reading

See also

Notes and References

  1. Web site: De Smet. Alan. Visual SourceSafe: Microsoft's Source Destruction System. 2009-04-15. 2010-09-19.
  2. Web site: Bolton. Michael. Visual SourceSafe Version Control: Unsafe at any Speed?. 2003-01-28. 2010-09-19.
  3. Web site: Company News; Microsoft Says It Has Acquired One Tree Software . The New York Times . November 16, 1994 . 2007-11-21.
  4. Web site: MICROSOFT SHIPS SOURCESAFE SOURCE-CODE-MANAGEMENT SYSTEM. The Free Library by Farlex. 21 May 2014.
  5. Web site: MICROSOFT CORPORATION ACQUIRES ONE TREE SOFTWARE. The Free Library by Farlex. 21 May 2014.
  6. News: Gross. Daniel. Go Configure. 21 May 2014. CIO Magazine. November 15, 1995.
  7. Web site: Mainsoft to ship Visual SourceSafe for UNIX. The Free Library by Farlex. 21 May 2014.
  8. Web site: Metrowerks Signs Exclusive License for Microsoft Visual SourceSafe on Mac OS. The Free Library by Farlex. 21 May 2014.
  9. Web site: SourceSafe database corruption. Microsoft. 18 Dec 2014.
  10. Web site: MICROSOFT ANNOUNCES VISUAL SOURCESAFE, AN INTUITIVE CODE-MANAGEMENT SYSTEM. The Free Library by Farlex. https://web.archive.org/web/20140521123851/http://www.thefreelibrary.com/MICROSOFT+ANNOUNCES+VISUAL+SOURCESAFE,+AN+INTUITIVE+CODE-MANAGEMENT...-a017409497 . 21 May 2014. 2014-05-21 .
  11. Web site: Microsoft Announces Visual SourceSafe 5.0, An Intuitive, Project-Oriented Version Control System. Microsoft. https://web.archive.org/web/20140610074805/http://www.microsoft.com/en-us/news/press/1996/oct96/vss50pr.aspx . 21 May 2014. 2014-06-10 .
  12. Web site: Microsoft Support Lifecycle- Visual SourceSafe 6.0 Standard Edition. Microsoft Support. Microsoft. 21 May 2014.
  13. Microsoft Corporation (2001). "Visual SourceSafe 6.0c Readme" (Readmess.htm). Microsoft Visual SourceSafe 6.0c [CD-ROM].
  14. Web site: Microsoft Support Lifecycle - Visual SourceSafe 2005 Standard Edition. Microsoft. 21 May 2014.
  15. Web site: Best Practices for Preventing Data Corruption. MSDN.
  16. Web site: Microsoft tests its own dog food. https://web.archive.org/web/20070108214545/http://news.zdnet.com/2100-3513_22-5047467.html. January 8, 2007. ZDNet. CBS Interactive. July 21, 2003. October 9, 2005.
  17. Web site: It's all Hype. - Jerry Dennany's Occasional Clue . Weblogs.asp.net . 2003-07-15 . 2012-04-13.
  18. Book: Doar , Matthew B. . Practical Development Environments. O'Reilly. 2005. 73. 0-596-00796-5.
  19. Book: Guckenheimer , Sam . Neno Loje. Visual Studio Team Foundation Server 2012: Adopting Agile Software Practices: From Backlog to Continuous Feedback (3rd Edition) (Microsoft Windows Development Series). O'Reilly. 2012. 241. 978-0-321-86487-1.
  20. Web site: Windows is now built on Git, but Microsoft has found some bottlenecks. Richard Chirgwin. Richard Chirgwin. The Register. 2017-05-25. 2017-06-01.
  21. Web site: VS 2008 and SourceSafe Q&A - BUGBUG: poor title - Site Home - MSDN Blogs . Blogs.msdn.com . 2007-12-03 . 2012-04-13.
  22. Web site: Krill . Paul . Microsoft looks to move SourceSafe users to newer technology | Developer World . InfoWorld . 2009-09-30 . 2012-04-13.
  23. Web site: Visual SourceSafe Road Map . 22 March 2011 . Msdn2.microsoft.com . 2012-04-13.
  24. Web site: Search Product and Services Lifecycle Information - Microsoft Lifecycle.