From: Jakub Czajka Date: Wed, 27 Sep 2023 20:48:09 +0000 (+0200) Subject: [git] Add a configuration file for gitweb. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=b9765f48644aa533dec2c374d65035c2f8fe39b0;p=server.git [git] Add a configuration file for gitweb. --- diff --git a/git/README b/git/README index 1704abc..c287b6e 100644 --- a/git/README +++ b/git/README @@ -1,6 +1,13 @@ git === +Files +----- + +gitweb +| +`-> gitweb.conf -- /etc + DNS --- diff --git a/git/gitweb.conf b/git/gitweb.conf new file mode 100644 index 0000000..874da4c --- /dev/null +++ b/git/gitweb.conf @@ -0,0 +1,36 @@ +# Copyright (c) 2023 Jakub Czajka +# License: GPL-3.0 or later. + +# path to git projects (.git) +$projectroot = "/srv/git"; + +# directory to use for temp files +$git_temp = "/tmp"; + +# target of the home link on top of all pages +#$home_link = $my_uri || "/"; + +# html text to include at home page +#$home_text = "indextext.html"; + +# file with project list; by default, simply scan the projectroot dir. +#$projects_list = $projectroot; + +# stylesheet to use +#@stylesheets = ("static/gitweb.css"); + +# javascript code for gitweb +#$javascript = "static/gitweb.js"; + +# logo to use +#$logo = "static/git-logo.png"; + +# the 'favicon' +#$favicon = "static/git-favicon.png"; + +# git-diff-tree(1) options to use for generated patches +#@diff_opts = ("-M"); +@diff_opts = (); + +# only show projects with the git-daemon-export-ok file +our $export_ok = "git-daemon-export-ok";