Subject: bug#69329: [PATCH 1/2] {html, config}: Change variable name for Guix patch submissions.

From: Felix Lechner <[email-masked]>
Date: Fri, 23 Feb 2024 07:11:14 -0800

Action take in order to avoid confusion and before adding a separate
variable for bug reports against Mumi.

May require changes on production equipment unless the standard
configuration is being deployed.

* mumi/config.scm.in: Change variable name for Guix patch submissions.
mumi/web/view/html.scm: Same.
---
 mumi/config.scm.in     | 2 +-
 mumi/web/view/html.scm | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mumi/config.scm.in b/mumi/config.scm.in
index 8903f4d..11bc046 100644
--- a/mumi/config.scm.in
+++ b/mumi/config.scm.in
@@ -74,7 +74,7 @@
            (host        . "localhost")
            (port        . 1234)
            (cache-ttl   . 120)
-           (submission-email-address . "[email-masked]")
+           (submission-patch-email-address . "[email-masked]")
            (submission-bug-email-address . "[email-masked]")
            (lists       . ("[email-masked]" "[email-masked]"))
            (packages    . ("guix-patches" "guix" "skribilo"))
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index 2599aeb..66c7d2a 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -259,8 +259,8 @@ simple query language.  Here is a list of supported query terms:")
       (h1 "Guix issue tracker")
       (p (@ (class "lead"))
          "This is a web frontend to the Guix patch and bug trackers.  Send an email to "
-         (a (@ (href ,(string-append "mailto:" (%config 'submission-email-address))))
-            ,(%config 'submission-email-address))
+         (a (@ (href ,(string-append "mailto:" (%config 'submission-patch-email-address))))
+            ,(%config 'submission-patch-email-address))
          " to submit a patch, or email "
          (a (@ (href ,(string-append "mailto:" (%config 'submission-bug-email-address))))
             ,(%config 'submission-bug-email-address))
-- 
2.41.0