From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: [PATCH] gnu: Add cgit. Date: Mon, 28 Mar 2016 18:13:32 +0800 Message-ID: <87y492nc4z.fsf@member.fsf.org> References: <1459087365-1576-1-git-send-email-iyzsong@gmail.com> <87zitkj9e3.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akUBG-0002ZQ-Df for guix-devel@gnu.org; Mon, 28 Mar 2016 06:13:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akUBD-0003yY-7d for guix-devel@gnu.org; Mon, 28 Mar 2016 06:13:54 -0400 Received: from smtp9.openmailbox.org ([62.4.1.43]:57423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akUBD-0003yT-1I for guix-devel@gnu.org; Mon, 28 Mar 2016 06:13:51 -0400 In-Reply-To: (David Thompson's message of "Sun, 27 Mar 2016 16:49:59 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Thompson, David" Cc: guix-devel "Thompson, David" writes: > On Sun, Mar 27, 2016 at 10:14 AM, =E5=AE=8B=E6=96=87=E6=AD=A6 wrote: >> I get it built, but haven't run it. >> >> For a cgit service, which CGI runner should we use? >> IIUC, typical setup are: >> - nginx + fcgiwrap (or uwsgi) >> - apache httpd >> - lighttpd > > I'm partial to nginx, and it's the only one we have a service for, but > it could be made sufficiently generic that it can use any web server > that a user supplied a handler for. The nginx service is currently > missing a way to extend it with additional configuration. I posted a > patch for this awhile ago but it never made it to master due to some > issues. Once we make nginx extensible, writing a cgit service should > be easy. OK, nginx itself won't able to run CGI applications. And since the website of fastcgi (used by fcgiwrap and lighttpd) is down now, I'll try package uwsgi. > > BTW, have you verified that cgit does not distribute any minified > JavaScript files? No, and now it seems that cgit doesn't use javascript at all :-) Thanks.