Concurrent Versions System
The Concurrent Versions System, also known as the Concurrent Versioning System, is a free client-server revision control system in the field of software development. A version control system keeps track of all work and all changes in a set of files, and allows several developers to collaborate. Dick Grune developed CVS as a series of shell scripts in July 1986.
In addition to proprietary software developers, CVS became popular with the open-source software world and was released under the GNU General Public License. While there was regular development to add features and fix bugs in the past, including regular builds and test results, there have been no new releases since 2008.
Features
CVS uses a client–server architecture: a server stores the current version of a project and its history, and clients connect to the server in order to "check out" a complete copy of the project, work on this copy and then later "check in" their changes. Typically, the client and server connect over a LAN or over the Internet, but client and server may both run on the same machine if CVS has the task of keeping track of the version history of a project with only local developers. The server software normally runs on Unix, while CVS clients may run on any major operating-system platform.Several developers may work on the same project concurrently, each one editing files within their own "working copy" of the project, and sending their modifications to the server. To avoid conflicts, the server only accepts changes made to the most recent version of a file. Developers are therefore expected to keep their working copy up-to-date by incorporating other people's changes on a regular basis. This task is mostly handled automatically by the CVS client, requiring manual intervention only when an edit conflict arises between a checked-in modification and the yet-unchecked local version of a file.
If the check in operation succeeds, then the version numbers of all files involved automatically increment, and the CVS-server writes a user-supplied description line, the date and the author's name to its log files. CVS can also run external, user-specified log processing scripts following each commit. These scripts are installed by an entry in CVS's loginfo file, which can trigger email notification or convert the log data into a Web-based format.
Clients can also compare versions, request a complete history of changes, or check out a historical snapshot of the project.
CVS servers can allow "anonymous read access", wherein clients may check out and compare versions with either a blank or simple published password ; only the check-in of changes requires a personal account and password in these scenarios.
Clients can also use the "update" command to bring their local copies up-to-date with the newest version on the server. This eliminates the need for repeated downloading of the whole project.
CVS can also maintain different "branches" of a project. For instance, a released version of the software project may form one branch, used for bug fixes, while a version under current development, with major changes and new features, can form a separate branch.
CVS uses delta compression for efficient storage of different versions of the same file. This works well with large text files with few changes from one version to the next. This is usually the case for source code files. On the other hand, when CVS is told to store a file as binary, it will keep each individual version on the server. Storing files as binary is important in order to avoid corruption of binary files.
Terminology
CVS labels a single project that it manages as a module. A CVS server stores the modules it manages in its repository. Programmers acquire copies of modules by checking out. The checked-out files serve as a working copy, sandbox or workspace. Changes to the working copy are reflected in the repository by committing them. To update is to acquire or merge the changes in the repository with the working copy.Design
CVS was designed:- To exclude symbolic links because when they are stored in a version control system they can pose a security risk. For instance, a symbolic link to a sensitive file can be stored in the repository, making the sensitive file accessible even when it is not checked in. In place of symbolic links, scripts that require certain privileges and conscious intervention to execute may be checked into CVS.
- Use the native ASCII character set in filenames, precluding the use of multi-lingual filenames. Now many Unix systems run in UTF-8, and CVS on such systems handles UTF-8 multi-lingual filenames natively.
- Create revisions per file, not an identifier for all revisions created during a commit. This design choice was made even when servers could easily have had insufficient resilience to complete a commit without crashing. The lack of atomicity is mitigated by the fact that in many code management processes, development work is performed on branches and then merged into the trunk after code review. That final merge is atomic, and performed in the data center by QA. Tracking each commit can be accomplished by modifying the correct trigger.
- To assume that the majority of work takes place on the trunk, and that branches should generally be short-lived or historical. When used as designed, branches are easily managed and branch operations are efficient and fast.
- That text files are expected to be the primary file type stored in the CVS repository. However, binary files are also supported, and files with a particular file extension can automatically be recognized as being binary.
- That changes would be frequently committed to the centrally checked-in copies of files in order to aid merging and foster rapid distribution of changes to all users, so there is no support for distributed revision control or unpublished changes.
History and status
Grune publicly released the code on June 23, 1986.
The code that eventually evolved into the current version of CVS started with Brian Berliner in April 1989, with later input from Jeff Polk and many other contributors. Brian Berliner wrote introducing his improvements to the CVS program—which describes how the tool was extended and used internally by Prisma, a third-party developer working on the SunOS kernel, and was released for the benefit of the community under the GPL. On November 19, 1990, CVS version 1.0 was submitted to the Free Software Foundation for development and distribution.
CVS supports distributed, multi-site and offline operations due to the unreliability of the few computer networks that existed at the time CVS evolved.
Development status
There have been no official recent announcements indicating the project status.- The latest version was released .
- Since 2008 there have been some maintenance bugfixes in the CVS project's own CVS repository.
- There are no bugs or enhancements reported since the last code change that are complete. There are a total of 9 reports, most of which are questions. Questions are typically answered quickly if asked on the mailing list.
- The info-cvs mailing list actively answer questions.
- Links on the official CVS page that point to the external web site ximbiot.com, such as 'Current Events,' are dead, as is the CVS wiki. Archived information is available using
- The last message in the Cvs-Announce mailing list was posted on .
- The last code checkin to the CVS code repository occurred on .