all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jelle Licht <jlicht@fsfe.org>
To: Andy Tai <atai@atai.org>, help-guix@gnu.org
Subject: Re: patch question: any tool to download patches from guix patch mailing list?
Date: Sun, 18 Jun 2023 22:28:39 +0200	[thread overview]
Message-ID: <874jn4y0p4.fsf@fsfe.org> (raw)
In-Reply-To: <CAJsg1E89Yscax8H5Xekr5MfdLoDnHZ2LD5JZN-yUf2PCoM+FNg@mail.gmail.com>

Hi Andy,

Andy Tai <atai@atai.org> writes:

> Hi, this is more a developer question:
>
> Guix patches are posted to guix-patches mailing list.   Is there any
> tool that makes it easy to download a particular patch series from the
> mailing list archive or the Guix issue web site so it is easy to apply
> a patch series to a local checkout of the guix git repo?
>
> This is to mainly easily test guix package definition patches.
>
> (There seems to be tool like b4 or patchworks for Linux kernel
> developers and their mailing lists but not sure if similar tools exist
> for GNU (or Guix specific) development mailing lists)

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, 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.

Hope this additional data point is useful.

- Jelle


  parent reply	other threads:[~2023-06-18 20:29 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 [this message]
2023-06-19  8:33   ` Giovanni Biscuolo
2023-06-19 15:05     ` Maxim Cournoyer

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=874jn4y0p4.fsf@fsfe.org \
    --to=jlicht@fsfe.org \
    --cc=atai@atai.org \
    --cc=help-guix@gnu.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.