git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Re: CGIT 0.8.3.1 "chokes" on some bare repos

From
LHLars 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

Previous: Eugene SajineNext: Eugene Sajine
Message 3 of 5 in “Re: Re: CGIT 0.8.3.1 "chokes" on some bare repos”
  1. Lars HjemliAug 3, 2010
  2. Eugene SajineAug 3, 2010
  3. Lars HjemliAug 3, 2010
  4. Eugene SajineAug 3, 2010
  5. Lars HjemliAug 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.