Thread (1 message) 1 message, 1 author, 2016-06-15

Re: gitweb $export_ok question

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:45:51

Thomas Amsler wrote:
Thank you for your information.

I have just tried that but the repository doesn't show up in gitweb

- added to /etc/gitweb.conf
-- $export_ok = "gitweb-export-ok"
- touched the "gitweb-export-ok" file in the repository
-- touch /path-to-repo/repository/authz.git/gitweb-export-ok

Then gitweb reports:

404 - No projects found

Does the gitweb-export-ok file need to be part of  the repo so that it is
tracked?
No, gitweb-export-ok file has to be in $GIT_DIR (like description file),
not part of repo.

As to "No projects found" error: what is your $projectroot? Is it
either "/path-to-repo/repository" or "/path-to-repo"? Is repository
readable and searchable for the web server user (does it have correct
permissions)?
-- 
Jakub Narebski
Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help