unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Thomas Danckaert <post@thomasdanckaert.be>
Cc: guix-devel@gnu.org
Subject: Re: Adopt a patch!
Date: Fri, 22 Sep 2017 15:45:04 -0400	[thread overview]
Message-ID: <87efqyy0u7.fsf@gmail.com> (raw)
In-Reply-To: <20170922.124224.309712304599155906.post@thomasdanckaert.be> (Thomas Danckaert's message of "Fri, 22 Sep 2017 12:42:24 +0200 (CEST)")

Hi Thomas,

Thomas Danckaert <post@thomasdanckaert.be> writes:

> I don't mind the e-mail-based workflow in principle, and find it has
> some advantages, but there are a few practical issues.  I'll list my
> frustrations, maybe there are concrete solutions for some of them:
>
>  - I find that saving a long patch series from a bunch of e-mails, and
>    applying them all to a local git checkout is tedious, with a lot of
>    potential to miss a patch, apply a wrong one, or otherwise screw up
>    (not to mention patches occasionally get mangled somewhere in the
>    e-mail pipeline, so git won't apply them).  Also, sometimes patches
>    are in the message body, at other times they are attachments,
>    ... It *is* a lot of error-prone manual work, compared to just
>    fetching a branch with git.  I think this is where the “glossy
>    interfaces of Github & co.” do have an advantage.
>
>    Perhaps there are better ways to deal with this, though... Am I
>    missing some tricks to easily retrieve a bunch of patches from
>    e-mails, and apply them?  Maybe a tutorial by someone who finds the
>    current workflow comfortable, could already help.

In Gnus, with the cursor on the body of a message, you can pipe the
patch-in-body using the `|' shortcut or M-x gnus-summary-pipe-output and
then giving it the command "git am -s" as Ludovic pointed out some time
ago. It works the same if you place the cursor on a MIME (attachment)
object. You can also apply multiple patches in a row by giving it a
prefix argument (e.g. C-u N |) to apply N patches from N messages
(haven't tried that one yet but it's documented, see C-h f
gnus-summary-pipe-output).

I intend to script this method in Elisp so that would deal with both
types of patches (in-body/as-attachment) transparently but haven't
gotten around it just yet. I packaged the very old emacs-dvc thinking it
could help in doing that but it doesn't, so haven't bothered releasing
it.

> The other issue is that, in my opinion, the only user-friendly way to
> interact with debbugs, is using emacs + debbugs-gnu, once you are
> familiar with both.  I think that's a really high barrier.
>
> - I briefly subscribed to the guix-patches mailing list, but found the
>   volume of e-mail much too high.
> - That leaves debbugs.  I find the web interface quite terrible, it's
>    just walls of text you have to find your way through. For example,
>    Github's “issues” are much more readable (and you can interact with
>    them via e-mail, too).
> - The debbugs emacs interface is quite ok (at least there's a threaded
>   conversation view), although now you have to learn to use Gnus if
>   you want to participate in the conversation.

I can highly recommend Gnus to get some hold of high mailing list
traffic. Expiry is a nifty way to storm through the mails, and there's
always the last resort 'c' catchup that will put you back on top of
things after coming back from a long weekend.

Maxim

  parent reply	other threads:[~2017-09-22 19:45 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-11  8:13 Adopt a patch! Ludovic Courtès
2017-09-14  1:22 ` Arun Isaac
2017-09-14  4:26   ` ng0
     [not found] ` <4fecd5dd.AEQAQDR72NkAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZudnG@mailjet.com>
2017-09-17 20:04   ` Ludovic Courtès
2017-09-18 10:45     ` Ricardo Wurmus
2017-09-19 14:15     ` Maxim Cournoyer
2017-09-19 14:22     ` Arun Isaac
2017-09-20  5:21       ` Pjotr Prins
2017-09-20  6:11         ` ng0
2017-09-21  9:37         ` Arun Isaac
2017-09-21 11:25           ` Adonay Felipe Nogueira
2017-09-21 16:33             ` ng0
2017-09-20 11:48       ` Hartmut Goebel
2017-09-21 14:08         ` Ricardo Wurmus
2017-09-21 14:39           ` Maxim Cournoyer
2017-09-21 16:16             ` Adonay Felipe Nogueira
2017-09-21 20:31             ` Ricardo Wurmus
2017-09-22  5:02               ` Pjotr Prins
2017-09-22 12:15                 ` Kei Kebreau
2017-09-22 10:42               ` Thomas Danckaert
2017-09-22 14:22                 ` Ludovic Courtès
2017-10-14 21:26                   ` ng0
2017-09-22 19:45                 ` Maxim Cournoyer [this message]
2017-09-23 19:51                   ` Thomas Danckaert
2017-09-22  9:10           ` Hartmut Goebel
     [not found]     ` <3db6934a.AEQAQWrlP5MAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZwSg8@mailjet.com>
2017-10-13 13:08       ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87efqyy0u7.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=post@thomasdanckaert.be \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).