Documentation

phpCVSView is aimed at being the only tool you will need if to view your CVS source code from a website. It currently provides "pserver" connectivity to your source repository with the possibility of enabling (in a future version) connectivity using the ext method.

Features

  • Pserver connectivity
  • Theme support
  • Supports multiple languages
  • Multiple repository support
  • File view, download, diff and annotation
  • xhtml 1.1 and css 2.1 compliant code

Installation

Requirements

  • A webserver which supports PHP, Apache recommended.
  • PHP version 4.3 and above with PEAR packages (Net_Socket, Archive_Tar, ...) installed and compiled with the zlib extension (optional). PHP 5 is supported.
  • CVS PServer version 1.12.9 and above to connect to.
  • An internet browser (Firefox, IE, Opera, Netscape) that supports CSS.

Manual Installation

  1. Unpack the tarball to a location under your webserver document root. It should create a directory named "phpcvsview".
  2. Edit the configuration file (config.php) with your CVS server information. See Configuration section for further details.
  3. In *unix you might need to give the correct permisions to display files on the webserver. Typically you execute "chmod 755 * -R" in the phpcvsview directory.

Configuration

  1. Open config.php (located in the root directory phpcvsview) in your favourite text editor
  2. Change the values for $config['cvsroot'], $config['pserver'], $config['username'], $config['password'] to match those for your CVS repository
  3. Change the values for $config['html_title'] and $config['html_header'] to change the window title and page heading in the resultant html pages
  4. Change the values for the GeSHi syntax highlighter. Set $config['UseGeSHi'] false to disable, true to enable.

License

The phpCVSView project is under the GNU General Public License (GPL). You may find the complete license here: http://www.gnu.org/licenses/gpl.html