home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

  Previous section   Next section

B.2 Distribution Tools

Often, you may want to develop a CVS project and publish the files for display or download. You can publish the resulting files with a build script or a script in one of the CVSROOT files. Alternatively, you can use one of the tools in this section, all of which display CVS project files.

Some of the tools in this section display the repository; others export files from the repository for publication. Some retrieve the difference between the revision they have and the latest revision in the repository, then patch the revision they have and display the final files.

B.2.1 Chora

Chora provides the ability to view or download the files in a CVS repository using a web browser. It integrates with the other web tools available at http://www.horde.org. The CVS integration is stored in a single library, so you can customize the rest of the display.

In file mode, every revision of a file is displayed along with log messages and you also have the ability to display the differences between revisions. File mode also offers a color-coded branch view.

Chora is available from http://www.horde.org/chora/.

B.2.2 CVSup

CVSup is a tool for distributing files across a network. It can be used with most file types and understands CVS project files. If desired, it can use zlib compression to reduce network load.

If CVSup is working from CVS files, it distributes the differences rather than the files as a whole, saving bandwidth and minimizing the network load. It also understands tags and distributes specific tagged versions if configured to do so.

CVSup is available from http://www.cvsup.org.

B.2.3 CVSviaFTP

This tool publishes CVS files using FTP. It was developed for web sites that use CVS for content management, but for which the administrator of the server requires that updates be made using the FTP protocol.

CVSviaFTP does not start an FTP session automatically; it needs to be wrapped in a script that manages login and other specifics of your FTP site. However, it is useful when you are managing content across an FTP link.

CVSviaFTP is available from http://www.siber.org/cvs-via-ftp/.

B.2.4 CVSweb

CVSweb is one of several tools that allow a CVS repository to be accessed using a web browser. It allows only viewing or downloading, not the ability to change files.

CVSweb allows you to view a directory, an individual file, any revision of a file, the difference (as reported by the diff command) between the current and previous revisions, or an annotated view of a file.

There are two versions of CVSweb: one available from http://www.freebsd.org/projects/cvsweb.html, and another from http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/.

B.2.5 CVS Web Client

CVS Web Client is one of several tools that allow a CVS repository to be accessed using a web browser. It is a variation of CVSweb that allows a limited ability to edit the repository from the browser.

Unfortunately, CVS Web Client is no longer supported, and the documentation is sparse.

CVS Web Client is available from http://www.mrjc.com/twiki/bin/view/Cvswebclient/WebHome.

B.2.6 jCVS Servlet

jCVS Servlet allows a CVS repository to be accessed using a web browser. It displays the directory structure, file revisions, differences between revisions, and the content of files. The interface is configurable.

jCVS Servlet also provides a Java API, so it can be called from other Java programs.

jCVS Servlet is available from http://www.jcvs.org. It is a Java Servlet, requiring a web server that can run Java Servlets.

B.2.7 SandWeb

SandWeb is one of several tools that allow a CVS repository to be accessed using a web browser. It's intended to be independent of the version control system, but the alpha release works only with CVS.

SandWeb is more than a viewer; it provides the ability to add, delete, and edit text files, and it commits the changes automatically. In time, it may become an effective HTML client for CVS.

SandWeb is available from http://sandweb.sourceforge.net/.

B.2.8 ViewCVS

ViewCVS started out as a modification of CVSweb, and it performs the same basic tasks. In addition, ViewCVS allows queries, supports virtual hosts, and has configurable page layouts.

ViewCVS requires Python, and the query support requires an SQL database.

ViewCVS is available from http://viewcvs.sourceforge.net/.

  Previous section   Next section