git: Refactor hierarcy and names
git/client is now git and in software submodule git/server is now git-server
This commit is contained in:
parent
e13b87324c
commit
90142649d7
13 changed files with 6 additions and 44 deletions
26
roles/git-server/files/gitweb.conf
Normal file
26
roles/git-server/files/gitweb.conf
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
# read git repo root from env or use default
|
||||
our $projectroot = $ENV{'GITWEB_PROJECTROOT'};
|
||||
|
||||
# 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];
|
Loading…
Add table
Add a link
Reference in a new issue