Re: Re: CGIT 0.8.3.1 "chokes" on some bare repos
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Aug 3, 2010, 18:47 UTC
- Message-ID
- <AANLkTin6+X=nTTqLG=xCYDSPKWX3CVPTxAhzDM9uKMW5@mail.gmail.com>
- In-Reply-To
- <AANLkTindiOoy-4W5DJ9AGa8q29Tsm9P8K_4TEgRfmJW=@mail.gmail.com>
On Tue, Aug 3, 2010 at 20:19, Eugene Sajine <euguess@gmail.com> wrote:
> I have disabled cache: i have nocache=1 (we are working without cache > yet, cache-size set to 0, but for the experiment i commented this > out)
Good
> We are using scan mode as we have central folder to store our repos. > So I switched off the scanmode by commenting the scan-url out from > cgitrc
Then you'll have to add the repo.* settings to cgitrc by hand, or else...
> Now when i'm trying to generate the html for the repo in question i > get html where it says "no repositories found".
This is expected.
> The command is like this: > $ PATH_INFO=/home/users/gitrepouser/repos/subfolder/repo.git > ./cgit.cgi 1>cgit.html 2>cgit.log
Add this to your cgitrc:
repo.url=foo repo.path=/home/users/gitrepouser/repos/subfolder/repo.git
Then run `PATH_INFO=foo ./cgit.cgi 1>cgit.html 2>cgit.log`
-- larsh