Gitweb not displaying some repos

萝らか妹 提交于 2019-12-06 07:46:40
gc5

Reading from this question I PARTIALLY solved it like this:

  1. Initially, gitweb doesn't have any permissions to read the repository, so we fix the problem by adding the gitweb user (usually www-data or apache) to the git group by running usermod -a -G git www-data (be aware of your server's configuration, because that can be a little different, according to how you configurated gitolite.

  2. Change the UMASK property on the .gitolite.rc file (present in git user home directory), from the default value of 0077 to 0022, the equivalent of 755 (rwxr-xr-x) for directories and 644 (rw-r--r--) for files.

  3. For existing repos, you might need to run a chmod -R g+rX

More infos on link above.

Anyway, every time I edit gitolite-admin repo, this shows up in the list of present repositories.. How to change it?

also, if rights are ok, you should check which dir is scan for gitweb and where put gitolite repos, it can be different and symlinks makes new repos visible.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!