[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch question: any tool to download patches from guix patch mailing
From: |
Maxim Cournoyer |
Subject: |
Re: patch question: any tool to download patches from guix patch mailing list? |
Date: |
Mon, 19 Jun 2023 11:05:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
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