Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Support updating a static project listing
Browse files Browse the repository at this point in the history
  • Loading branch information
Git User committed Dec 22, 2008
1 parent 8a90dc2 commit 5696942
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make-local-version
Expand Up @@ -26,4 +26,6 @@ mkdir -p $project
cd $project cd $project
git --bare init --shared git --bare init --shared
touch git-daemon-export-ok touch git-daemon-export-ok
echo Updating project list....
update-project-list


2 changes: 2 additions & 0 deletions mirror-svn-git
Expand Up @@ -56,3 +56,5 @@ ln -sf trunk master
popd popd
git fetch git fetch
popd popd
echo Updating project list....
update-project-list
9 changes: 9 additions & 0 deletions update-project-list
@@ -0,0 +1,9 @@
#!/bin/sh

export GITWEB_CONFIG="gitweb_make_index.perl"
export GATEWAY_INTERFACE="CGI/1.1"
export HTTP_ACCEPT="*/*"
export REQUEST_METHOD="GET"
export QUERY_STRING="a=project_index"

perl -- /usr/lib/cgi-bin/gitweb.cgi > ~/repos/projects.txt

0 comments on commit 5696942

Please sign in to comment.