From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eHVvAmQEjWMQSQEAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 21:34:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oPhfAmQEjWNpSQAA9RJhRA (envelope-from ) for ; Sun, 04 Dec 2022 21:34:44 +0100 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 9C836A597 for ; Sun, 4 Dec 2022 21:34:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1vgk-0002v4-QB; Sun, 04 Dec 2022 15:34:14 -0500 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 1p1vgj-0002ug-9L for help-guix@gnu.org; Sun, 04 Dec 2022 15:34:13 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1vgg-0008R0-PG for help-guix@gnu.org; Sun, 04 Dec 2022 15:34:12 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 84E21240104 for ; Sun, 4 Dec 2022 21:34:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1670186047; bh=3Sr+MESs+fL5aoIGbmUlg498cJQr2cfU9fv1zvaSNjQ=; h=From:To:Cc:Subject:Date:From; b=PBHUHQCtlyn4D+qbVde+t2PR5Zsv5sHNGatMLso7xcmkqOdk3UikG5lf7cQOMeJ5R 7NNefQUHrBSZgZMPvaq0rvrBeK5V0+dIZ1zlBDfA4/MO+3S63ThlyphV1Q/XSlWdW0 bXH8DMYBdKwezjwufQmO7W8lGINQ7pEYS1nRRiKuZE/siG0t+Es5pTrpp0TW3Ols/C zgJpi9CQVMrTx8MtEWY7fZRb8kmyOR/uK1gf13ZTwkyyxaJ7wJXStcuo2NRdkW3KCT 4jp6j9Q3mL75wEoITVPNbBNNvJuiqjJ8Hr0CywWGpeU/Sk9DRFMLhpn4E9RoYhwfGB KL0J6LeW/f3IA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NQJLP34Czz9rxF; Sun, 4 Dec 2022 21:34:05 +0100 (CET) References: <878rka8pcj.fsf@posteo.de> <87v8ne7996.fsf@posteo.de> From: Mekeor Melire To: Mekeor Melire Cc: jbranso@dismail.de, help-guix@gnu.org Subject: Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e Date: Sun, 04 Dec 2022 20:16:02 +0000 In-reply-to: <87v8ne7996.fsf@posteo.de> Message-ID: <87zgc2kix5.fsf@posteo.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=mekeor@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670186083; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=0oa52WOqxovWx74C63tHFTTbf36R9vmsPhp1R94Y8nY=; b=Qgcj13ZzpjZ/UTkAq0a3hQtCaciN4JiyqvUnA8AhnFDZGlZckMn7Mh5MQNImugAlZkKeNL mvwPbYcRg5+xs4xUy+3MPHnk4PMGaReGQwNZVV2D0SwiJAUsmWVCTfqQmL7NVrAYyoPDbh Kh6qFXP+BL16zu/qnNpAbcsu+NyuZ/5VkBs/GzxiTdLQZRzhNHJ01iHe8WqHg2xzidgFAZ /iWZ/FTZQeMHx67fjaPJcz8OO39m58FsNa+5izl4gtQgKsbvFDyuVtGibkKBSEqwPrc8W+ 9tWziB5+Sj5YZj9MUVjWXffEjchanp73ucBlMcXmxYX0XO+7dy9mtbi/3L1Meg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670186083; a=rsa-sha256; cv=none; b=rw5r2knnrk22HpvG9Ogo7m5k1Tmbc4peex8oNd+qrv8GvS2l4YZDzymedR+uD5jXVZDN5L G3iXzkubQG087fVGDt6fDWqSwMZb024J+aVnRzbhHwtkcxzqTFmeCdkx/s0KeIlrRpyI11 azJiK4dnWx3qFWvEAIImtW9kiJfhjh0oI7kY9FPBSiUlL+x3xSSM9ddgXClcNljwKkkV4V PjCRl+Qye28RNv4iQqSShoSkBtmq6KhuMqCX2W335mxBBfNSMrsOidmVz7W6uHtk5HN4uP rXQ2deP1Ml+kEgVdPgnlOHuQB0a0LCmwiF1U359VYPwd0n9pNXKvKJ7nXcJ+Vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=PBHUHQCt; dmarc=pass (policy=none) header.from=posteo.de; 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-Spam-Score: -6.76 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=PBHUHQCt; dmarc=pass (policy=none) header.from=posteo.de; 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-Queue-Id: 9C836A597 X-Spam-Score: -6.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: KiJtp7o1ZuPL --=-=-= Content-Type: text/plain 2022-11-16 / 23:41 / mekeor@posteo.de: > 2022-11-16 / 23:22 / jbranso@dismail.de: > > November 16, 2022 6:15 PM, "Mekeor Melire" wrote: > > > you might want to import a mailing-list-archive into mu4e. E.g. > > > because debbugs.el is slow, you might want to import the archives of > > > the guix-patches mailing list. This is how to do so. > > Would you mind writing this up and including it in the guix cookbook? > > Alright, I'll try to send a patch. I think I should change the > instructions in order to replace the unpackaged mb2md perl-script in > favor of the packaged mblaze tool. Afterwards, it should be straight > forward. I made a little shell script out of these instructions. You can find it attached. The script allows to either import a specified GNU mailing-list into a specified maildir, or update that maildir, beginning either from a specified YYYY-MM date or from the date of the latest message. For example, I used this command to initialize my mailing-list-maildirs: guix shell mblaze html-xml-utils -- sh -c 'for l in bug-guix guix-devel guix-patches help-guix; do ~/path/to/ugmltmd ~/path/to/mail/$l $l 2022-01; done' And I use the following command to update my mailing-list-maildirs: guix shell mblaze html-xml-utils -- sh -c 'for l in bug-guix guix-devel guix-patches help-guix; do ~/path/to/ugmltmd ~/path/to/mail/$l $l; done' I wonder if it still makes sense to add some instructions into the Guix cookbook. And if so, I wonder if this shell script should just be put there or if it should live in some public git repository somewhere. What do you think? --=-=-= Content-Type: application/x-sh Content-Disposition: attachment; filename=ugmltmd Content-Transfer-Encoding: base64 IyEvYmluL3NoCiMgLSotIG1vZGU6IHNoIC0qLQoKaWYgWyAiJCMiIC1sdCAyIF0gfHwgWyAiJCMi IC1ndCAzIF07IHRoZW4KICAgIGVjaG8gInVzYWdlOiIKICAgIGVjaG8gIiAgICB1Z21sdG1kIE1B SUxESVIgTElTVF9OQU1FIFtZRUFSX01PTlRIXSIKICAgIGVjaG8KICAgIGVjaG8gImRlc2NyaXB0 aW9uOiIKICAgIGVjaG8gIiAgICB1cHNlcnQgYSBnbnUgbWFpbGluZy1saXN0IHRvIGEgbWFpbGRp ciwgYmVnaW5uaW5nIGVpdGhlciBhdCIKICAgIGVjaG8gIiAgICBZRUFSX01PTlRILCBvciBhdCB0 aGUgbGF0ZXN0IGxvY2FsIG1lc3NhZ2UuIgogICAgZWNobwogICAgZWNobyAiZGVwZW5kZW5jaWVz OiIKICAgIGVjaG8gIiAgICBhd2ssIGNvcmV1dGlscywgY3VybCwgaHRtbC14bWwtdXRpbHMsIG1i bGF6ZSIKICAgIGVjaG8KICAgIGVjaG8gImV4YW1wbGU6IgogICAgZWNobyAiICAgIHVnbWx0bWQg fi9tYWlsZGlycy9pbmZvLWdudSBpbmZvLWdudSAyMDEyLTEyIgogICAgZXhpdCAiJExJTkVOTyIK ZmkKCm1haWxkaXI9IiQxIgpsaXN0PSIkMiIKZmlyc3RfeWVhcm1vbnRoPSIkMyIKCnRlbXBfZmls ZT0iJChta3RlbXApIgp0cmFwICdybSAtZiAkdGVtcF9maWxlJyAwIDIgMyAxNQoKaWYgISBbIC1k ICIkbWFpbGRpciIgXTsgdGhlbgogICAgZWNobyAiY3JlYXRlIG1haWxkaXIgYXQgJG1haWxkaXIi CiAgICBtbWtkaXIg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