GNU bug report logs - #42447
Issue with CGIT service

Previous Next

Package: guix;

Reported by: Brett Gilio <brettg <at> gnu.org>

Date: Mon, 20 Jul 2020 19:31:02 UTC

Severity: normal

To reply to this bug, email your comments to 42447 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42447; Package guix. (Mon, 20 Jul 2020 19:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brett Gilio <brettg <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 20 Jul 2020 19:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: Issue with CGIT service
Date: Mon, 20 Jul 2020 14:30:40 -0500
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




Information forwarded to bug-guix <at> gnu.org:
bug#42447; Package guix. (Mon, 27 Jul 2020 10:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 42447 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Brett Gilio <brettg <at> gnu.org>
Cc: 42447 <at> debbugs.gnu.org
Subject: Re: bug#42447: Issue with CGIT service
Date: Mon, 27 Jul 2020 12:53:42 +0200

Brett Gilio <brettg <at> gnu.org> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#42447; Package guix. (Mon, 27 Jul 2020 11:19:01 GMT) Full text and rfc822 format available.

Message #11 received at 42447 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Brett Gilio <brettg <at> gnu.org>
Cc: 42447 <at> debbugs.gnu.org
Subject: Re: bug#42447: Issue with CGIT service
Date: Mon, 27 Jul 2020 13:18:11 +0200
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 <at> gnu.org:
bug#42447; Package guix. (Mon, 27 Jul 2020 11:25:01 GMT) Full text and rfc822 format available.

Message #14 received at 42447 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Brett Gilio <brettg <at> gnu.org>
Cc: 42447 <at> debbugs.gnu.org
Subject: Re: bug#42447: Issue with CGIT service
Date: Mon, 27 Jul 2020 13:24:38 +0200
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.




This bug report was last modified 4 years and 328 days ago.

Previous Next


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