diff options
author | Malfurious <m@lfurio.us> | 2022-08-07 06:46:10 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2022-08-07 06:46:10 -0400 |
commit | 23373499f7441f29d0955e4a140d32b549c89207 (patch) | |
tree | b2d25667502243e18a0bc661278889e0064ec997 | |
parent | 5f193b72eb666755151faf15b71c4ffc45090745 (diff) | |
download | srcnode-23373499f7441f29d0955e4a140d32b549c89207.tar.gz srcnode-23373499f7441f29d0955e4a140d32b549c89207.zip |
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 <m@lfurio.us>
-rw-r--r-- | conf/.gitolite.rc | 2 | ||||
-rw-r--r-- | conf/gitolite.conf | 2 |
2 files changed, 3 insertions, 1 deletions
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 |