From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8EUkMkS4vGGCNAAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 17:18:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4HDbLUS4vGHFFwAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 16:18:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98FB4EDF6 for ; Fri, 17 Dec 2021 17:18:12 +0100 (CET) Received: from localhost ([::1]:54096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myFvv-0004vE-LQ for larch@yhetil.org; Fri, 17 Dec 2021 11:18:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myFvm-0004tf-NP for guix-patches@gnu.org; Fri, 17 Dec 2021 11:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myFvm-0006Aq-FL for guix-patches@gnu.org; Fri, 17 Dec 2021 11:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myFvm-0002kB-72 for guix-patches@gnu.org; Fri, 17 Dec 2021 11:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51307] [PATCH v2 1/3] scripts: hash: Support several files. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51307 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: 51307@debbugs.gnu.org Received: via spool by 51307-submit@debbugs.gnu.org id=B51307.163975784110473 (code B ref 51307); Fri, 17 Dec 2021 16:18:02 +0000 Received: (at 51307) by debbugs.gnu.org; 17 Dec 2021 16:17:21 +0000 Received: from localhost ([127.0.0.1]:40487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myFv7-0002ir-LS for submit@debbugs.gnu.org; Fri, 17 Dec 2021 11:17:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myFv6-0002ia-4F for 51307@debbugs.gnu.org; Fri, 17 Dec 2021 11:17:20 -0500 Received: from [2001:470:142:3::e] (port=52030 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myFv0-0005z9-Ut; Fri, 17 Dec 2021 11:17:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=xqJJquIVFLMvMJgTu+W04FmFbP/ePWDqDyxftXrv0G4=; b=aYCZDeBMinwaBgFW3HPg A5i+847/4N7w6wua8WhbCpNuyEVK213VYnQOXHzG+Ftf1qdSYgaLc7clOUh2moj4DaQK6fX83oIh2 rDZ3UyuINDsX8LaLaLXG0euSXRy5csIEPUy8nvSGkjFh1aku8mbmjC1B030jCAkUNPPtFrMZPW+0n pktaEIPwrDvPFa0lmXoaTcaeXK0Gz1WEpCRPQ82ihygOef55Ak1M0SFA4QDBKem6mFUktAFJ9R0Wr rzNMEa+mDYbcAjCEmpDdIjxFZiNpJr5eSfErXOKz8+sjoiZedQPEsWLeZMY1vP6puROQrnRhaHY5A xlEIeGeqoOHWHg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=34550 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myFv0-0003aG-RC; Fri, 17 Dec 2021 11:17:15 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211118002023.3323307-1-zimon.toutoune@gmail.com> <20211118002023.3323307-2-zimon.toutoune@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Frimaire an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 17 Dec 2021 17:17:12 +0100 In-Reply-To: <20211118002023.3323307-2-zimon.toutoune@gmail.com> (zimoun's message of "Thu, 18 Nov 2021 01:20:21 +0100") Message-ID: <87pmpvp5o7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639757892; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xqJJquIVFLMvMJgTu+W04FmFbP/ePWDqDyxftXrv0G4=; b=X5rNMffSP9ccIqHee0aNBPUFv6GAyECsIPC7mUyk/lNt2zAMEV4h17cH7V1bHbFpbQHOwA oBcpi92lhHAiesjNVF4H1UrUitEbvXM9qBfH2Fj6ieBdpCleUbhprWM8pNSmTYxRlG7ZB9 f84PMuJQmN3UxLLqatp9igemn2Cgis+Oy2p7MB5kxY/FsYl4qblC7vTzFST64w9XvKlDlc YGvY71pAJotrtiHfeBHFHtF83/1rRu2HaZa8UewI+1W+7zpbLRC+U6TpgB5KBZ1Wa22QYC F4uQrHynMKqT4RlpjlXvLCaKWqvZ0EpcPmxIaQHyDDsgIJ+suvqUMxahabHi4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639757892; a=rsa-sha256; cv=none; b=dVzyHCvixmgv3T9Gkb6qb2atIqK4OPH4J28rlkE1DNDnMlF2yzdXlFtyd4DwrtDTs1k9cf CcBy+1PMsFHw+LGJDfpp3b0dI2X1HxdkokoHeXfZ24JeuuH0sWdqBawmA7AE8K/edZx/wa xltTXnU1rTJCSCsXw11+9GlBioamVCF+wsnfKtED956CkDUfQNkd/4/8W4M+22y6aTF65w sbGOkhaZ7xxo+6IZ0JXbpatNIjHFG3eZvvRUOJ82D5oSiTMmFhUE4kAO/EVsFDkIT1LPhL zvms21LEJ/wlBqzC5DTQWcVwcb+fOsm0eFHmpxt8Um1LwVf1nBs9ef17Ta6y4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=aYCZDeBM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=aYCZDeBM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 98FB4EDF6 X-Spam-Score: -4.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: Lfa35cCVf677 Hi! zimoun skribis: > * guix/scripts/hash.scm (guix-hash): Allow several files. > [file-hash]: Catch system-error. > [formatted-hash]: New procedure. Applied with minor tweaks: =E2=80=A2 doc update; =E2=80=A2 tests in =E2=80=98tests/guix-hash.sh=E2=80=99; =E2=80=A2 error out when passed zero arguments, as was the case before. Thanks, Ludo=E2=80=99.