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
1
vote
1 answer

nginx 1.21 + cgit 0.10 - upstream prematurely closed FastCGI stdout

I'm trying to setup cgit 0.10 with nginx and fastcgi. Unfortunately the reponse is a 502. The following message is written in the error.log: [error] 30956#0: *1 upstream prematurely closed FastCGI stdout while reading response header from upstream,…
snafu
  • 21
  • 4
1
vote
1 answer

Apache Virtual Host -- subdomain for cgit

I struggle with apache's virtual host configuration. I want to deploy cgit on a subdomain like: http://cgit.mydomain.com I have used this as a template for my configuration: http://hjemli.net/pipermail/cgit/2011-July/000235.html Here is my virtual…
rumpelsepp
  • 103
  • 10
1
vote
2 answers

git: a fast web-interface for huge repos

Some git repositories come in really huge sizes: DragonFly BSD .git directory is 324MB, and FreeBSD's is above 0.5GB in packed size, and above 2GB in unpacked size. Does Gitweb, cgit or any other web-tools do any kind of pre-caching for these huge…
cnst
  • 25,870
  • 6
  • 90
  • 122
1
vote
0 answers

CGit on Nginx do not show repository content

I configured cgit on nginx with this guide. In result, I can see list of repositories, but when I click to view on of them, I am back on main page. You cat take a look here: problem_here. Nginx logs says nothing useful. How can I debug problem?
KAction
  • 1,977
  • 15
  • 31
1
vote
1 answer

Does cgit run its compiled in version separately?

The cgit docs indicate that cgit compiles git into itself as well. Is that git version used by your whole server or is it used internally by cgit only to parse the git repositories?
vfclists
  • 19,193
  • 21
  • 73
  • 92
0
votes
0 answers

cgit error, apache/cgit doesn't interpret .lua file

I'm using gitolite as my git base with cgit as my front-end and its lua-based auth-filter so that not everyone can see all repos. But I have a problem with the configuration of lua and cgit on the apache2 server. The main cgit configuration works…
Yazar
  • 15
  • 4
0
votes
0 answers

git rev-parse HEAD fails in Jenkins with bitbake after switching to https from clear git

The problem is that the command: git rev-parse HEAD inside of the retrieved repository fails when retrieved under https but only on our Jenkins server called by bitbake. I have switched our Jenkins server build back and forth…
John Klug
  • 121
  • 3
0
votes
1 answer

Trying to push through cgit

I'm aware that you can not push through cgit since it's a frontend to see your git repos. But it can act as a dumb endpoint, allowing to clone for example: git clone http://192.168.1.124/cgit/myProject.git/, once you've done it you'll end up with…
0
votes
2 answers

cgit scan for repo owner even with enable-git-config=0

I installed cgit and now can access my git repos through browser. I have more than 5000 repos. I use scan option and every time I click anything in browser cgit scan all repos for repo owner. It makes it extremely slow. I disabled git owner in cgit…
tyon
  • 73
  • 1
  • 2
  • 7
0
votes
0 answers

info/refs not found: did you run git update-server-info on the server?

I found this page https://cgit.kde.org/kcachegrind.git/?h=Applications/15.04 can anybody tell me how to git clone from the site? I tried git clone https://cgit.kde.org/kcachegrind.git but it gives me Initialized empty Git repository in…
Chan Kim
  • 5,177
  • 12
  • 57
  • 112
0
votes
1 answer

How to install cgit on nginx?

I am using following "https://gist.github.com/stran12/1394757" gist to install cgit on nginx. I have almost done with all the steps. My nginx server is also up and running. While starting "cgit-fastcgi" service, i am getting below error: Argument…
love
  • 1,000
  • 2
  • 16
  • 35
0
votes
1 answer

Converting gitweb query strings to cgit queries

I'm trying to programmatically map gitweb-format query strings to cgit query strings to transition fully to cgit without breaking old gitweb-based urls pointing to my repositories which are scattered here and there around the web. I've seen some…
R.. GitHub STOP HELPING ICE
  • 208,859
  • 35
  • 376
  • 711
0
votes
1 answer

Which rewrite rules are required for this cgit instance (on shared hosting)?

I have cgit installed on shared hosting and although the home page comes up, every url comes up with file not found until I add cgit.cgi to the front of the path. e.g www.domain.com/path will error unless typed in the browser as…
vfclists
  • 19,193
  • 21
  • 73
  • 92
0
votes
1 answer

MacPorts: cgit install fails with "Unable to verify file checksums"

I tried to install cgit with MacPorts # port install cgit but it fails with: Error: Checksum (md5) mismatch for cgit-0.8.2.1.tar.bz2 Error: Checksum (sha1) mismatch for cgit-0.8.2.1.tar.bz2 Error: Checksum (rmd160) mismatch for…
0
votes
1 answer

Nginx and auth_basic with cgit

On an Arch Linux server running Nginx, I setup correctly cgit. I want to protect cgit with a basic authentication password, except for one directory /pub/. As seen on the documentation, I thought about put on the server context an authentication,…