version 4.4, 2019/11/11 13:15:09 |
version 4.7, 2019/11/26 11:21:27 |
Line 39 of this document. |
|
Line 39 of this document. |
|
repository (or a copy of it) therefore; rsh, ssh or pserver access |
repository (or a copy of it) therefore; rsh, ssh or pserver access |
doesn't work yet. |
doesn't work yet. |
|
|
Install CvsGraph if you want to use it with CVSweb, and see (6) for |
|
configuration notes. CvsGraph 1.4.0 or newer is required. |
|
|
|
Install GNU Enscript if you want syntax highlighting, and see (7) for |
|
more info. You'll need version 1.6.3 or newer. |
|
|
|
Install CVSHistory if you want to use it with CVSweb, and see (8) for |
|
configuration notes. You'll need version 2.0 or newer. |
|
|
|
2) Copy cvsweb.conf to a configuration directory, typically |
2) Copy cvsweb.conf to a configuration directory, typically |
/usr/local/etc/cvsweb/cvsweb.conf. |
/usr/local/etc/cvsweb/cvsweb.conf. |
Edit cvsweb.conf to fit your needs, you'll probably need to tweak the |
Edit cvsweb.conf to fit your needs, you'll probably need to tweak the |
Line 78 of this document. |
|
Line 69 of this document. |
|
5) Copy cvsweb.css from the css/ directory to a web server directory, and |
5) Copy cvsweb.css from the css/ directory to a web server directory, and |
point the $cssurl variable in cvsweb.conf to it. |
point the $cssurl variable in cvsweb.conf to it. |
|
|
6) CvsGraph <http://www.akhphd.au.dk/~bertho/cvsgraph/> can be used with |
|
this version of CVSweb. See the $allow_cvsgraph and $cvsgraph_config |
|
configuration variables in cvsweb.conf. Note (and install) also the |
|
cvsgraph.png icon in the icons/ directory. |
|
|
|
7) GNU Enscript <http://www.iki.fi/~mtr/genscript/> can be used for syntax |
|
highlighting. To enable it, copy lang_cvsweb.st and lang_cvsweb_diff.st |
|
from the enscript/ dir to your Enscript "hl" directory (often eg. |
|
/usr/share/enscript/hl/) and enable $allow_enscript in cvsweb.conf. |
|
lang_cvsweb.st is used for generic colorization, and lang_cvsweb_diff.st |
|
for diffs. |
|
|
|
8) CVSHistory <http://www.jamwt.com/CVSHistory/> can be used with this |
|
version of CVSweb. See the $cvshistory_url configuration variable in |
|
cvsweb.conf. For best results, configure CVSweb and CVSHistory to use |
|
the same "logical names" for CVS roots. |
|
|
|
9) If you like you can add descriptions to be shown next to each directory |
9) If you like you can add descriptions to be shown next to each directory |
or module name. These are read from CVSROOT/descriptions. |
or module name. These are read from CVSROOT/descriptions. |
|
|
Line 168 The following configuration variables in cvsweb.conf h |
|
Line 142 The following configuration variables in cvsweb.conf h |
|
|
|
$DEBUG is new, and optional. See comments in cvsweb.conf. |
$DEBUG is new, and optional. See comments in cvsweb.conf. |
|
|
Upgrading to 3.0.1 |
|
------------------ |
|
|
|
The following configuration variables in cvsweb.conf have changed: |
|
|
|
$cvshistory_url is new, and optional. See comments in cvsweb.conf. |
|
|
|
Upgrading to 3.0.0 |
Upgrading to 3.0.0 |
------------------ |
------------------ |
|
|
Line 191 The following configuration variables in cvsweb.conf h |
|
Line 158 The following configuration variables in cvsweb.conf h |
|
$cvstreedefault is now optional. If unset, the first one in |
$cvstreedefault is now optional. If unset, the first one in |
@CVSrepositories is used. |
@CVSrepositories is used. |
|
|
%DEFAULTVALUE for "f" (default diff format) now understands the values |
|
"uc", "cc" and "sc" for enscript-colored diffs (unified, context and |
|
side-by-side respectively). |
|
|
|
%DEFAULTVALUE for "ln" can now be set to a boolean indicating whether |
%DEFAULTVALUE for "ln" can now be set to a boolean indicating whether |
line numbers in markup views should be shown or not. The default is off. |
line numbers in markup views should be shown or not. The default is off. |
|
|
Line 209 The following configuration variables in cvsweb.conf h |
|
Line 172 The following configuration variables in cvsweb.conf h |
|
$open_extern_window, $extern_window_height, $extern_window_width, |
$open_extern_window, $extern_window_height, $extern_window_width, |
$checkout_magic. |
$checkout_magic. |
|
|
$allow_enscript, @enscript_options and %enscript_types control the use |
|
and behavior of enscript(1). |
|
|
|
$allow_cvsgraph and $cvsgraph_config control the use and behavior of |
|
cvsgraph(1). |
|
|
|
$file_list_len can be set to work around problems with rlog(1) and dirs |
$file_list_len can be set to work around problems with rlog(1) and dirs |
with lots of files. |
with lots of files. |
|
|
$cssurl contains the absolute URI to the CSS file to use. |
$cssurl contains the absolute URI to the CSS file to use. |
|
|
%ICONS has two new entries: binfile for binary files (-kb keyword |
%ICONS has a new entry: binfile for binary files (-kb keyword |
substitution) and graph for the cvsgraph icon. |
substitution). |
|
|
%DIFF_COMMANDS is new, it is used to configure external per file type |
%DIFF_COMMANDS is new, it is used to configure external per file type |
diff commands. |
diff commands. |