Just finished setting up ViewVC. In order to make it work, I had to create a directory /var/lib/cvsroots which contains symlinks to all cvsroots in all projects. This takes advantage of ViewVCs feature to list all repositories in a specific directory. To keep the list current, I installed a nightly cron job: cron.root.update-viewvc-cvsroots.sh. No actual copying takes place, just symlinks to the original repositories.
Additionally, I had to install a RedirectMatch because of the name-change.
Bye,
Erik.
As a small enhancement, I decided to filter the list for all projects which actually *use* CVS by removing the cvsroot symlinks for all projects which don't have a cvsroot directory, or a cvsroot directory which contains no other entries than CVSROOT.
Bye,
Erik
On Sun, Jun 5, 2011 at 1:46 PM, Erik Huelsmann ehuels@gmail.com wrote:
Just finished setting up ViewVC. In order to make it work, I had to create a directory /var/lib/cvsroots which contains symlinks to all cvsroots in all projects. This takes advantage of ViewVCs feature to list all repositories in a specific directory. To keep the list current, I installed a nightly cron job: cron.root.update-viewvc-cvsroots.sh. No actual copying takes place, just symlinks to the original repositories.
Additionally, I had to install a RedirectMatch because of the name-change.
Bye,
Erik.