From patchwork Fri Aug 12 08:58:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41573 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 1F6DD27BBEB; Fri, 12 Aug 2022 10:00:52 +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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 B15F927BBEA for ; Fri, 12 Aug 2022 10:00:51 +0100 (BST) Received: from localhost ([::1]:47960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMQXC-0002Ku-39 for patchwork@mira.cbaines.net; Fri, 12 Aug 2022 05:00:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMQWR-0002KN-Gx for guix-patches@gnu.org; Fri, 12 Aug 2022 05:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMQWR-0000yc-5e for guix-patches@gnu.org; Fri, 12 Aug 2022 05:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMQWR-0003rK-1f for guix-patches@gnu.org; Fri, 12 Aug 2022 05:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57069] [PATCH v3 2/4] etc: Add tempel snippet for :phases. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Aug 2022 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57069@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57069-submit@debbugs.gnu.org id=B57069.166029477914741 (code B ref 57069); Fri, 12 Aug 2022 09:00:02 +0000 Received: (at 57069) by debbugs.gnu.org; 12 Aug 2022 08:59:39 +0000 Received: from localhost ([127.0.0.1]:55639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQW3-0003ph-9f for submit@debbugs.gnu.org; Fri, 12 Aug 2022 04:59:39 -0400 Received: from 7.mo575.mail-out.ovh.net ([46.105.63.230]:59367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQVz-0003pD-Hs for 57069@debbugs.gnu.org; Fri, 12 Aug 2022 04:59:36 -0400 Received: from player746.ha.ovh.net (unknown [10.109.138.76]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 6E7AF22D2A for <57069@debbugs.gnu.org>; Fri, 12 Aug 2022 08:59:33 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player746.ha.ovh.net (Postfix) with ESMTPSA id C0F2C201D79ED; Fri, 12 Aug 2022 08:59:30 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G006d8208e3d-b8ee-4462-9bc6-62322af57ef6, 62590A30D50FD365DB0EC0A9D3D5D7E51EBD5635) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Fri, 12 Aug 2022 10:58:49 +0200 Message-Id: <20220812085851.12104-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220812085851.12104-1-ngraves@ngraves.fr> References: <20220812085851.12104-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 1617918170129687266 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdegiedgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejgeeirdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejtdeileesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhe 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches --- etc/snippets/tempel/scheme-mode | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/etc/snippets/tempel/scheme-mode b/etc/snippets/tempel/scheme-mode index 386c9e653f..34625420be 100644 --- a/etc/snippets/tempel/scheme-mode +++ b/etc/snippets/tempel/scheme-mode @@ -112,3 +112,13 @@ scheme-mode "(bzr-reference" n> "(url \"" p "\")" n> "(revision \"" p "\"))") + +(:phases + ":phases (modify-phases %standard-phases" n> + "(" (p (completing-read "modify:" + '("add-before" + "replace" + "add-after" + "delete ") + nil t)) + " '" q "))" )