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 A09371F8C8 for ; Sun, 19 Sep 2021 12:50:35 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 00/16] lei IPC overhaul, NNTP fixes Date: Sun, 19 Sep 2021 12:50:19 +0000 Message-Id: <20210919125035.6331-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 11/16 is a bit worrying for saved search dedupe over HTTP(S), and I can't seem to reproduce it reliably, either.. ls-mail-source and import use is far nicer, as it provides a good avenue for doing partial fetches. lei/store IPC got a massive overhaul, and the sto_done_request simplification is nice. This will probably simplify automatic export-kw support to IMAP folders. I also noticed "lei config --edit" was wonky, so I made it share code with "lei edit-search". Starting to document config knobs, too. Eric Wong (16): ipc: wq_do: support synchronous waits and responses ipc: allow disabling broadcast for wq_workers lei/store: use SOCK_SEQPACKET rather than pipe lei: simplify sto_done_request lei_xsearch: drop Data::Dumper use ipc: drop dynamic WQ process counts lei: clamp internal worker processes to 4 lei ls-mail-source: use "high"/"low" for NNTP lei ls-mail-source: pretty JSON support net_reader: fix single NNTP article fetch, test ranges xt: add fsck script over over.sqlite3 watch: use net_reader->mic_new wrapper for SOCKS+TLS net_reader: no STARTTLS for IMAP localhost or onions lei config --edit: use controlling terminal net_reader: disallow imap.fetchBatchSize=0 doc: lei-config: document various knobs Documentation/lei-config.pod | 91 +++++++++++++++++++- MANIFEST | 2 + lib/PublicInbox/IPC.pm | 117 +++++++++++--------------- lib/PublicInbox/LEI.pm | 32 +++---- lib/PublicInbox/LeiConfig.pm | 42 +++++++++ lib/PublicInbox/LeiEditSearch.pm | 60 +++++-------- lib/PublicInbox/LeiExternal.pm | 2 +- lib/PublicInbox/LeiImport.pm | 2 +- lib/PublicInbox/LeiImportKw.pm | 6 +- lib/PublicInbox/LeiIndex.pm | 2 +- lib/PublicInbox/LeiInit.pm | 4 +- lib/PublicInbox/LeiInput.pm | 2 +- lib/PublicInbox/LeiLsMailSource.pm | 25 +++--- lib/PublicInbox/LeiNoteEvent.pm | 11 +-- lib/PublicInbox/LeiRefreshMailSync.pm | 2 +- lib/PublicInbox/LeiRemote.pm | 4 +- lib/PublicInbox/LeiRm.pm | 2 +- lib/PublicInbox/LeiSavedSearch.pm | 16 +--- lib/PublicInbox/LeiStore.pm | 22 ++--- lib/PublicInbox/LeiTag.pm | 2 +- lib/PublicInbox/LeiToMail.pm | 22 ++--- lib/PublicInbox/LeiXSearch.pm | 9 +- lib/PublicInbox/NetReader.pm | 39 +++++---- lib/PublicInbox/WQWorker.pm | 9 +- lib/PublicInbox/Watch.pm | 3 +- t/imapd-tls.t | 11 ++- t/ipc.t | 19 ++--- t/lei-import-nntp.t | 26 ++++++ t/lei.t | 3 + t/nntpd-tls.t | 8 ++ t/uri_nntps.t | 3 + xt/over-fsck.perl | 44 ++++++++++ 32 files changed, 403 insertions(+), 239 deletions(-) create mode 100644 lib/PublicInbox/LeiConfig.pm create mode 100644 xt/over-fsck.perl