(projects.list changes) collect gitweb-specific stuff in one place

also
  - new "WEB_INTERFACE" variable (defaults to 'gitweb')
  - setup_web_access (write a plain list of repos out)
  - add_del_web_access (add/delete a single repo from projects.list)
This commit is contained in:
Sitaram Chamarty 2011-10-01 19:32:21 +05:30
parent 550982f69e
commit 22bd3c8e72
5 changed files with 38 additions and 9 deletions

View file

@ -33,6 +33,7 @@ opt $ARE_YOU_SURE && {
rm -rf $repo.git
echo "$repo is now GONE!"
# gitweb specific; code for cgit users left as an exercise for the reader
cd $HOME
PROJECTS_LIST=$($GL_BINDIR/gl-query-rc PROJECTS_LIST)
export repo