gitweb/daemon post-create scripts done
This commit is contained in:
parent
24b36f11c5
commit
b1a75b7889
4 changed files with 150 additions and 0 deletions
11
src/commands/post-compile/update-gitweb-access-list
Executable file
11
src/commands/post-compile/update-gitweb-access-list
Executable 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue