From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28014 invoked from network); 15 Jul 2021 17:37:54 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 15 Jul 2021 17:37:54 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m45J2-004Huf-Dt for ml@inbox.vuxu.org; Thu, 15 Jul 2021 12:37:52 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1m45J2-0094mq-3h for ml@inbox.vuxu.org; Thu, 15 Jul 2021 12:37:52 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m45Iz-0094mf-U9 for ding@lists.math.uh.edu; Thu, 15 Jul 2021 12:37:49 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1m45Iy-004HuU-27 for ding@lists.math.uh.edu; Thu, 15 Jul 2021 12:37:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=sii8JaDwddCibeGg4WfcYhTMRwOhJctTb5W7GgEP7ZI=; b=HoLjttvr1+ApBLMCLrIZFU60UQ iAP6daQAcMZ+F7sR4iJ68bCpnNkJngdX3tkvNfRH0VzahuLZ5YWIH+emKIEyxc/iRq/qgNDMCudsN 9nTLdiY+yYy7+/Z4mHrZsy0DG4tD0kkSuYf+JXEFBtLP2ySlyQnMFeIDp1hmIyme+yVw=; Received: from mail.ericabrahamsen.net ([52.70.2.18]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m45Iq-00034e-Lf for ding@gnus.org; Thu, 15 Jul 2021 19:37:43 +0200 Received: from localhost (75-172-126-110.tukw.qwest.net [75.172.126.110]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 4EF5EFA095; Thu, 15 Jul 2021 17:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1626370657; bh=sii8JaDwddCibeGg4WfcYhTMRwOhJctTb5W7GgEP7ZI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=v7RdEkbpV+asKhmZFZCsMH/uVlcFB2rpOZ2dc3Ez0KiOe5ODDkeMtoSmuN3JQslVy zZ6svWQtKThaL5KFT6DapzuUqqscoYtdH/4Twv19FkLXXkl0youO40GCof/W7qjxXs LBhDGdf7ut2sJEWbwTge+aes20OJaAo6xoiUWfqw= From: Eric Abrahamsen To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Cc: ding@gnus.org Subject: Re: Applying patches sent via email References: <87h7gxao1y.fsf@ericabrahamsen.net> <20210715181500+0200.245407-stepnem@gmail.com> Date: Thu, 15 Jul 2021 10:37:35 -0700 In-Reply-To: <20210715181500+0200.245407-stepnem@gmail.com> (=?utf-8?B?IsWgdMSbcMOhbiBOxJttZWMiJ3M=?= message of "Thu, 15 Jul 2021 18:15:00 +0200") Message-ID: <87mtqnbhr4.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > On Tue, 13 Jul 2021 14:42:17 -0700 > Eric Abrahamsen wrote: > >> Hi all, >> >> I've always been slightly annoyed at the hoops I have to jump through to >> apply git patches that I get in email to various repos that I have on >> disk. I'm starting to realize that it's actually easier than I thought >> (specifically, "git am" is much more capable than I realized), and I'm >> thinking that there's only a couple bits of glue missing, which means >> someone has probably already done this. >> >> Does anyone have a facility that can be used to apply git patches >> received via email to local repos? I'd like equivalents to both >> `gnus-summary-pipe-part' and `gnus-summary-pipe-output' -- ie applicable >> either to a mime part or to the message as a whole -- where it prompts >> me for a local directory (git repo), possibly for a git branch in that >> repo, then handles the running of "git am" for me. > > For git, piem.el comes close to those requirements: > > https://docs.kyleam.com/piem/ > > It lets you define local repository locations corresponding to mailing > list addresses and creates a branch to apply the patch(es) cleanly > (that's customizable). > > It also lists some other tools of potential interest: > > https://docs.kyleam.com/piem/Related-projects-and-tools.html#Related-proj= ects-and-tools This is great! Another very useful reference. Obviously many people have had similar needs... Thanks, Eric