Please build from a repository clone, as the make script uses
'git describe --tags' to generate the resulting executable's version string.
-= Configure /etc/repo_shell.cfg
+= Configure /etc/repo_shell.conf
-The file /etc/repo_shell.cfg must contain certain fields as shown in the example
-below. The spaces surrounding the equal sign ('=') are optional.
+The file /etc/repo_shell.conf must contain certain fields as shown in the
+example below. The spaces surrounding the equal sign ('=') are optional.
owner = repo
svn_root = /var/lib/svn/repositories
= Create owner and paths
-In accordance with the contents of /etc/repo_shell.cfg:
+In accordance with the settings in /etc/repo_shell.conf:
- adduser --system --group repo --home /var/lib/svn \
- --shell /usr/local/bin/repo_shell repo
- sudo install -d -o repo -g repo -m 0755 /var/lib/svn/repositories
- sudo install -d -o repo -g repo -m 0755 /var/lib/git
+ adduser --system --group <owner> --home /var/lib/svn \
+ --shell /usr/local/bin/repo_shell <owner>
+ sudo install -d -o <owner> -g <owner> -m 0755 <svn_root>
+ sudo install -d -o <owner> -g <owner> -m 0755 <git_root>
= Configure subversion repository ACLs
Users interact with subversion and git repositories using what we somewhat
incorrectly call access paths. In both cases, the access path is relative to
-the respective repository type root, as defined in /etc/repo_shell.cfg. In
+the respective repository type root, as defined in /etc/repo_shell.conf. In
other words, the user does not need to know where the repository is stored. In
the case of git, a repository can be under a subdirectory. A couple of
examples: