all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: Jelle Licht <jlicht@fsfe.org>,  Andy Tai <atai@atai.org>,
	help-guix@gnu.org
Subject: Re: patch question: any tool to download patches from guix patch mailing list?
Date: Mon, 19 Jun 2023 11:05:01 -0400	[thread overview]
Message-ID: <87352n4hnm.fsf@gmail.com> (raw)
In-Reply-To: <87ttv326na.fsf@xelera.eu> (Giovanni Biscuolo's message of "Mon,  19 Jun 2023 10:33:29 +0200")

Hi,

Giovanni Biscuolo <g@xelera.eu> writes:

> Hi!
>
> Jelle Licht <jlicht@fsfe.org> writes:
>
> [...]
>
>> I know it was already mentioned, but some features were recently added
>> to piem (patch waiting over at https://issues.guix.gnu.org/64155) to
>> integrate it with debbugs.el,
>
> great!  I missed it (v. 0.5.0 released few hours ago [1]); thank you for
> the patch to the Guix package!
>
>> the Emacs debbugs interface. This makes it
>> (IMHO) a fairly easy to apply some patches locally.
>>
>> I have this set up with (something similar to) the following:
>> --8<---------------cut here---------------start------------->8---
>> (setq piem-inboxes
>>       (("guix-patches"
>>         :coderepo ("/home/jlicht/Documents/guix")
>> 	:url "https://yhetil.org/guix-patches"
>> 	:listid "guix-patches.gnu.org"
>> 	:address "guix-patches@gnu.org"
>> 	:gnu-package "guix-patches")))
>>
>> (require 'piem)
>> (piem-gnus-mode 1)
>> (piem-debbugs-mode 1)
>>
>> (require 'debbugs)
>> (defun debbugs-gnu-guix ()
>>   "List Guix issues."
>>   (interactive)
>>   (debbugs-gnu '("serious" "important" "normal") '("guix-patches") nil t))
>> --8<---------------cut here---------------end--------------->8---
>>
>> With the configuration taken care of, just `M-x debbugs-gnu-guix',
>> navigate to any issue (just put point on an issue you are interested in)
>> and run `M-x piem-b4-am'. It should pull down all needed messages (from
>> yhetil's public inbox mirror), and use some heuristics to apply the most
>> recent patch revision, taking into account either 'git send-email' or
>> attachment-based patch series.
>
> Thank you for the explanation, it's very valuable since this new feature
> is not well documented on the pien online manual at
> https://docs.kyleam.com/piem/
> (e.g. https://docs.kyleam.com/piem/Lisp-Function-Index.html mentions
> piem-debbugs-mode but no other documentation is found)

That's very cool.  I haven't tried it yet, but if it works as well as
advertised, it'd make sense to document it in our manual.  Perhaps a new
"Applying patches" subsection to the 'Contributing' chapter?

-- 
Thanks,
Maxim


      reply	other threads:[~2023-06-19 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-16 18:55 patch question: any tool to download patches from guix patch mailing list? Andy Tai
2023-06-17 15:28 ` Giovanni Biscuolo
2023-06-17 16:59 ` Hilton Chain
2023-06-17 17:44 ` Christopher Baines
2023-06-18 20:28 ` Jelle Licht
2023-06-19  8:33   ` Giovanni Biscuolo
2023-06-19 15:05     ` Maxim Cournoyer [this message]

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=87352n4hnm.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=atai@atai.org \
    --cc=g@xelera.eu \
    --cc=help-guix@gnu.org \
    --cc=jlicht@fsfe.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.