Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: "Štěpán Němec" <stepnem@gmail.com>
Cc: ding@gnus.org
Subject: Re: Applying patches sent via email
Date: Thu, 15 Jul 2021 10:37:35 -0700	[thread overview]
Message-ID: <87mtqnbhr4.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <20210715181500+0200.245407-stepnem@gmail.com> (=?utf-8?B?IsWgdMSbcMOhbiBOxJttZWMiJ3M=?= message of "Thu, 15 Jul 2021 18:15:00 +0200")

Štěpán Němec <stepnem@gmail.com> 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-projects-and-tools

This is great! Another very useful reference. Obviously many people have
had similar needs...

Thanks,
Eric


  reply	other threads:[~2021-07-15 17:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13 21:42 Eric Abrahamsen
2021-07-13 21:50 ` Lars Ingebrigtsen
2021-07-13 22:38   ` Eric Abrahamsen
2021-07-15  4:33     ` Lars Ingebrigtsen
2021-07-15 16:15 ` Štěpán Němec
2021-07-15 17:37   ` Eric Abrahamsen [this message]
2021-07-15 20:06 ` Tassilo Horn
2021-07-16 14:47   ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtqnbhr4.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.org \
    --cc=stepnem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).