initial version of git server role

This commit is contained in:
Timo Makinen 2019-05-17 11:37:46 +03:00
parent 87744518c7
commit 3a6ceec53c
4 changed files with 112 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# location of git repos
our $projectroot = "/srv/git";
# site name
our $site_name = "foo.sh - Public GIT repositories";
# add custom css
push @stylesheets, "/static/gitweb-local.css";
our $logo = "/static/logo.png";
our $logo_label = "https://www.foo.sh/";
# base urls
our $logo_url = "https://www.foo.sh/";
our $home_link = "https://git.foo.sh";
our $home_link_str = "https://git.foo.sh";
# avatar support
$feature{"avatar"}{"default"} = ["gravatar"];
# add support for bz2 and zip snapshots
$feature{"snapshot"}{"default"} = ["tgz", "tbz2", "zip"];
# syntax highlight (rhel8 supports detection without known extension)
$highlight_bin = "highlight";
$feature{"highlight"}{"defaut"} = [1];