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
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:
Git ACLs are defined in the git_acl_file, whose location is defined within the
-/etc/repo_shell.cfg configuration file. This file is similar in passing to the
+/etc/repo_shell.conf configuration file. This file is similar in passing to the
Subversion authz.conf file format as defined in
http://svnbook.red-bean.com/en/1.7/svn.serverconfig.pathbasedauthz.html.
#include "git_acl.h"
#include "stringutils.h"
-#define CFG_FILE "/etc/repo_shell.cfg"
+#define CFG_FILE "/etc/repo_shell.conf"
#define SHELL "/bin/bash"
typedef struct {
#!/bin/sh
# gitcreate is part of the repo_shell distribution.
-eval $(sed -e 's| ||g' < /etc/repo_shell.cfg)
+eval $(sed -e 's| ||g' < /etc/repo_shell.conf)
if [ -z "$owner" -o -z "$git_root" -o -z "$git_acl_file" ]; then
- echo "$0: please configure /etc/repo_shell.cfg"
+ echo "$0: please configure /etc/repo_shell.conf"
fi
if [ "$(whoami)" != "$owner" ]; then
# svncreate is part of the repo_shell distribution.
-eval $(sed -e 's| ||g' < /etc/repo_shell.cfg)
+eval $(sed -e 's| ||g' < /etc/repo_shell.conf)
if [ -z "$owner" -o -z "$svn_root" ]; then
- echo "$0: please configure /etc/repo_shell.cfg"
+ echo "$0: please configure /etc/repo_shell.conf"
fi
svndir=$svn_root/..