2. How to... : Configure AccuRev
   
Configure AccuRev
1. On the AccuRev server, make sure that “server_master_trig.pl” has been installed in the directory
<ac_home>/storage/site_slice/triggers
See the GitCentric Installation and Release Notes for details. (You will need to do this for each AccuRev server that works with GitCentric. For now, we assume that you are configuring just your first AccuRev server.)
2. Configure a stream to which your Git repository branch will map. Some guidelines:
Identify the stream where you will be sharing files between AccuRev and Git. Determine which directory in this stream will be the mount point.
Alternatively, if you need include/exclude rules to control which elements are visible to GitCentric, create a pass-through stream underneath the target stream, configure your include/exclude rules on the pass-through stream, and map to that instead. (For best performance, if the target stream contains cross-links, create a pass-through stream and exclude the cross-links.)
You cannot use the root stream of a depot for GitCentric, so if you are targeting the root, you must create a sub-stream to map.
If you will be using AccuRev element ACLs to control access to AccuRev-controlled files, make sure that your users, groups, and EACLs are defined and applied the way you want them. For example, you may plan to have one Git repository available to an off-shore team that will have only limited access to your files, while another Git repo is used by your own, domestic development team that will expect to have access to all Engineering files. In this case, you would want to set up your EACLs in AccuRev so that the off-shore user group will see only the files they need. See the EACL documentation in the AccuRev Administrator’s Guide for information about configuring this aspect of security.
Configure GitCentric
Once your AccuRev server is configured, use the procedures in this chapter to create and configure your Git repositories:
1. Log in to GitCentric (see Log In to GitCentric on page 14).
2. Add the AccuRev server to the GitCentric database (see Add an AccuRev Server on page 46).
3. Add a repository using GitCentric and map it to an AccuRev stream (see Create a Repository for GitCentric on page 29).
4. Set the security for the repository (see Access on page 68).