unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Apply Guix patches from debbugs
Date: Thu, 18 Jul 2019 23:15:45 -0700	[thread overview]
Message-ID: <87h87i7dny.fsf@gmail.com> (raw)
In-Reply-To: <87o91v7ela.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 15 Jul 2019 12:54:25 +0200")

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

Pierre Neidhardt <mail@ambrevar.xyz> writes:

> Question for Emacs users: how do you apply patches directly from the debbugs
> interface?
>
> From the summary view, I can press M-m (debbugs-gnu-apply-patch).
> It asks me for a directory, I point to guix, and then I get the error
>
> cd: No such directory found via CDPATH environment variable
>
> which after some investigation turns out to be because the command
> expects a "lisp" folder (this is made for Emacs development indeed).
>
> There must be some other way then.
> I remember doing it in the past, so my memory must be failing me...

In Gnus, I press "#" to mark one or more messages with the "process
mark" ((gnus) Other Marks), then I press "|" (gnus-summary-pipe-output),
then I type "(cd ~/guix && git am)" to cd to my Guix checkout and apply
the patches.  This works pretty well for me.

I'm not sure if the parentheses in the "git am" command are required,
but I do it out of habit.  I suppose if I were doing this on a daily
basis, I would create some sort of function or macro to do it all in one
keystroke, but honestly I just type it out when I need to do it, so I
haven't thought about how to make it more automatic.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2019-07-19  6:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 10:54 Apply Guix patches from debbugs Pierre Neidhardt
2019-07-15 10:56 ` swedebugia
2019-07-15 11:11   ` Pierre Neidhardt
2019-07-15 11:58 ` Efraim Flashner
2019-07-19  6:15 ` Chris Marusich [this message]
2019-07-24 17:09   ` Ludovic Courtès
2019-07-26 10:15     ` Pierre Neidhardt

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=87h87i7dny.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mail@ambrevar.xyz \
    /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).