Downloads (PDF, HTML & XML formats)
[FishEye Knowledge Base]
Documentation for FishEye 3.0.x. Documentation for other versions is available too.
In situations where running FishEye on the same server as your CVS repository is not practical or possible, you can use the Linux utility 'rsync' to mirror the CVS repository contents onto the FishEye server.This is possible because CVS data is stored in a reasonably simple form in the file system.
We recommend this to achieve best performance when FishEye and CVS cannot be hosted on the same machine.
This workaround requires the ability to SSH into both machines. Linux and Mac OS X operating systems have rsync built in. For Windows, you will need to install rsync.
Diagram: A scenario where rsync is required
To set up a CVS mirror with rsync:
CVS_HOME>
and the new 'mirror directory' (on your FishEye server) as <MIRROR_HOME>
.Type the following rsync
command on the console at the command-line of the FishEye server:
rsync --backup <CVS_HOME> <MIRROR_HOME>
A real-world example would look something like this:
rsync --backup user@cvs_server:/CVS_server/path/to/instance /datastore/FishEye/cvs-mirror
For more information on the syntax for rsync, visit the rsync home page.
1 Comment
Markus Hager
We have a huge cvs repository which needs about 20 GB diskspace. Using the described rsync command it took a lot of time to synchronize and also needed twice of the necessary diskspace. I optimized rsync with the following parameters:
verbose
With that options the scan duration was also decreased massivly. The synchronization before took about 45 minutes. Afterwards, if no change happened it took only 7 seconds. If changes happened it depends on the transferred data, but it is still quit less then before.