Configuration Management Instance (II) - Configuration Management Double Gun will vss + SOS (on)

xiaoxiao2021-03-06  72

51CMM.COM original author: Kuan [2004/04/29]

Speaking of VSS, there should be a lot of people who have come into contact. Especially those who use VC and VBs to develop, most people should have all contacted and used VSS. VSS is small, and the VS development tool integration is extremely tight, even if you don't use a dedicated configuration server, install a VSS directly on your own development machine, you can also be more convenient in code management. SOS has been introduced in the previous chapter, this chapter will introduce it. The VSS concept may be because VSS is easy to use, in most people, VSS seems to be just a toy, it is difficult to board the elegance, and you can manage your own code. It is impossible to use the team development, it seems impossible. When I just contacted VSS, I also had a similar idea, I think it is impossible to use VSS as a larger project configuration management tool, but with the in-depth study of VSS research, plus other uses in work. Configuration management tools such as CVS, ClearCase, CCC Harvest, etc., in turn, feel that VSS has its own unique place. With regard to the comparison of VSS and other configuration tools, you should find a lot on Google. I will give a few advantages of the most impressible VSS for me: 1. VSS operation is simple; In the tool selection "The Fastest Most Award", then a certain non-VSS. The VSS contains all the operations required for configuration management, but it is very simple to apply, first of all, all operations can be done through the GUI, such as CHECK IN / CHECK OUT operation, get Label, Share, Branch, Merge, etc. Advanced operation; secondly, the VSS and development environment integration are close. It can be easily completed in the IDE of the development environment; 2. VSS is not high on hardware configuration; as a working group level configuration management tool, in our project , The configuration server installed VSS is a HP PC server of P4 2.2G / 512M RAM / 30G × 4 Disk. The VSS run is sufficiently stable and fast, compared to CC and CCC Harvest requirements, this part of this Investment is small; if the CC and CCC are required to operate on the UNIX platform, it is more cost-effective; 3, VSS is almost free; as long as you buy a VS development tool, you can use it for free VSS; 4, VSS backup / recovery is very simple; only you can complete the VSS backup / recovery work by copy - override, do you say simple? :) 5, have good scalability; through the VSS automation interface (Automation), you can write a program to complete access to the VSS library, which is based on this point. There are some VSS extensions on the market. We are in this chapter is one of them - Sourcegear's SOS. Said so many advantages, of course, I don't say that VSS is only the advantage, and other configuration management software, VSS has some shortcomings: mainly in the following: 1. Lack of support for UNIX (customers with Unix) End or servers, this is Microsoft's consistent style); 2. Remote access mode (only through third-party extension tools); 3. Supported configuration database size is not more than 5g, so it is necessary to plan backups, etc. Work; About VSS operations and applications, it is recommended to find VSS tutorials on the Internet. There is a more detailed and more detailed, you can refer to it.

In http://www.51cmm.com/caSep://www.51cmm.com/casepanel/cm/ There is a detailed "version Manager Visual SourceSafe 6.0 Practical Guide", here I just introduce some basic concepts of some VSS: Project: VSS is like files The concept of the clip, a project can contain multiple files, and the Project is also the minimum unit of the VSS center allocation. One project can include other provjects; File: VSS, the minimum management unit, each file object in the VSS corresponds to the operating system A file on the previous file, multiple files can belong to a project; Working Folder: and the local folder corresponding to the VSS Project. Working Folder is a GET to the Project and File storage directory, and it is also a cache folder when you perform Check In / Check Out operations; get (Latest): get operations You can get some versions of the specified Project and File, common operation is Get Latest operation, get the latest version of Project and File; Version: For VSS, check IN operation adds a version for the Project or File of Check IN (in the case where the file is not modified, Check IN operation does not generate New version). The File version in the VSS is numbered from 1. Each new version is added to the original version; the version of Project is not numbered; Label: Label is a constant operation in configuration management, Label can be an identifier for a state of configuring items; Share: Share can be used to collaborate development mode, with Share, can share the lower Project or File between two or more different project, modifications to one of the files in one of the other locations will be reflected in the File of other locations. (Similar to Unix LN); BRANCH / MERGE: BRANCH and MERGE can be used for parallel development processes. SOS (SOURCEOFFSITE) software introduces next, we focus on the SOS software, including software installation, configuration, and use. The SOS software installation SOS software is divided into two parts: the server and the client, and the client runs on the configuration management server, and the client runs on the client that needs to access the configuration library. The following SOS 3.5.3 Standard Edition is an example, indicating the installation, configuration, and use of the software. The server installation and setting SOS can download trials from SourceGear's website, free versions can be tried for 30 days, allowing 10 users, the latest version is 4.0. However, in order to solve the Chinese problem in SOS, it is recommended that you find Chinese SOS from Huajun Software Park (so-called Chinese SOS is a domestic master to modify the SOS 3.53 program to support Chinese). The above figure is the installation interface at the Chinese SOS installation, select the installation directory, etc., all the way next, it is easy to complete it. After the installation is complete, the system generates a Chinese SOS related menu item in the Start menu. The picture below is a menu generated after the mounting of the Chinese SOS: After the installation is complete, you need to set up SOS.

转载请注明原文地址:https://www.9cbs.com/read-121192.html

New Post(0)