GNU bug report logs - #42447
Issue with CGIT service

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Brett Gilio <brettg@HIDDEN>; dated Mon, 20 Jul 2020 19:31:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 42447 <at> debbugs.gnu.org:


Received: (at 42447) by debbugs.gnu.org; 27 Jul 2020 11:24:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 27 07:24:49 2020
Received: from localhost ([127.0.0.1]:54223 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k01FR-00058j-Ek
	for submit <at> debbugs.gnu.org; Mon, 27 Jul 2020 07:24:49 -0400
Received: from pelzflorian.de ([5.45.111.108]:60208 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1k01FP-00058a-PD
 for 42447 <at> debbugs.gnu.org; Mon, 27 Jul 2020 07:24:48 -0400
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id D2F3C3605E1;
 Mon, 27 Jul 2020 13:24:46 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1595849086;
 bh=hwEPrgsgJUnknF9pHmTrt9runIKbBYpLfDVaQtkzSX8=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=eZ4lKPrDT1raxbijChHp8qgdITwWbHvna7hBf05BzaNR5dStVrcZtUTCgKyYitsiX
 Vd3QuWi0zkFkccIIHrx0Fb3T4PEIUt7FhUWs8ScLT0EQimaxmQnjP48CLNkUoit85i
 s7akPpaH+KG8xV/NXknMHOCYbPoWl+424bebFVrU=
Date: Mon, 27 Jul 2020 13:24:38 +0200
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
To: Brett Gilio <brettg@HIDDEN>
Subject: Re: bug#42447: Issue with CGIT service
Message-ID: <20200727112438.aitj3tb26g43ednd@HIDDEN>
References: <871rl6kmqn.fsf@HIDDEN>
 <20200727111811.dspglgbldmuru3l6@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200727111811.dspglgbldmuru3l6@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42447
Cc: 42447 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Mon, Jul 27, 2020 at 01:18:19PM +0200, pelzflorian (Florian Pelz) wrote:
> Perhaps this can be properly fixed by using supplementary groups now
> that <https://issues.guix.info/issue/41573> has been pushed.

P.S. I had thought of <https://issues.guix.info/issue/38438> where
fcgiwrap is involved.




Information forwarded to bug-guix@HIDDEN:
bug#42447; Package guix. Full text available.

Message received at 42447 <at> debbugs.gnu.org:


Received: (at 42447) by debbugs.gnu.org; 27 Jul 2020 11:18:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 27 07:18:27 2020
Received: from localhost ([127.0.0.1]:54211 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k019H-0004yF-2H
	for submit <at> debbugs.gnu.org; Mon, 27 Jul 2020 07:18:27 -0400
Received: from pelzflorian.de ([5.45.111.108]:60190 helo=mail.pelzflorian.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pelzflorian@HIDDEN>) id 1k019A-0004y2-Kc
 for 42447 <at> debbugs.gnu.org; Mon, 27 Jul 2020 07:18:25 -0400
Received: from pelzflorian.localdomain (unknown [5.45.111.108])
 by mail.pelzflorian.de (Postfix) with ESMTPSA id 5F30E3602A4;
 Mon, 27 Jul 2020 13:18:19 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de;
 s=mail; t=1595848699;
 bh=Dz5KDvjRY/uXwqYiVJpTzfv4eIUzXwP8I4CAw+97pRY=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=ZwaHWZf1oEPcpdJOjSodEhSr2Gh+3SmR16Y5XUWdk/lVy8XraYk4t1Lps1uHJl0XC
 xW3y2FWs6tZINZvv6Oj5d2IY1IZEUnkmpG+Ck0Rcn3u0ffnpbNk31rD315bVUAKX51
 2L2XFw6rX8tlQCcrHDBYpUqgUAjSi+IXyHmb5Rqk=
Date: Mon, 27 Jul 2020 13:18:11 +0200
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
To: Brett Gilio <brettg@HIDDEN>
Subject: Re: bug#42447: Issue with CGIT service
Message-ID: <20200727111811.dspglgbldmuru3l6@HIDDEN>
References: <871rl6kmqn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <871rl6kmqn.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 42447
Cc: 42447 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Mon, Jul 20, 2020 at 02:30:40PM -0500, Brett Gilio wrote:
> 
> Hi all,
> 
> I am having an issue with the CGIT service. There is a record field for
> setting the directory it should watch, defaulting to /srv/cgit or
> something similar. Currently when doing this it just returns an empty
> cgit web interface.

I had a similar issue back in November
<https://lists.gnu.org/archive/html/guix-devel/2019-11/msg00421.html>.
I believe you need to change the permissions on /srv/cgit to allow
access.

Perhaps this can be properly fixed by using supplementary groups now
that <https://issues.guix.info/issue/41573> has been pushed.

Regards,
Florian




Information forwarded to bug-guix@HIDDEN:
bug#42447; Package guix. Full text available.

Message received at 42447 <at> debbugs.gnu.org:


Received: (at 42447) by debbugs.gnu.org; 27 Jul 2020 10:53:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 27 06:53:51 2020
Received: from localhost ([127.0.0.1]:54174 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k00lT-0004Lz-4A
	for submit <at> debbugs.gnu.org; Mon, 27 Jul 2020 06:53:51 -0400
Received: from eggs.gnu.org ([209.51.188.92]:51884)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1k00lR-0004Lm-6H
 for 42447 <at> debbugs.gnu.org; Mon, 27 Jul 2020 06:53:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55043)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1k00lL-0003R0-So; Mon, 27 Jul 2020 06:53:43 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39802 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1k00lL-00062o-CL; Mon, 27 Jul 2020 06:53:43 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Brett Gilio <brettg@HIDDEN>
Subject: Re: bug#42447: Issue with CGIT service
References: <871rl6kmqn.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 10 Thermidor an 228 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 27 Jul 2020 12:53:42 +0200
In-Reply-To: <871rl6kmqn.fsf@HIDDEN> (Brett Gilio's message of "Mon, 20 Jul
 2020 14:30:40 -0500")
Message-ID: <87wo2pxm89.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 42447
Cc: 42447 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)



Brett Gilio <brettg@HIDDEN> skribis:

> I am having an issue with the CGIT service. There is a record field for
> setting the directory it should watch, defaulting to /srv/cgit or
> something similar. Currently when doing this it just returns an empty
> cgit web interface.
>
> (service cgit-service-type
> 		  (cgit-configuration
> 		   (enable-commit-graph? #t)
> 		   (enable-html-serving? #t)
> 		   (repository-directory
> 		    (string-append home-directory "/Repos/"))
> 		   (nocache? #t)
> 		   (readme "CGIT README")))

Weird.

> Also, I would also be willing to collaborate with
> somebody on getting cgit and nginx to work together to set a port other
> than 80.

The cgit test in (gnu tests version-control) shows cgit/nginx
integration, perhaps you could take inspiration from there?  It also
suggests we should add an example in the manual.

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#42447; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Jul 2020 19:30:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 20 15:30:51 2020
Received: from localhost ([127.0.0.1]:36259 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jxbUw-0008E1-PO
	for submit <at> debbugs.gnu.org; Mon, 20 Jul 2020 15:30:50 -0400
Received: from lists.gnu.org ([209.51.188.17]:56240)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <brettg@HIDDEN>) id 1jxbUs-0008Ds-U3
 for submit <at> debbugs.gnu.org; Mon, 20 Jul 2020 15:30:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49546)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <brettg@HIDDEN>) id 1jxbUs-0003C8-Mz
 for bug-guix@HIDDEN; Mon, 20 Jul 2020 15:30:46 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:39861)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <brettg@HIDDEN>) id 1jxbUs-0004cV-CR
 for bug-guix@HIDDEN; Mon, 20 Jul 2020 15:30:46 -0400
Received: from [2605:6000:1a0d:48fb::e9] (port=55332 helo=lenovo-t430)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <brettg@HIDDEN>) id 1jxbUm-0008UG-VO
 for bug-guix@HIDDEN; Mon, 20 Jul 2020 15:30:43 -0400
From: Brett Gilio <brettg@HIDDEN>
To: bug-guix@HIDDEN
Subject: Issue with CGIT service
Date: Mon, 20 Jul 2020 14:30:40 -0500
Message-ID: <871rl6kmqn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hi all,

I am having an issue with the CGIT service. There is a record field for
setting the directory it should watch, defaulting to /srv/cgit or
something similar. Currently when doing this it just returns an empty
cgit web interface.

--8<---------------cut here---------------start------------->8---
(service cgit-service-type
		  (cgit-configuration
		   (enable-commit-graph? #t)
		   (enable-html-serving? #t)
		   (repository-directory
		    (string-append home-directory "/Repos/"))
		   (nocache? #t)
		   (readme "CGIT README")))
--8<---------------cut here---------------end--------------->8---

Also, I would also be willing to collaborate with
somebody on getting cgit and nginx to work together to set a port other
than 80.

Thoughts?

Brett Gilio




Acknowledgement sent to Brett Gilio <brettg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#42447; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 27 Jul 2020 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.