diff options
author | Jesús <heckyel@hyperbola.info> | 2021-10-08 00:11:06 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-10-08 00:11:06 -0500 |
commit | e94f0d644da184e87724c3f2e634d6d095d0afb3 (patch) | |
tree | 32991fe0fc8b93955e11530dd85c244644383add | |
parent | 58ad76ba54f4bc0892736bd0ec08bb3c03c5c92a (diff) | |
download | gitolite-cgit-docker-e94f0d644da184e87724c3f2e634d6d095d0afb3.tar.lz gitolite-cgit-docker-e94f0d644da184e87724c3f2e634d6d095d0afb3.tar.xz gitolite-cgit-docker-e94f0d644da184e87724c3f2e634d6d095d0afb3.zip |
Add example external config gitolite-admin
-rw-r--r-- | README.md | 60 |
1 files changed, 60 insertions, 0 deletions
@@ -160,3 +160,63 @@ $ cd gitolite-cgit-docker/gitolite-cgit ```console $ docker build --tag rusian/gitolite-cgit -f Dockerfile . ``` + +## Extra + +Example of `gitolite-admin/conf/gitolite.conf`: + +```conf +#----------- +# General +#----------- +@secret = gitolite-admin +@hiddenrepo = gitolite-admin + +#----------- +# People +#----------- +@p-admin = paco +@p-team = minoru + +#---------------------- +# Repositories +#---------------------- +repo @hiddenrepo + config cgit.ignore = 1 + +repo @secret + - = cgit daemon + option deny-rules = 1 + +repo @all + R = cgit daemon + +repo gitolite-admin + RW+ = @p-admin + +repo science/numeral + RW+ = @p-admin + - master develop = @p-team + - refs/tags/v[0-9] = @p-team + RW+ = @p-team + desc = "Repo paco files" + config gitweb.owner = paco + +repo documents/operators + RW+ = @p-admin + - master develop = @p-team + - refs/tags/v[0-9] = @p-team + RW+ = @p-team + desc = "Repo minoru files" + config gitweb.owner = minoru + +#------------------------ +# Personal repositories +#------------------------ +repo CREATOR/[a-zA-Z0-9].* + C = @p-admin @p-team + RW+ = CREATOR + RW+ = @p-admin + R = @all + config gitweb.owner = %GL_CREATOR +``` |