From c3e4b42c98dd433bbc2f90beeae102a4993c17e5 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Wed, 13 Sep 2023 04:18:16 -0400 Subject: gitolite: Consolidate config files into a single directory The repository is being reworked to decouple its roles as normalmode source and gitolite-admin config. The gitolite-admin repository will be entirely separate. So there is no need to keep the conf or local directories around where they are at. Signed-off-by: Malfurious --- gitolite/gitolite.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gitolite/gitolite.conf (limited to 'gitolite/gitolite.conf') diff --git a/gitolite/gitolite.conf b/gitolite/gitolite.conf new file mode 100644 index 0000000..a1602d0 --- /dev/null +++ b/gitolite/gitolite.conf @@ -0,0 +1,12 @@ +@administrators = admin + +repo gitolite-admin + RW+ = @administrators + +repo CREATOR/..* + C = @all + RW+ = CREATOR MAINTAINERS + RW+ contrib/USER/ = CONTRIBUTORS + R = @all + + config gitweb.owner = %GL_CREATOR -- cgit v1.2.3 From a9c483cad66446d3569f0666c55bed6263f75162 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 14 Sep 2023 14:34:48 -0400 Subject: gitolite: Remove hard-coded admin username The default gitolite.conf file is now patched in to the gitolite installation in the docker image. This is so that the intended version of the file is used in the gitolite-admin repo from the very beginning. This is made necessary by the decoupling of repo purposes. Instead of using (literal) 'admin', '%ADMIN' will be substituted with the actual admin username during `gitolite setup`. Signed-off-by: Malfurious --- gitolite/gitolite.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitolite/gitolite.conf') diff --git a/gitolite/gitolite.conf b/gitolite/gitolite.conf index a1602d0..89eb558 100644 --- a/gitolite/gitolite.conf +++ b/gitolite/gitolite.conf @@ -1,4 +1,4 @@ -@administrators = admin +@administrators = %ADMIN repo gitolite-admin RW+ = @administrators -- cgit v1.2.3