We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FYI I'm using my fork of this project which merges the changes with cgit version 1.2.3.
Using the default gitolite-authorization.lua script gitolite complains that the HOME variable is not initialized.
gitolite-authorization.lua
gitolite
This happens both calling the cgit binary directly like so...
$ HOME=/var/lib/gitolite /path/to/cgit.cgi 1>cgit.html 2>cgit.log
and via nginx where I set the HOME environment variable via fastcgi_param.
fastcgi_param
I was able to make it work by modifying the io.popen call from
io.popen
local handle = io.popen("gitolite list-phy-repos | gitolite access % " .. git.user .. " R any")
to
local handle = io.popen("env HOME=/var/lib/gitolite gitolite list-phy-repos | env HOME=/var/lib/gitolite gitolite access % " .. git.user .. " R any")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
FYI I'm using my fork of this project which merges the changes with cgit version 1.2.3.
Using the default
gitolite-authorization.lua
scriptgitolite
complains that the HOME variable is not initialized.This happens both calling the cgit binary directly like so...
and via nginx where I set the HOME environment variable via
fastcgi_param
.I was able to make it work by modifying the
io.popen
call fromto
The text was updated successfully, but these errors were encountered: