Git instaweb with multiple repositories not working -


i have following estructure populated via grok mirror:

/var/opt/git/git-data/repositories    /organization1         /teama         /repo1         /repo2       /teamb         /repo3         /repo4   /organizationn                 /teamn         /repon 

git instaweb works fine individual repo if want automatically git instaweb shows repos under "repositories" dir doesnt' work:

fatal: not git repository (or parent mount point /var/opt/git/git-data) stopping @ filesystem boundary (git_discovery_across_filesystem not set). 

which true because there no repo in parent directory, if execute git instaweb /var/opt/git/git-data/repositories/organization/teama/ same error , inside directory bare repos resides (a repon.git directory each repo)

i have set git_discovery_across_filesystem env var without results. have set /etc/gitweb.conf following entry: our $projectroot = "/var/opt/git/git-data/repositories";

as have read in doc of project, git instaweb can serve multiple repos, not 1 , looks repos under directory.

what doing wrong?

i creating empty repository , linking repositories want browse. workaround necessary because of complicated way instaweb runs gitweb , sets project root.

git init instaweb cd instaweb ln -s /var/opt/git/git-data/repositories/org1/teama/repo1 repo1-a-1 ln -s /var/opt/git/git-data/repositories/org2/teamb/repo2 repo2-b-2 git instaweb --httpd webrick 

the server , running , homepage list .git project (which empty repository initialised) along 2 actual projects linked to.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -