gitweb/daemon post-create scripts done

This commit is contained in:
Sitaram Chamarty 2012-03-19 14:04:17 +05:30
parent 24b36f11c5
commit b1a75b7889
4 changed files with 150 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#!/bin/sh
# this is literally the simplest gitweb update possible. You are free to add
# whatever you want and contribute it back, as long as it is upward
# compatible.
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