Configuring the AccuRev Server

Note: This section is for system administrators only.

The previous procedure simply registers the AccuRev Server with GitCentric. Before you can use this server with GitCentric and Git, you must configure the server using the following procedure.

  1. Check to see if a triggers directory exists under <ac_home>/storage/site_slice/. If not, create it.
  2. Copy the server_master_trigger.pl file from <gc_home>/bin to the AccuRev Server trigger directory. For example:
    > cd <gc_home>/bin
    > cp server_master_trig.pl <ac_home>/storage/site_slice/triggers
    > cd <ac_home>/storage/site_slice/triggers
    > chmod +x server_master_trig.pl
    Note: server_master_trig.pl includes several lines of documentation in comments toward the end of the file.
  3. Locate the ################ ACCUREV CLIENT PATH section in the server_master_trig.pl file and specify the path for your AccuRev Client. For example:
    $::AccuRev = "/usr/accurev/bin/accurev";
  4. Log in to AccuRev.
    Tip: Log in using the -n option so that the user’s log in session does not expire.
  5. See the GitCentric Installation and Release Notes for suggestions about testing newly-configured servers.