From: Dagfinn Ilmari Mannsåker Date: Fri, 9 Apr 2010 14:12:48 +0000 (+0100) Subject: Fix pervasive repo_dir -> repos_dir typo X-Git-Tag: 0.001001~5^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=3d0e045e069408c4bbca13ed43e46daf0e1966ec;hp=bb0080d9b3453f4da547958f658eba21d2552b31 Fix pervasive repo_dir -> repos_dir typo --- diff --git a/README b/README index 86853b2..2de1bfa 100644 --- a/README +++ b/README @@ -41,7 +41,7 @@ GETTING GITALIST The canonical repository for the master branch is: - it://git.shadowcat.co.uk/catagits/Gitalist.git + git://git.shadowcat.co.uk/catagits/Gitalist.git Gitalist is also mirrored to github, and a number of people have active forks with branches and/or new features in the master branch. @@ -73,7 +73,7 @@ INITIAL CONFIGURATION cp `perl -Ilib -MGitalist -e'print Gitalist->path_to("gitalist.conf")'` gitalist.conf - You can then edit this confg, adding a repos_dir path and customising + You can then edit this confg, adding a repo_dir path and customising other settings as desired. You can then start the Gitalist demo server by setting @@ -83,15 +83,15 @@ INITIAL CONFIGURATION Alternatively, if you only want to set a repository directory and are otherwise happy with the default configuration, then you can set the - "GITALIST_REPOS_DIR" environment variable, or pass the "--repos_dir" - flag to any of the scripts. + "GITALIST_REPO_DIR" environment variable, or pass the "--repo_dir" flag + to any of the scripts. - GITALIST_REPOS_DIR=/home/myuser/code/git gitalist_server.pl - gitalist_server.pl --repos_dir home/myuser/code/git + GITALIST_REPO_DIR=/home/myuser/code/git gitalist_server.pl + gitalist_server.pl --repo_dir home/myuser/code/git - The "GITALIST_REPOS_DIR" environment variable will override the + The "GITALIST_REPO_DIR" environment variable will override the repository directory set in configuration, and will itself be overridden - by he "--repos_dir" flag. + by he "--repo_dir" flag. RUNNING Once you have followed the instructions above to install and configure diff --git a/lib/Gitalist.pm b/lib/Gitalist.pm index 7afb8a6..e637aaf 100644 --- a/lib/Gitalist.pm +++ b/lib/Gitalist.pm @@ -123,21 +123,21 @@ by running: cp `perl -Ilib -MGitalist -e'print Gitalist->path_to("gitalist.conf")'` gitalist.conf -You can then edit this confg, adding a repos_dir path and customising other settings as desired. +You can then edit this confg, adding a repo_dir path and customising other settings as desired. You can then start the Gitalist demo server by setting C<< GITALIST_CONFIG >>. For example: GITALIST_CONFIG=/usr/local/etc/gitalist.conf gitalist_server.pl Alternatively, if you only want to set a repository directory and are otherwise happy with -the default configuration, then you can set the C<< GITALIST_REPOS_DIR >> environment -variable, or pass the C<< --repos_dir >> flag to any of the scripts. +the default configuration, then you can set the C<< GITALIST_REPO_DIR >> environment +variable, or pass the C<< --repo_dir >> flag to any of the scripts. - GITALIST_REPOS_DIR=/home/myuser/code/git gitalist_server.pl - gitalist_server.pl --repos_dir home/myuser/code/git + GITALIST_REPO_DIR=/home/myuser/code/git gitalist_server.pl + gitalist_server.pl --repo_dir home/myuser/code/git -The C<< GITALIST_REPOS_DIR >> environment variable will override the repository directory set -in configuration, and will itself be overridden by he C<< --repos_dir >> flag. +The C<< GITALIST_REPO_DIR >> environment variable will override the repository directory set +in configuration, and will itself be overridden by he C<< --repo_dir >> flag. =head1 RUNNING