diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-04-09 20:32:05 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-04-09 20:32:05 -0400 |
commit | dfe67bab68bdab77dd8acbf3c4b1dcb7b7de515f (patch) | |
tree | cee30439a361c265e9ed53e371e0787babd8dab1 /roles/git/templates/etc_cgitrc.j2 | |
parent | 449688096d3cda8e0ea843fe0a8bbf76ff7bd94a (diff) | |
download | infra-dfe67bab68bdab77dd8acbf3c4b1dcb7b7de515f.tar.gz infra-dfe67bab68bdab77dd8acbf3c4b1dcb7b7de515f.zip |
git: first-pass cgit/gitolite configuration
Diffstat (limited to 'roles/git/templates/etc_cgitrc.j2')
-rw-r--r-- | roles/git/templates/etc_cgitrc.j2 | 14 |
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 |