Questions tagged [cgit]

cgit is a CGI Web interface for git repositories.

cgit is a lightweight CGI Web interface for git repositories, written in C.

31 questions
7
votes
2 answers

gitolite + cgit: No repositories found

I've set up and configuered gitolite and wish to configure the cgit web interface to it. Problem: When browsing a directory using cgit I get the error: No repositories found Setup When a new repository is created gitolite creates a corresponding…
Johan Sjöberg
  • 47,929
  • 21
  • 130
  • 148
6
votes
1 answer

Access control in Cgit

I would like to introduce access control to cgit once the cgi of cgit has been launched. The idea would be to list all the repos available in gitolite but enable/disable the directory listing based on user authentication. I managed to get access…
user2381132
  • 73
  • 1
  • 4
4
votes
1 answer

Is there any git web gateway which crossreferences Python source code

We are using cgit and Trac to browse our source from web browsers. One thing I'm missing is crossreferencing (i.e. links in the source code to the token definition). I've seen lxr, but it doesn't seem to plug into cgit or anything else. Have you…
alex
  • 5,213
  • 1
  • 24
  • 33
4
votes
2 answers

Cgit and Nginx URL rewrite

Wired URL rewriting issues while I goto http://git.example.org/foo it works fine, repos shows up. However the links on that page appended /foo again i.e. http://git.example.org/foo/foo/commit When I goto URL…
Zhuo.M
  • 466
  • 3
  • 18
4
votes
1 answer

gitolite run hook on 'wild' repository creation

I need to run a script that will generate the projects.list file when a new repository is created by one the members of my team. We develop firmware that branch off from a 'master', but the branches will never be merged back into master. Since…
Ethan
  • 6,883
  • 3
  • 33
  • 41
4
votes
2 answers

How do you setup cgit with pull and push over http?

I am trying to setup a cgit instance from which you can push or pull over http. However, i am able to browse my repos over http via cgit, but when i try to push to this repo, i get an error: Fatal, /info/refs not valid, is this a git…
simonszu
  • 356
  • 5
  • 14
2
votes
0 answers

No repositories found

After I installed and configured cgit, gitolite and apache, I got "No repositories found" error when I tried to open page, http://servergit/cgit. Errors in /var/log/httpd/error_log: [cgi:error] [pid 27680] [client 10.76.6.235:42188] AH01215: Error…
Gary
  • 71
  • 9
2
votes
1 answer

Plugin to use gitolite's ACLs for CGIT/Apache httpd?

We use gitolite's ACL mechanism to control who has access to different repositories. We also use CGIT with Apache httpd to allow browsing of readable repositories. We'd like to also use the gitolite ACLs in the Apache httpd access control…
RoUS
  • 1,888
  • 2
  • 14
  • 29
2
votes
0 answers

Cgit master branch not available

Problem: 'master' branch is missing in the repo refs list. Using cgit v0.9.0.3 + gitolite. cgitrc contents: virtual-root=/cgit/ enable-index-links=1 enable-log-filecount=1 enable-log-linecount=1 snapshots=tar.gz tar.bz…
2
votes
3 answers

htaccess: remove cgit.cgi from path

So I just installed cgit on a shared host. I custom compiled it and use symlinks from $HOME/mydomain-and-public-www-folder.tld/g to $HOME/local/lib/cgit/prod to link $HOME/local/lib/cgit/${git describe} to a build from my updated builds to test the…
songei2f
  • 649
  • 4
  • 10
  • 22
1
vote
1 answer

setting CGIT_CONFIG environment variable in .htaccess

I want to set the path of cgit config (CGIT_CONFIG) in a directory with SetEnv. But it seems that cgit can't find this env variable. My .htaccess is as follow: Options +ExecCGI +Indexes +FollowSymLinks #DirectoryIndex cgit.cgi I named cgit as…
Reza Mahdi
  • 98
  • 8
1
vote
1 answer

New cgit/gitolite not allowing access to copied repostiory

Is there any way to get a log of what failed during cloning? But cloning my copied repository is denied: $ git clone git@192.168.8.20:linux linux-999 Cloning into 'linux-999'... FATAL: R any linux user1 DENIED by fallthru (or you mis-spelled the…
John Klug
  • 121
  • 3
1
vote
1 answer

Clone all projects from cgit

I have to download all projects that are hosted on some cgit instance. There are several hundreds of repositories, so it is tedious to do this manually. How can it be done? Seems that it is possible to do it with curl by parsing pages one by one. By…
Ilya Palachev
  • 274
  • 1
  • 2
  • 16
1
vote
0 answers

cgit + uwsgi + nginx not generating the pages for repositories

I am trying to configure cgit with nginx through uwsgi. I managed to get the main page working on example.com/ and added my repos but when I try to access a repo in example.com/somerepo I get a 502 error. I know cgit is working fine because I can…
Vicfred
  • 318
  • 1
  • 3
  • 9
1
vote
1 answer

How to integrate CGit with Gerrit as a replacement for Gitweb?

I am trying to get cgit v0.11.0 to work with Gerrit v2.11 as the in-built repository browser. Based on Gerrit's documentation, I was able to get Gitweb working by just specifying the following two settings in gerrit.config: [gitweb] type =…
Manuj Bhatia
  • 11
  • 1
  • 3
1
2 3