From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AGqyELibvmQ4UAEASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 17:41:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kKePELibvmR6ggAAauVa8A (envelope-from ) for ; Mon, 24 Jul 2023 17:41:44 +0200 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 578F73BD06 for ; Mon, 24 Jul 2023 17:41:43 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=UhFonXOj; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690213304; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=cjMXlZYQiNWiwadARenfMZH7fSQRUvoGjCxEsvo5T0A=; b=Ddqjh5oEUK5pLBgDYbGyxD5rlW3elYqxpmva9ha4IhahlhiNVunAtWmhkMnIFYyQ/JhWE/ L7M6WX9U7cDMplVrsGw0FP7aCfsFhgPSQmG+KEmRDXp/tgjRO+Ul2xGz5kg9wXM7K3aoUd sJq2WMLO9J7MCsAMEt18RLBs0FSLEhUNmmcIVsYkYmutv3rG8boCn594Ey+/vlwCmAWM6s ZexP3YFr7xjcXKxADnWwBXp8rbo2Su+uAZz7ji/APw7LGL3YLj0DJsl4HHWF5trqTFJHC0 FosoUGMERXw2YaA4y98FeBt4Gk50bL0i+to+k+dzM8sjfE/WQsowCdqtRmMmuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690213304; a=rsa-sha256; cv=none; b=VETWLYOUViAuTFpPqlSZElCtjIx2PV2l4iRp41NbGDLIaJ2B33icGdZVokB1fSQomg4+Bs 4jYRFpBnBYM5hhCmd1Y1BuI1qful1vMD1lR8+aRAa3zlu7rpZfhnhDNHRFZYXjqgttxYEs 8owDpvLr16XOXdsk8vgvkPbsl5bIka6GXRneF2w31qkI0e8ioY+irLBFAYF0SC4nIr5eNQ Ys6l70fRCTfDpLdDpMAAvW8yDiF0+dR6yW8nIMMvI5GBG+SAsbV2OoJXdqnAHbfi89Ybx6 7sFQpWMVJI9TfcBIypUYUSNjAoYso2jJByW2vCno195F+c/LSiPE6jkHE2OJKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=UhFonXOj; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNwuq-0008K2-7c; Mon, 24 Jul 2023 10:52:04 -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 1qNwuo-0008Ju-RT for bug-guix@gnu.org; Mon, 24 Jul 2023 10:52:02 -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 1qNwuo-0002PR-Jt for bug-guix@gnu.org; Mon, 24 Jul 2023 10:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qNwuo-0001x1-Fn for bug-guix@gnu.org; Mon, 24 Jul 2023 10:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64833: [mumi] mumi send-email does not handle complex refs Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 24 Jul 2023 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64833 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64833@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16902103077472 (code B ref -1); Mon, 24 Jul 2023 14:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jul 2023 14:51:47 +0000 Received: from localhost ([127.0.0.1]:43763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNwuZ-0001wS-3k for submit@debbugs.gnu.org; Mon, 24 Jul 2023 10:51:47 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNwuW-0001wD-9V for submit@debbugs.gnu.org; Mon, 24 Jul 2023 10:51:46 -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 1qNwuR-0008DW-1B for bug-guix@gnu.org; Mon, 24 Jul 2023 10:51:39 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNwuN-0002Lr-RV for bug-guix@gnu.org; Mon, 24 Jul 2023 10:51:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cjMXlZYQiNWiwadARenfMZH7fSQRUvoGjCxEsvo5T0A=; b=UhFonXOjKeoMz3IZgYNSLIvtAb Kz/AcdUVUnqt3ERhe+iqi5bTAmxs7eFKyrLOtH0uGbI5TWfkF+x+7iVWQjvf9jhwlnQu1v/P1ZOFM O4XHuYf0sqmQZ2pnu82Z9ikAykYaMxh4Dgyo/+T0kjtY7SyrAT+r1sEo8OKtmY/80QETrPDzXawvN BeoGMJXX20lrRqIF4RZ09cx4WylvCLX8YyAYLleTBNF0kghr7KocOBEhuEDz9bXxPBLjSCYV1YCIM 6rgQQJeQWmn/mCU2r8NiaawLJR51/32xq7aWaOVvFjys5oVq5BPQT7IGD5l9b1/Q8SBCUyvXaOx9a BdR14siQ==; Received: from [192.168.2.1] (port=42348 helo=localhost) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qNwuG-000O6K-0h for bug-guix@gnu.org; Mon, 24 Jul 2023 15:51:28 +0100 From: Arun Isaac Date: Mon, 24 Jul 2023 15:51:24 +0100 Message-ID: <87sf9dwefn.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.90 X-Spam-Score: -2.90 X-Migadu-Queue-Id: 578F73BD06 X-Migadu-Scanner: mx1.migadu.com X-TUID: /rhWI5RQQJ5k `mumi send-email' only works with patch files. For example, `mumi send-email foo.patch bar.patch'. It would be nice if it could also handle refs like `mumi send-email HEAD~5'. Here's one way to achieve this. 1. When passed a ref, `mumi send-email' must run `git format-patch' internally to produce patch files, preferably in a temporary directory. 2. Then, `mumi send-email' must send those patches as usual and clean up the temporary directory.