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 BFE2C1F9F3 for ; Sun, 31 Oct 2021 09:10:17 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/2] doc: add lei-mail-sync-overview manpage Date: Sun, 31 Oct 2021 09:10:16 +0000 Message-Id: <20211031091017.11274-2-e@80x24.org> In-Reply-To: <20211031091017.11274-1-e@80x24.org> References: <20211031091017.11274-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Mostly illustrating how clunky the process is :p We'll also tweak some things in existing man pages around mail synchronization. --- Documentation/lei-export-kw.pod | 3 ++ Documentation/lei-forget-mail-sync.pod | 5 ++- Documentation/lei-import.pod | 34 +++++++++++++--- Documentation/lei-index.pod | 5 ++- Documentation/lei-ls-label.pod | 1 + Documentation/lei-ls-mail-source.pod | 5 ++- Documentation/lei-ls-watch.pod | 3 +- Documentation/lei-mail-formats.pod | 5 ++- Documentation/lei-mail-sync-overview.pod | 52 ++++++++++++++++++++++++ Documentation/lei-overview.pod | 13 +++++- Documentation/lei-tag.pod | 21 +++++++++- Documentation/lei.pod | 4 +- MANIFEST | 1 + Makefile.PL | 4 +- 14 files changed, 136 insertions(+), 20 deletions(-) create mode 100644 Documentation/lei-mail-sync-overview.pod diff --git a/Documentation/lei-export-kw.pod b/Documentation/lei-export-kw.pod index cf482ca0d307..b6d175f14773 100644 --- a/Documentation/lei-export-kw.pod +++ b/Documentation/lei-export-kw.pod @@ -12,6 +12,9 @@ lei export-kw MFOLDER [MFOLDER...] C propagates keywords (e.g. C, C, C, etc.) from lei/store to IMAP folders and/or Maildirs. +It only works for messages lei knows about (e.g. was used as a +C, or imported via L, or indexed +via L. It does not delete, write, nor modify messages themselves; it only sets metadata on Maildirs and IMAP folders. diff --git a/Documentation/lei-forget-mail-sync.pod b/Documentation/lei-forget-mail-sync.pod index e70b4d33a33a..29ff56711815 100644 --- a/Documentation/lei-forget-mail-sync.pod +++ b/Documentation/lei-forget-mail-sync.pod @@ -9,8 +9,9 @@ lei forget-mail-sync [OPTIONS] LOCATION [LOCATION...] =head1 DESCRIPTION Forget synchronization information for C, an IMAP or Maildir -folder. Note that this won't delete any messages stored in Git, -leaving C users with dangling references. +folder. Note that this won't delete any messages on the filesystem. +Users using L without L will be left +with dangling references in search results. =head1 CONTACT diff --git a/Documentation/lei-import.pod b/Documentation/lei-import.pod index 9322dfa8d34c..25f1daf5f32f 100644 --- a/Documentation/lei-import.pod +++ b/Documentation/lei-import.pod @@ -4,7 +4,7 @@ lei-import - one-time import of messages into local store =head1 SYNOPSIS -lei import [OPTIONS] LOCATION [LOCATION...] +lei import [OPTIONS] LOCATION [LOCATION...] [+L:LABEL] lei import [OPTIONS] (--stdin|-) @@ -16,8 +16,8 @@ source of messages: a directory (Maildir), a file, or a URL authentication use L to fill in the username and password. -For a regular file, the location must have a CformatE:> -prefix specifying one of the following formats: C, C, +For a regular file, the C must have a CformatE:> +prefix specifying one of the following formats: C, C, C, or C. =head1 OPTIONS @@ -42,6 +42,29 @@ C. Default: fcntl,dotlock +=item +L:LABEL + +Add the given C