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: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B100D1F5AE for ; Tue, 25 May 2021 11:01:36 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] lei forget-mail-sync: drop sync information Date: Tue, 25 May 2021 11:01:33 +0000 Message-Id: <20210525110136.6223-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Sometimes users lose interest in a Maildir or IMAP folder, etc; this drops sync information to not clutter up disk space, "ls-mail-sync" output, etc. Eric Wong (3): lei export-kw: use lei->abs_path instead of rel2abs lei_mail_sync: args2folder: common folder lookup sub lei forget-mail-sync: new command to drop sync information MANIFEST | 1 + lib/PublicInbox/LEI.pm | 3 +- lib/PublicInbox/LeiExportKw.pm | 34 +++--------------- lib/PublicInbox/LeiForgetMailSync.pm | 30 ++++++++++++++++ lib/PublicInbox/LeiInspect.pm | 21 +++++------ lib/PublicInbox/LeiMailSync.pm | 54 ++++++++++++++++++++++++++++ t/lei-import-imap.t | 4 +++ 7 files changed, 104 insertions(+), 43 deletions(-) create mode 100644 lib/PublicInbox/LeiForgetMailSync.pm