Search code examples
gitolitegitweb

gitolite + gitweb | 'repo @all R = gitweb' not working


For some reason the following gitolite.conf does not add any repository to projects.list. When I set 'R = gitweb' for each repository manually, they get added to projects.list.

[....]

repo aaa
repo bbb

repo @all
    RW+ = @admins
    R = gitweb

[...]

Any hints for me? I'd really like to allow gitweb access to all repositories and then remove permissions for a single repositories via '- = gitweb' ...


Solution

  • I don't actually need gitweb rules or project.list to be complete in my gitweb setup:
    I only make sure I have a gitweb.conf.pl which:

    • will be called by gitweb (through the gitweb_config.perl file, called if gitweb detects it exists)
    • will call gitolite to see if the access to a repo can be granted or should be denied.