From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kFbmI9E9j2NslAAAbAwnHQ (envelope-from ) for ; Tue, 06 Dec 2022 14:04:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mO4KI9E9j2PSdwEAG6o9tA (envelope-from ) for ; Tue, 06 Dec 2022 14:04:17 +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 6973A12A5A for ; Tue, 6 Dec 2022 14:04:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2Xbc-0000XK-Jf; Tue, 06 Dec 2022 08:03:28 -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 1p2XbZ-0000WW-0l for help-guix@gnu.org; Tue, 06 Dec 2022 08:03:25 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2XbW-0007ib-4R for help-guix@gnu.org; Tue, 06 Dec 2022 08:03:24 -0500 Received: by mail-wr1-x435.google.com with SMTP id w15so23340052wrl.9 for ; Tue, 06 Dec 2022 05:03:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=qlpACmKmwSLRwzmNOiXkXBkgZ+Ra1QYaA8dACHoCqX4=; b=Z33NNeFthIRq4ca7aiuc+1Ogw94688PPPI9KwJkU7bm2qIQq0UV4tXJWxPEelTBxNy k9RXfOl0GWiRzljzQOI2gvqVYlmogx8y/lmFTnu43NBH2I0GZCj+OnyEG7XqjRkfC9V6 7g127UK6H33T+vySJ1DKljzjP6xbxX1oNhdYaHVfmUwqk308kxYDdRxWAcauWI0Sb7cn iTshxwioyJK3dUdJdzsfTicu2i457B6tBkEfKSJdy94U28m+6OpdPvf4cqXbqAr674QL SbHZxm3rQ061BrCh0kxnoCbwPyHQ3sAblT7L1LMgszzOD425OTQ0CgYU+R3t0cvooACV iqfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qlpACmKmwSLRwzmNOiXkXBkgZ+Ra1QYaA8dACHoCqX4=; b=KBQkd6XACu/2FX5ZbIxAmOHcVcre2JfMhnAQdMciRGL1bvwNNY+s0CBh3RZHq9Olvk J+E+QRySFO9PsZ0sjk0ON27+gDUy3+LajrVBI20hWlFSa2dZnbX5gFpMkBorSBYxsFou UAAkNbSCBxnXO4u5+8rk3c4YD/A9wIzynciOyRgRnL/Rg7HLFf77PromPbGqBdaq83dR rz0vs5jllqZXquEZCxqOqWhIcU1t64ejgtGy7U94Wpg2MnImvfkFLC4LOPp0EQkM60DW xcPNbX1brnnnBiR3t9ynU49HZQznlgJyuM1eRoNkaTJ9lYEWALpbJ5mmpTPVKFFNLzgJ N7aQ== X-Gm-Message-State: ANoB5plAFTQwZ++NZgwx1i4w2kUVPZIUmm+zaljdDGD0Pk/ZgArYPHEM 7XMUXwa/SJy9YFFablMgIwiqpFbkyW8= X-Google-Smtp-Source: AA0mqf4DsAB+PUI0F1LNRQgHuTGE2apP7o8vaUP6nC+e7hk4Xkza/SVyCIV0uRedu4a3awUk8SJeHg== X-Received: by 2002:a5d:400d:0:b0:242:3ae9:38c4 with SMTP id n13-20020a5d400d000000b002423ae938c4mr13020123wrp.444.1670331800666; Tue, 06 Dec 2022 05:03:20 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id e14-20020adff34e000000b0024228b0b932sm20600112wrp.27.2022.12.06.05.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 05:03:20 -0800 (PST) From: zimoun To: Kyle Meyer Cc: Mekeor Melire , help-guix Subject: Re: This is how you import a mailing list archives (e.g. guix-patches) into mu4e In-Reply-To: <87y1rlfinp.fsf@kyleam.com> References: <878rka8pcj.fsf@posteo.de> <864jua5jd6.fsf@gmail.com> <87y1rlfinp.fsf@kyleam.com> Date: Tue, 06 Dec 2022 13:03:46 +0100 Message-ID: <86359skacd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Scanner: scn1.migadu.com X-TUID: pmg1foR3lgXt Hi Kyle, On Mon, 05 Dec 2022 at 20:03, Kyle Meyer wrote: > In terms of cloning archives, plain cloning and fetching with Git is > fine, but, if you have public-inbox locally, you can instead use > public-inbox-clone and public-inbox-fetch, which will handle some > details for you (e.g, cloning underlying epochs and recognizing that new > epochs have been added): > > $ public-inbox-clone https://yhetil.org/guix-patches > > Another option for fetching that's nice if you're mirror multiple repos > is grokmirror: > > * https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/about/ > * example setup for guix: https://yhetil.org/guix-patches/878scww903.fsf= @kyleam.com/ I fetch from yhetil.org (Git) and then convert to MailDir because I use Notmuch as indexer (and reader :-)). And I do not want to duplicate the storage. Therefore, after fetching and converting, the Git repo is garbage collected, --8<---------------cut here---------------start------------->8--- echo $head > $gitdir/shallow $git gc --quiet --prune=3Dall --8<---------------cut here---------------end--------------->8--- https://gitlab.com/zimoun/my-conf/-/blob/master/.local/bin/sync-public-inbo= xes.sh#L94-99 For instance, the current size of guix-patches on my machine is 152K compared to the complete guix-patches Git repo of 277M. Well, I have not investigated much with =E2=80=99grokmirror=E2=80=99 and =E2=80=99public-inbox-fetch=E2=80=99 and maybe it would also work smoothly = with the same trick; avoiding many manual plumbing. Thanks for sharing. Cheers, simon