Subject: bug#42447: Issue with CGIT service

From: Ludovic Courtès <[email-masked]>
Date: Mon, 27 Jul 2020 12:53:42 +0200

Brett Gilio <[email-masked]> 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’.