]> git.ekhem.eu.org Git - server.git/commitdiff
[git] Add a configuration file for gitweb.
authorJakub Czajka <jakub@ekhem.eu.org>
Wed, 27 Sep 2023 20:48:09 +0000 (22:48 +0200)
committerJakub Czajka <jakub@ekhem.eu.org>
Sun, 3 Dec 2023 21:03:23 +0000 (22:03 +0100)
git/README
git/gitweb.conf [new file with mode: 0644]

index 1704abcf4a707969b085845908f0e9f39564cae2..c287b6ee5d4792ccb17ca03494cbc599c8b21f59 100644 (file)
@@ -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 (file)
index 0000000..874da4c
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright (c) 2023 Jakub Czajka <jakub@ekhem.eu.org>
+# License: GPL-3.0 or later.
+
+# path to git projects (<project>.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";