From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sGk2AEaUw2WzhQEA62LTzQ:P1 (envelope-from ) for ; Wed, 07 Feb 2024 15:31:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sGk2AEaUw2WzhQEA62LTzQ (envelope-from ) for ; Wed, 07 Feb 2024 15:31:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lassieur.org header.s=fm2 header.b=jfN5W3c4; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="n UBUbkM"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707316293; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AoQN46c5nKOgROapup95NKNeXZFdO6OQ6V/7ta1Xp+U=; b=H+BW0+X9bu5FwEEiqD+yTFKm6DPqtKpt+9X2CqRdvJZemFpX9Ityo2cJMgSO/9xH5He2ey K/yqcIXwMqfNwYr/LFRwriJZ2pNa1Z6C3y8J/ScO8JL7W2r3rLd89tJBZVXqHDOwkTrl2x bw1oClO05mweRdOL41kaqRlJ50yQz3Za+dXxwXlFxRk6Wm7ZRghCFYSwHfZw3ozldBs4Il sh8phoM10+iwy3Nwv8sPBF7AEJs8L/hvsrSABVI8COLUGmFbijmwj15wstuA4JZc424j7G zA/W1ZDUCwSP/fDAZtD8jKqCXbtpDJFDbu1yVC1gRV8EObC+jXr8sQp6L7Ca/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lassieur.org header.s=fm2 header.b=jfN5W3c4; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="n UBUbkM"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707316293; a=rsa-sha256; cv=none; b=gBIw+vtgqhGc2Zn79/DrXNETVit807HvcuePMAc7FG88JU8adotBBpIcnNoJUW6Y1i8Znf 2S+gNAkvaUSOIDAWHCqKJOgyC2LIIKFFrYaTeXkYcvtzy8YVGjvvQTDhD9onB2lYJYEXbX LwBcGyWhVSapTyP8dOH8dFdGwfkhepjqRP1aPwAqCYmjshAbBeHe5BTwSjztxwW2YwNFis hZVz+14el1KnNSGOLgmigtRSB15cPqIilnD15DJcWEOFIOdwp4ibusfgatsgk1E3KkaPmk 7Agzwmfqu0HXPitrY7smeGpvuL2Yas0vOkgfhy8qL4DfBDxsUUb5qw/cnMCtVw== 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 DFB4545F83 for ; Wed, 7 Feb 2024 15:31:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXiwx-0008Uk-Hb; Wed, 07 Feb 2024 09:30:55 -0500 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 1rXiwv-0008UK-FM for guix-devel@gnu.org; Wed, 07 Feb 2024 09:30:54 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXiws-0004xy-Gg for guix-devel@gnu.org; Wed, 07 Feb 2024 09:30:53 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 213EA5C0164; Wed, 7 Feb 2024 09:30:46 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 07 Feb 2024 09:30:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassieur.org; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1707316246; x=1707402646; bh=AoQN46c5nKOgROapup95NKNeXZFdO6OQ6V/7ta1Xp+U=; b= jfN5W3c4n+3lKRC0rKROLE8OubIBwawFzu3Sfc/VD6F5qMX112osIiMCbZ0xttmZ iEodYonG5roynOAT62OnMdcPE6fYoJs17dGKx3zhZ8rnIleZ1UejQNrYT8EFTcbD e+YDl93AO5n+LN8Y7Z4Uze3wQsdi3KBMCMIKPv3kMqUe+r/cccS7HsT0OeIK/ycs Hvhq0JIBl04nlwXSxrIQPfuUCH770iyNOcegYo+/Uxj1+Y4GzatcFSI2BbNJx4lV i/GEKzI2rQbyT2+EHUtBQUgSjt6M7R+YwWrCosctxlVBTHNqlvPuHLxcruiGpAdA BV0LRVe+2kFolFBr0axTYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707316246; x= 1707402646; bh=AoQN46c5nKOgROapup95NKNeXZFdO6OQ6V/7ta1Xp+U=; b=n UBUbkMvyyFei9PnTYKRAMievWT/+6Sn7FuMTWDcg9tjtKzbFrDajIKqlwiTA30UV n6B1Fm8hSaG4UjxVcQpI/b5ppN9yTuJSmj/3QAWgCvkbqN41gSbE6lEBm6h1TxLh Y5nCWpfc/JHxSQ+TgO1iMuLJJmGzKk5TpSKTzCugiBbecUhAj/qlaM3w3PpqeNqI hy6J0bEaLhMOG3MfwxPIUPMMnSOC4yc7O4P8cptvOTOOgEx0Ipo4vzrLVnigidS6 0c0CDsvV+p50mv4leXVtBRHTMuqn1kpPxoviRIqM8t5+3uPfMTQBKOjsuMljcjh1 iMyp+Sv4JWfmVrnSTQhdw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrtddvgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttderjeenucfhrhhomhepvehlrohm vghnthcunfgrshhsihgvuhhruceotghlvghmvghntheslhgrshhsihgvuhhrrdhorhhgqe enucggtffrrghtthgvrhhnpeegkeehfefftdefffeuveekgfffhfdtudfgudegueegvefg udetffdugfefhfejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegtlhgvmhgvnhhtsehlrghsshhivghurhdrohhrgh X-ME-Proxy: Feedback-ID: i4c21472a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Feb 2024 09:30:44 -0500 (EST) From: =?utf-8?Q?Cl=C3=A9ment_Lassieur?= To: Josselin Poiret Cc: Suhail , Hartmut Goebel , guix-devel@gnu.org Subject: Re: Guix Days: Patch flow discussion In-Reply-To: <87plx8fl2a.fsf@jpoiret.xyz> (Josselin Poiret's message of "Wed, 07 Feb 2024 14:41:49 +0100") References: <87plx8fl2a.fsf@jpoiret.xyz> Date: Wed, 07 Feb 2024 15:30:42 +0100 Message-ID: <87wmrgs5wt.fsf@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=66.111.4.25; envelope-from=clement@lassieur.org; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.36 X-Migadu-Queue-Id: DFB4545F83 X-Spam-Score: -10.36 X-Migadu-Scanner: mx11.migadu.com X-TUID: ydgHIoeuZi9L Hello, On Wed, Feb 07 2024, Josselin Poiret wrote: > With a properly configured b4, one > could simply run `b4 shazam some-msg-id` and it would automatically > apply the corresponding patchset. Note that you can do the same with one Emacs command while browsing Gnus mailing lists: --8<---------------cut here---------------start------------->8--- (defun my-apply-patch-or-abort () (interactive) (my-apply-patch-internal "git am || git am --abort")) (defun my-apply-patch () (interactive) (my-apply-patch-internal "git am -3")) (defun my-apply-patch-or-abort-attachment (n) (interactive "P") (my-apply-patch-attachment-internal "git am || git am --abort" n)) (defun my-apply-patch-attachment (n) (interactive "P") (my-apply-patch-attachment-internal "git am -3" n)) (defun my-apply-patch-attachment-internal (cmd n) "C-u M-x my-apply-..." (let ((git-dir "~/src/guix")) (save-window-excursion (gnus-article-part-wrapper n (lambda (handle) (let ((default-directory git-dir)) (mm-pipe-part handle cmd))))))) (defun my-apply-patch-internal (cmd) "Works with a selection of articles too." (let ((git-dir "~/src/guix") (articles (gnus-summary-work-articles nil))) (save-window-excursion (while articles (gnus-summary-goto-subject (pop articles)) (with-current-buffer gnus-summary-buffer (let ((default-directory git-dir)) (gnus-summary-save-in-pipe cmd)) (gnus-article-hide-headers)))))) --8<---------------cut here---------------end--------------->8--- Cheers, Cl=C3=A9ment