From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6315 166.70.0.0/16 X-Spam-Status: No, score=-3.4 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 981A61F4BD; Wed, 9 Oct 2019 08:15:54 +0000 (UTC) Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1iI78T-0002qd-8T; Wed, 09 Oct 2019 02:15:53 -0600 Received: from ip68-227-160-95.om.om.cox.net ([68.227.160.95] helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1iI78R-0001QH-Kt; Wed, 09 Oct 2019 02:15:53 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Eric Wong Cc: meta@public-inbox.org References: <87imp05hlm.fsf@alyssa.is> <20191008001050.rwd7bh7cek7qrydi@dcvr> <87wodfctwd.fsf@x220.int.ebiederm.org> <20191008221108.3wsso25kviiwd7ek@dcvr> <87wodec1um.fsf@x220.int.ebiederm.org> <20191008224104.GA24142@dcvr> <87h84ibb9m.fsf@x220.int.ebiederm.org> Date: Wed, 09 Oct 2019 03:15:07 -0500 In-Reply-To: <87h84ibb9m.fsf@x220.int.ebiederm.org> (Eric W. Biederman's message of "Wed, 09 Oct 2019 02:58:45 -0500") Message-ID: <87wode9vxw.fsf_-_@x220.int.ebiederm.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1iI78R-0001QH-Kt;;;mid=<87wode9vxw.fsf_-_@x220.int.ebiederm.org>;;;hst=in01.mta.xmission.com;;;ip=68.227.160.95;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19zlA95McwY1HN16DmVRe6MkJFocudF+Dw= X-SA-Exim-Connect-IP: 68.227.160.95 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: [PATCH 0/4] Various bits to support import_imap_mailbox X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) List-Id: Eric Wong, These should all of my generic patches to support my import_imap_mailbox script. The really important patch that adds to the support for List-ID to public inbox configuration file I have already sent. I haven't written tests and I get the following test failure when I run make test > t/config.t ................. 1/? > # Failed test 'lookup matches expected output' > # at t/config.t line 26. > # Structures begin differing at: > # $got->{listid} = ARRAY(0x55c1d4e3b6a8) > # $expected->{listid} = Does not exist > > # Failed test 'lookup matches expected output for test' > # at t/config.t line 42. > # Structures begin differing at: > # $got->{listid} = ARRAY(0x55c1d508d8d0) > # $expected->{listid} = Does not exist > # Looks like you failed 2 tests of 69. > t/config.t ................. Dubious, test returned 2 (wstat 512, 0x200) I haven't looked into what is happening there. Eric Biederman (4): PublicInbox::Import Smuggle a raw message into add PublicInbox::Config: Process mailboxes in sorted order Config.pm: Add support for looking up repos by their directories IMAPTracker: Add a helper to track our place in reading imap mailboxes lib/PublicInbox/Config.pm | 19 ++++++++++- lib/PublicInbox/IMAPTracker.pm | 73 ++++++++++++++++++++++++++++++++++++++++++ lib/PublicInbox/Import.pm | 9 +++--- 3 files changed, 96 insertions(+), 5 deletions(-) Eric