enhance the projects.list updater to look at 'gitweb.*' config settings also
(not just 'R = gitweb') Can you tell I really, really, don't want anything to do with gitweb and daemon to be part of gitolite *core*? :-)
This commit is contained in:
parent
1c590e633f
commit
446a611327
|
@ -7,5 +7,9 @@
|
|||
plf=$(gitolite query-rc GITWEB_PROJECTS_LIST)
|
||||
[ -z "$plf" ] && plf=$HOME/projects.list
|
||||
|
||||
gitolite list-phy-repos | gitolite access % gitweb R any | grep -v DENIED | cut -f1 | sed -e 's/$/.git/' > $plf
|
||||
(
|
||||
gitolite list-phy-repos | gitolite access % gitweb R any | grep -v DENIED
|
||||
gitolite list-phy-repos | gitolite git-config -r % gitweb\\.
|
||||
) |
|
||||
cut -f1 | sort -u | sed -e 's/$/.git/' > $plf
|
||||
|
||||
|
|
Loading…
Reference in a new issue