GNU bug report logs - #73562
[PATCH] committer: Fix for inputs that are lists by using object->string.

Previous Next

Package: guix-patches;

Reported by: attila.lendvai <at> gmail.com

Date: Mon, 30 Sep 2024 08:03:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73562 in the body.
You can then email your comments to 73562 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73562; Package guix-patches. (Mon, 30 Sep 2024 08:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to attila.lendvai <at> gmail.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 30 Sep 2024 08:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: attila.lendvai <at> gmail.com
To: guix-patches <at> gnu.org
Cc: Attila Lendvai <attila <at> lendvai.name>
Subject: [PATCH] committer: Fix for inputs that are lists by using
 object->string.
Date: Mon, 30 Sep 2024 10:00:42 +0200
From: Attila Lendvai <attila <at> 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 sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 15 Oct 2024 16:24:02 GMT) Full text and rfc822 format available.

Notification sent to attila.lendvai <at> gmail.com:
bug acknowledged by developer. (Tue, 15 Oct 2024 16:24:02 GMT) Full text and rfc822 format available.

Message #10 received at 73562-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: attila.lendvai <at> gmail.com
Cc: Attila Lendvai <attila <at> lendvai.name>, 73562-done <at> debbugs.gnu.org
Subject: Re: [bug#73562] [PATCH] committer: Fix for inputs that are lists by
 using object->string.
Date: Tue, 15 Oct 2024 18:22:33 +0200
attila.lendvai <at> gmail.com skribis:

> From: Attila Lendvai <attila <at> lendvai.name>
>
> * etc/committer.scm.in (change-commit-message): Use object->string to deal
> with more complex dependency specifications.
>
> Change-Id: Ieee39709fd3eb26368df400a9228d77aa97a9d9d

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Nov 2024 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 219 days ago.

Previous Next


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