From patchwork Mon Sep 30 08:00:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 31571 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 156F527BBEA; Mon, 30 Sep 2024 09:03:00 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C2AB327BBE2 for ; Mon, 30 Sep 2024 09:02:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svBMh-0003Gu-Kx; Mon, 30 Sep 2024 04:02:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1svBMU-0002H9-Eb for guix-patches@gnu.org; Mon, 30 Sep 2024 04:02:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1svBMT-0003r0-LU for guix-patches@gnu.org; Mon, 30 Sep 2024 04:02:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=84r0eOB4EVwjmHnKINBhIMNM1VEo+vLH1yiiG39YUJs=; b=X1wlZc7apAq76jxoHo7FkVJehwYy2lKrGY7NP/7S/M+okyAGpvHu/QvP5WGWgrECk1/1fGRpssfyI7cMOhyEd6uLGMHJsPu5xLUh2czVuzJ01G08ifuPqEE6wBLFrbgAF4lyCiC7dc2Ovj5wS9m0wMywBd+v10w+WegSpS6RrEgarEqFFKdHYG+mkjClBoTtjzHrF5gKNERf1vimALEYFAUD4iPeK7sh0cBxASB8jF/sZtGPYNkUq2+baiIyYFmv4pWvRxSuNgMcftQgfEbaTap6LEi9dOYYDQ9swlEWXhuvN0d2Kc0yRzB3crbw+D+/sWqesuoRn8yUwmFeL6d6WQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1svBN0-0001R9-0G for guix-patches@gnu.org; Mon, 30 Sep 2024 04:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73562] [PATCH] committer: Fix for inputs that are lists by using object->string. Resent-From: attila.lendvai@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Sep 2024 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73562 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73562@debbugs.gnu.org Cc: Attila Lendvai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17276833295456 (code B ref -1); Mon, 30 Sep 2024 08:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Sep 2024 08:02:09 +0000 Received: from localhost ([127.0.0.1]:44608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svBM8-0001Pw-BD for submit@debbugs.gnu.org; Mon, 30 Sep 2024 04:02:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:58832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svBM6-0001Pq-FQ for submit@debbugs.gnu.org; Mon, 30 Sep 2024 04:02:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1svBLN-00069r-Bm for guix-patches@gnu.org; Mon, 30 Sep 2024 04:01:33 -0400 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1svBLH-0003hl-P3 for guix-patches@gnu.org; Mon, 30 Sep 2024 04:01:21 -0400 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a8ce5db8668so723206766b.1 for ; Mon, 30 Sep 2024 01:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727683273; x=1728288073; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=84r0eOB4EVwjmHnKINBhIMNM1VEo+vLH1yiiG39YUJs=; b=cvHg2BQLxwf3nJxQDtrc7Ha7svYjtaptypWpp2mXTeuLrUFPu/NU4jlAz2pRmY1E3/ 1DLY+nzPCXAGb7oy0ek5eTyNG5sDGibndQefeOthyRvkTo67li+nqMQ7HYgMiEsYW5EU ueC6LH4SdTrGXurswIdrhaJMGbP+e3fFJYSDZnW7245Ji6RVeE3Fd/ZDHuPZBcXOK0F8 RUj1yc0NCfhRBTE/IKLD7ApHm7uSfBdCBcxfCk/lxHmvWiSYseeLnnMWSdGttYYZ23wo G3f3pjYLjfJKnieSuYPWACtEMX8nPfwjiI6e4yef0f8N2chwTNOhpRe860qUJYfMzTkL BoTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727683273; x=1728288073; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=84r0eOB4EVwjmHnKINBhIMNM1VEo+vLH1yiiG39YUJs=; b=twsjXZkL78cbR/64xQ5G6d5jbelQC1tVpgc96FTSD3YwQ3Ca5Iv9UkSYVBXM7714Vi 0ksa9l/2T0VooiaQAMQ+g5ClPvMD158q6y5WkXEDJfM0GkXKS5zsKQ/DU2sB2oI5O4HI 2K/p8TEsM2HjDW5pCiz76BxuKYVM5ooDiVHjK/05bYOVey2zxLVkz8kRA+3C6MCk9LHj wJtUnQAaEku0Lwrr/sGIAqkEuEC1LpjvqECd8e0ibZKXWsmTMJwz2Z6Ih3NX4bDITHZE PRFIZ2ebpATYwrGj77ET0k6jV1B+D85Ne9FbgL09zNN5e3pKCFApQ8W+LowwQXEzI/he Em9g== X-Gm-Message-State: AOJu0Yy86V5K/wDrYPFdtr97dNxahbISiENxsGNQ4LV/REJT8qIATV3B zUrsfJXHM7/1WyYbpZX9HSiEObkdL1lzEoqUhOFmX5uFVp+7upLt7n1p9Q== X-Google-Smtp-Source: AGHT+IE/R+WHuDPGztMBZ84HOKmcTxGnPWtZU4lizhZ80pb1+BuGa7x+0apqBaTA3WQJ6IpPUZKQ+g== X-Received: by 2002:a17:907:1b13:b0:a86:c1ff:c973 with SMTP id a640c23a62f3a-a93c4a4e10fmr1187620266b.47.1727683273026; Mon, 30 Sep 2024 01:01:13 -0700 (PDT) Received: from lelap.lan (2a00-1f40-b161-3580--477.pool6.panelnet.hu. [2a00:1f40:b161:3580::477]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2996452sm485435466b.203.2024.09.30.01.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 01:01:12 -0700 (PDT) From: attila.lendvai@gmail.com X-Google-Original-From: attila@lendvai.name Date: Mon, 30 Sep 2024 10:00:42 +0200 Message-ID: <54f91b3947aaa9bd7cadae6afeae5dd574ae76b1.1727683241.git.attila@lendvai.name> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=attila.lendvai@gmail.com; helo=mail-ej1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Attila Lendvai * 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(-) base-commit: d74fc6c8e6428c37a5bfad85b08999ff47000208 prerequisite-patch-id: 69604c6ecc6bc38af1f4d570957913136e47a744 prerequisite-patch-id: 0191b92812f5c7df75e6aa67ea7dddfcf69ba5ad prerequisite-patch-id: 246a683ad6063f26d3164b70a25946d0ff195493 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)))