aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/templates/etc_cgitrc.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/templates/etc_cgitrc.j2')
-rw-r--r--roles/git/templates/etc_cgitrc.j214
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/git/templates/etc_cgitrc.j2 b/roles/git/templates/etc_cgitrc.j2
index abba971..ea52194 100644
--- a/roles/git/templates/etc_cgitrc.j2
+++ b/roles/git/templates/etc_cgitrc.j2
@@ -3,7 +3,7 @@ cache-size=1000
# Specify some default clone urls using macro expansion
-clone-url=git@{{ domain }}:$CGIT_REPO_URL
+clone-url=git@{{ cgit_hostname }}:$CGIT_REPO_URL
# Specify the css url
@@ -15,7 +15,7 @@ enable-index-owner=1
# Allow http transport git clone
-enable-http-clone=0
+enable-http-clone=1
# Show extra links for each repository on the index page
@@ -51,7 +51,7 @@ max-stats=quarter
# Set the title and heading of the repository index page
-root-title={{ domain }} git repository
+root-title={{ cgit_hostname }} git repository
# Set a subheading for the repository index page
@@ -62,8 +62,8 @@ root-title={{ domain }} git repository
# root-readme=/var/www/htdocs/about.html
-# Allow download of tar.gz, tar.bz2 and zip-files
-snapshots=tar.gz tar.bz2 zip
+# Allow download of tar.gz and zip-files
+snapshots=tar.gz zip
##
@@ -130,8 +130,8 @@ remove-suffix=1
# A list of subdirectories inside of scan-path
# that should loaded as git repositories
-project-list=/home/git/projects.list
+project-list={{ gitolite_homedir }}/projects.list
# A path which will be scanned for repositories
-scan-path=/home/git/repositories \ No newline at end of file
+scan-path={{ gitolite_homedir }}/repositories