From 23373499f7441f29d0955e4a140d32b549c89207 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sun, 7 Aug 2022 06:46:10 -0400 Subject: gitolite: Save repository owner for front-end cgit is unable to resolve the owner of repositories, since they are all owned by the same unix user account. By adopting this gitweb-specific config key, we can communicate the end-user name via git-config. Signed-off-by: Malfurious --- conf/.gitolite.rc | 2 +- conf/gitolite.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/.gitolite.rc b/conf/.gitolite.rc index ea43e06..c40ac25 100644 --- a/conf/.gitolite.rc +++ b/conf/.gitolite.rc @@ -21,7 +21,7 @@ UMASK => 0022, # look for "git-config" in the documentation - GIT_CONFIG_KEYS => '', + GIT_CONFIG_KEYS => 'gitweb.owner', # comment out if you don't need all the extra detail in the logfile LOG_EXTRA => 1, diff --git a/conf/gitolite.conf b/conf/gitolite.conf index bf9694e..a1602d0 100644 --- a/conf/gitolite.conf +++ b/conf/gitolite.conf @@ -8,3 +8,5 @@ repo CREATOR/..* RW+ = CREATOR MAINTAINERS RW+ contrib/USER/ = CONTRIBUTORS R = @all + + config gitweb.owner = %GL_CREATOR -- cgit v1.2.3