From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: [PATCH] gnu: Add cgit. Date: Sun, 27 Mar 2016 16:49:59 -0400 Message-ID: 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]:57573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akHdJ-0003Wy-7v for guix-devel@gnu.org; Sun, 27 Mar 2016 16:50:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akHdI-0003Bq-7y for guix-devel@gnu.org; Sun, 27 Mar 2016 16:50:01 -0400 Received: from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]:35894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akHdI-0003Bm-2r for guix-devel@gnu.org; Sun, 27 Mar 2016 16:50:00 -0400 Received: by mail-qk0-x233.google.com with SMTP id i4so48863123qkc.3 for ; Sun, 27 Mar 2016 13:49:59 -0700 (PDT) In-Reply-To: <87zitkj9e3.fsf@member.fsf.org> 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: =?UTF-8?B?5a6L5paH5q2m?= Cc: guix-devel 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. BTW, have you verified that cgit does not distribute any minified JavaScript files? - Dave