GNU bug report logs - #72577
[PATCH 0/1] services: agate: Change variable names and add system test.

Previous Next

Package: guix-patches;

Reported by: Rodion Goritskov <rodion.goritskov <at> gmail.com>

Date: Sun, 11 Aug 2024 14:34:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Rodion Goritskov <rodion.goritskov <at> gmail.com>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: Rodion Goritskov <rodion.goritskov <at> gmail.com>, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, Ludovic Courtès <ludo <at> gnu.org>, Florian Pelz <pelzflorian <at> pelzflorian.de>, 72577 <at> debbugs.gnu.org, Matthew Trzcinski <matt <at> excalamus.com>
Subject: [bug#72577] [PATCH v2] services: agate: Change variable names and add system test.
Date: Fri, 16 Aug 2024 23:05:41 +0400
Hi!

Christopher Howard <christopher <at> librehacker.com> writes:
>Hi, I'm testing these patches in a qemu VM. I thought I should share that, if I explicitly set the certs field, I get an error:
>
> ```
> /home/user/config.scm:52:35: error: (agate-configuration (content "/srv/gemini") (certs "/srv/gemini-tls") (log-ip? #f)): extraneous field initializers (certs)
> ```
>

This patch (intentionally) renames the field "certs" to the
"certificates", as was advised in [1].
I could maintain the compatibility here, but taking into account how
long the Agate service was broken, I thought there are not a lot of
users, so we could just rename the field.

Good to know you are interested in the Agate service too!

So, in your case you could change the configuration to something like
that:

(service agate-service-type
	 (agate-configuration
	  (content "/srv/gemini")
	  (certificates "/srv/gemini-tls")
	  (log-ip? #f)))

1: https://issues.guix.gnu.org/71722






This bug report was last modified 319 days ago.

Previous Next


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