From bc0884bea403ed61abb4149633a33071b44fd36f Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 17 Feb 2023 11:15:38 -0800 Subject: add cgit config --- .../config/bia/ansible/roles/cgit/templates/gitolite.rc.j2 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'clarkzjw.cc/config/bia/ansible/roles/cgit/templates/gitolite.rc.j2') diff --git a/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/gitolite.rc.j2 b/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/gitolite.rc.j2 index e8f016f..418e5d1 100644 --- a/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/gitolite.rc.j2 +++ b/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/gitolite.rc.j2 @@ -47,6 +47,8 @@ WRITERS => 1, }, + UKM_CONGFIG => { SELFKEY_MANAGEMENT => 1, }, + # enable caching (currently only Redis). PLEASE RTFM BEFORE USING!!! # CACHE => 'Redis', @@ -102,9 +104,10 @@ # 'mirror', 'readme', # 'sskm', - # 'D', - - # These FEATURES are enabled by default. + 'D', + # https://gitolite.com/gitolite/contrib/ukm.html + 'ukm', + # These FEATURES are enabled by default. # essential (unless you're using smart-http mode) 'ssh-authkeys', @@ -124,7 +127,7 @@ # user-visible behaviour # prevent wild repos auto-create on fetch/clone - #'no-create-on-read', + #'no-create-on-read', # no auto-create at all (don't forget to enable the 'create' command!) # 'no-auto-create', @@ -160,7 +163,7 @@ # 'upstream', # updates 'description' file instead of 'gitweb.description' config item - 'cgit', + 'cgit', # allow repo-specific hooks to be added # 'repo-specific-hooks', -- cgit v1.2.3