all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: attila.lendvai@gmail.com
To: 73562@debbugs.gnu.org
Cc: Attila Lendvai <attila@lendvai.name>
Subject: [bug#73562] [PATCH] committer: Fix for inputs that are lists by using object->string.
Date: Mon, 30 Sep 2024 10:00:42 +0200	[thread overview]
Message-ID: <54f91b3947aaa9bd7cadae6afeae5dd574ae76b1.1727683241.git.attila@lendvai.name> (raw)

From: Attila Lendvai <attila@lendvai.name>

* etc/committer.scm.in (change-commit-message): Use object->string to deal
with more complex dependency specifications.

Change-Id: Ieee39709fd3eb26368df400a9228d77aa97a9d9d
---
 etc/committer.scm.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/etc/committer.scm.in b/etc/committer.scm.in
index c49935da600..9b128c8f1e7 100755
--- a/etc/committer.scm.in
+++ b/etc/committer.scm.in
@@ -301,8 +301,9 @@ (define* (change-commit-message file-name old new #:optional (port (current-outp
                       (format port
                               "[~a]: ~a~%" field
                               (break-string
-                               (match (list (map symbol->string removed)
-                                            (map symbol->string added))
+                               ;; A dependency can be a list of (pkg output).
+                               (match (list (map object->string removed)
+                                            (map object->string added))
                                  ((() added)
                                   (format #f "Add ~a."
                                           (listify added)))

base-commit: d74fc6c8e6428c37a5bfad85b08999ff47000208
prerequisite-patch-id: 69604c6ecc6bc38af1f4d570957913136e47a744
prerequisite-patch-id: 0191b92812f5c7df75e6aa67ea7dddfcf69ba5ad
prerequisite-patch-id: 246a683ad6063f26d3164b70a25946d0ff195493
-- 
2.46.0





             reply	other threads:[~2024-09-30  8:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-30  8:00 attila.lendvai [this message]
2024-10-15 16:22 ` bug#73562: [PATCH] committer: Fix for inputs that are lists by using object->string Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54f91b3947aaa9bd7cadae6afeae5dd574ae76b1.1727683241.git.attila@lendvai.name \
    --to=attila.lendvai@gmail.com \
    --cc=73562@debbugs.gnu.org \
    --cc=attila@lendvai.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.