Home Dave Heppenstall | E-mail Contact

Find 
 
[Résumé]Résumé [Academics]Academics [About Me]About Me
Rogers Cable Page 1 2 3 4 5 6 7 |  » 

ViewVC (formerly ViewCVS)

ViewVCThe ViewVC Open Source Project.

ViewVC (formerly ViewCVS) is the final open-source utility in the arsenal of products which this project has required. The project has reached a type of home-stretch. Functionally, the project is stable and it fulfills most of the requirements to make it a viable utility for the department and team here at Rogers. However, if this project will become widely used, it needs to be user friendly, easy to use and not require any software installation to use it.

Currently, in order to make any changes to re repositories, you need to be logged in using the Subversion command line interface client on a terminal with all the necessary Subversion packages installed. On the web, you can browse and download files - but only the current revisions and the display is less-than aesthetically pleasing:

Before ViewVC
Figure 2 - Before ViewVC

ViewVC, a Python application, was originally designed to provide dynamic HTML pages for browsing CVS repositories. With a few library compilations and configuration changes, the software could be installed to work with Subversion Repositories. First, let's take a look at the viewcvs.conf file:

root_parents = /path/to/repositories : svn

The next step requires the installation of Subversion's Python-SWIG bindings. SWIG stands for: Simple Wrapper Interface Generator, it constructs the necessary interface between ViewVC and Subversion because their libraries are written in different languages. Contrary to Subversion's own instructions, do not use the most recent distribution of SWIG. Install version 1.3.25 instead. Finally, compile Subversion from source with the SWIG bindings target:

Go to the Subversion source path and execute these steps:
configure --with-swig:/path/to/swig/binary
make
make install
make swig-py
make install-swig-py

The final step is to copy ViewVC's CGI hook into your Apache CGI-BIN directory: viewcvs.cgi. Now, restart Apache and browse to the CGI file. (To have this interface authenticated with RADIUS, simply add the appropriate Location directive to Apache's configuration.) The new view provides access to all revisions, all log files and all records for anything a user would want to determine:

After ViewVC
Figure 3 - After ViewVC

It goes without saying that each page in the ViewVC directory of html templates is completely customizable. The template in the figure above includes a custom Rogers logo.

Page 1 2 3 4 5 6 7 |  » 

- Top of Page