<!-- Savannah - CVS short help about anoncvs -->
<!-- $Id: index_anoncvs.txt,v 1.5 2004/01/31 00:56:17 yeupou Exp $ BEGIN -->
<!-- if you want to put content depending on the database, create joker_* tables and refers to it here ; Savannah will no longer provide way to do that directly, this part is too highly case specific -->

<h3>Anonymous CVS Access</h3>

<?php
// This file is part of the Savane project
// <http://gna.org/projects/savane/>
//
// $Id: index_anoncvs.txt,v 1.5 2004/01/31 00:56:17 yeupou Exp $
// 
	global $project;
?>

<p>
This project's CVS repository can be checked out through anonymous
(pserver) CVS with the following instruction set. The module you wish
to check out must be specified as the <I>modulename</I>. When prompted
for a password for <I>anoncvs</I>, simply press the Enter key.
</p>

<?php
// This file is part of the Savane project
// <http://gna.org/projects/savane/>
//
// $Id: index_anoncvs.txt,v 1.5 2004/01/31 00:56:17 yeupou Exp $
// 
	if ($project->CanUse("cvs")) {
		print '<h4>Software repository :</h4>';
		print '<p><pre>cvs -d:pserver:anoncvs@'.$project->getTypeBaseHost().':'.
		$project->getTypeDir("cvs").$project->getUnixName()." login</pre></p>";
		print '<pre>cvs -z3 -d:pserver:anoncvs@'.$project->getTypeBaseHost().':'.
		$project->getTypeDir("cvs").$project->getUnixName().' co &lt;<em>modulename</em>&gt;</pre>';

		print '<h4>Webpages repository :</h4>';
		print '<p><pre>cvs -d:pserver:anoncvs@'.$project->getTypeBaseHost().':'.
		ereg_replace('/$', "", $project->getTypeDir("homepage"))." login</pre></p>";
		print '<pre>cvs -z3 -d:pserver:anoncvs@'.$project->getTypeBaseHost().':'.ereg_replace('/$', "", $project->getTypeDir("homepage")).' co '.$project_homepage_module;
		print '</pre>';
	}
?>

<p>
When you update from within the module's directory (with <em>cvs update</em>) you do not need the -d option anymore.
</p>

<!-- $Id: index_anoncvs.txt,v 1.5 2004/01/31 00:56:17 yeupou Exp $  END -->
