* bug#42447: Issue with CGIT service
@ 2020-07-20 19:30 Brett Gilio
2020-07-27 10:53 ` Ludovic Courtès
2020-07-27 11:18 ` pelzflorian (Florian Pelz)
0 siblings, 2 replies; 4+ messages in thread
From: Brett Gilio @ 2020-07-20 19:30 UTC (permalink / raw)
To: 42447
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#42447: Issue with CGIT service
2020-07-20 19:30 bug#42447: Issue with CGIT service Brett Gilio
@ 2020-07-27 10:53 ` Ludovic Courtès
2020-07-27 11:18 ` pelzflorian (Florian Pelz)
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-07-27 10:53 UTC (permalink / raw)
To: Brett Gilio; +Cc: 42447
Brett Gilio <brettg@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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#42447: Issue with CGIT service
2020-07-20 19:30 bug#42447: Issue with CGIT service Brett Gilio
2020-07-27 10:53 ` Ludovic Courtès
@ 2020-07-27 11:18 ` pelzflorian (Florian Pelz)
2020-07-27 11:24 ` pelzflorian (Florian Pelz)
1 sibling, 1 reply; 4+ messages in thread
From: pelzflorian (Florian Pelz) @ 2020-07-27 11:18 UTC (permalink / raw)
To: Brett Gilio; +Cc: 42447
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-07-27 11:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-20 19:30 bug#42447: Issue with CGIT service Brett Gilio
2020-07-27 10:53 ` Ludovic Courtès
2020-07-27 11:18 ` pelzflorian (Florian Pelz)
2020-07-27 11:24 ` pelzflorian (Florian Pelz)
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).