From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2OoCDRVpj2RNIAAASxT56A (envelope-from ) for ; Sun, 18 Jun 2023 22:29:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MJQVDRVpj2RIKwEAauVa8A (envelope-from ) for ; Sun, 18 Jun 2023 22:29:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 037514EE2 for ; Sun, 18 Jun 2023 22:29:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAz0y-0001Bk-4J; Sun, 18 Jun 2023 16:28:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAz0v-0001BZ-O4 for help-guix@gnu.org; Sun, 18 Jun 2023 16:28:45 -0400 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAz0t-0005IC-DF for help-guix@gnu.org; Sun, 18 Jun 2023 16:28:45 -0400 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1687120119; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0UhJa/ckRO8aRD45W2qi7RXECX7tLcEACq4HAhpRcBI=; b=H57XtYcIctfrQehddtHMB/kjBnVJz1sG558bbEHny5AUDayJY9ujsqVNlT1y4+75fwt3k4 ExQnkuzlDRB1glp02J2RYt7J0cLOlPaRAFr+LhNVxYoo6Ofe2ikAQ7a1vLVUxsWnKd40j2 Nwcc81JGE7uyizVsKUWlBfv877aYBd4= To: Andy Tai , help-guix@gnu.org Subject: Re: patch question: any tool to download patches from guix patch mailing list? In-Reply-To: References: Date: Sun, 18 Jun 2023 22:28:39 +0200 Message-ID: <874jn4y0p4.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:aa8:ffed:f5f3::151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687120149; a=rsa-sha256; cv=none; b=RJwmUbF5pzoEww2AbKoYmg3oQ2R1Yox317zngFWjMKUeUr9pdZZoeRbpQ+idQWIb4TwTeR ZI1jPaYDIh8PfF18ExVaeVziMPpNjQreAPOLS+/qmnSXt9VxsDVDJvSKhYs7nCsGOK/p1P WXq7fVjaASN9KJZzCWerzmRNNi25As1FerW00P22Zj4VwMjLvCQPYzRlyTfijt4gD0N3fE ofLpBp0lDmFigQ+6fu4a0zmwC0zoIVqyaszXRjlk5NrCS/w7GhDsDl3pJefUmhbK0gydi1 zxxNs4g7klP+Y39syuPMieM2SDuMfcAYJMN7gOLqTaBFjYQcEIrWLMuA9GvZYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b=H57XtYcI; dmarc=pass (policy=none) header.from=fsfe.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687120149; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0UhJa/ckRO8aRD45W2qi7RXECX7tLcEACq4HAhpRcBI=; b=vCqCvkOkGYKz3aE+vnTNggXWazczJmLVOP1n+imB6hzbZhKMSjy7n13Gf3DxFHDfXkYSAI RUBlrIV6bosw+nZpVBXDw+5WiUoO2at1x5imZ1DFG3NTGidH+dAftpJ3J1loAdVD9sX8P1 /7t6r1yCBE5W+gHh1hE9v0GBe9MDypUupjJjItHXf4t/B2ZpBv3VjGe+8NL7M6QhTn0afV IXfamqVlXRFcEDgmko83mUMw+BAseDvtQw7+xyCaJ5Efm7IDNrKTLSfhX2RRWGaVo1wAc8 XEZmBFyFW4Sc/a2WnfFNLEKRARcXGbU9HrDjARxdfqsqsNVV9QBv0DH0SL9HnA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b=H57XtYcI; dmarc=pass (policy=none) header.from=fsfe.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.58 X-Spam-Score: -10.58 X-Migadu-Queue-Id: 037514EE2 X-TUID: oQiRXKMAQFE7 Hi Andy, Andy Tai 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