From: Eric Wong <e@80x24.org> To: meta@public-inbox.org Subject: [PATCH 00/11] cleanups, mostly indexing related Date: Wed, 2 Sep 2020 11:04:10 +0000 Message-ID: <20200902110421.30905-1-e@80x24.org> (raw) Some cleanups ahead of detached index support. Found some dead code, too. Eric Wong (11): msgmap: note how we use ->created_at disambiguate OverIdx and Over by field name use more idiomatic internal API for ->over access search: remove special case for blank query tests: add "use strict" and declare v5.10.1 compatibility search: replace ->query with ->mset search: remove {over_ro} field imap: drop old, pre-Parse::RecDescent search parser wwwaltid: drop unused sqlite3_missing function overidx: document column uses v2writable: reuse read-only shard counting code lib/PublicInbox/ExtMsg.pm | 4 +- lib/PublicInbox/IMAP.pm | 63 +---------------- lib/PublicInbox/Inbox.pm | 11 ++- lib/PublicInbox/Mbox.pm | 6 +- lib/PublicInbox/Msgmap.pm | 1 + lib/PublicInbox/OverIdx.pm | 18 ++--- lib/PublicInbox/Search.pm | 32 ++++----- lib/PublicInbox/SearchIdx.pm | 32 ++++----- lib/PublicInbox/SearchView.pm | 3 +- lib/PublicInbox/SolverGit.pm | 5 +- lib/PublicInbox/V2Writable.pm | 59 ++++++---------- lib/PublicInbox/WwwAltId.pm | 16 +---- scripts/dupe-finder | 3 +- t/altid.t | 8 +-- t/altid_v2.t | 7 +- t/index-git-times.t | 17 +++-- t/indexlevels-mirror.t | 8 +-- t/mda_filter_rubylang.t | 6 +- t/replace.t | 8 +-- t/search-thr-index.t | 8 +-- t/search.t | 126 +++++++++++++++++----------------- t/v1reindex.t | 4 +- t/v2mda.t | 16 +++-- t/v2mirror.t | 24 +++---- t/v2reindex.t | 9 +-- t/v2writable.t | 14 ++-- t/watch_filter_rubylang.t | 12 ++-- t/watch_maildir_v2.t | 30 ++++---- t/xcpdb-reshard.t | 3 +- xt/eml_check_limits.t | 2 + xt/perf-threading.t | 2 +- 31 files changed, 232 insertions(+), 325 deletions(-)
next reply other threads:[~2020-09-02 11:04 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-02 11:04 Eric Wong [this message] 2020-09-02 11:04 ` [PATCH 01/11] msgmap: note how we use ->created_at Eric Wong 2020-09-02 11:04 ` [PATCH 02/11] disambiguate OverIdx and Over by field name Eric Wong 2020-09-02 11:04 ` [PATCH 03/11] use more idiomatic internal API for ->over access Eric Wong 2020-09-02 11:04 ` [PATCH 04/11] search: remove special case for blank query Eric Wong 2020-09-02 11:04 ` [PATCH 05/11] tests: add "use strict" and declare v5.10.1 compatibility Eric Wong 2020-09-02 11:04 ` [PATCH 06/11] search: replace ->query with ->mset Eric Wong 2020-09-02 11:04 ` [PATCH 07/11] search: remove {over_ro} field Eric Wong 2020-09-02 11:04 ` [PATCH 08/11] imap: drop old, pre-Parse::RecDescent search parser Eric Wong 2020-09-02 11:04 ` [PATCH 09/11] wwwaltid: drop unused sqlite3_missing function Eric Wong 2020-09-02 11:04 ` [PATCH 10/11] overidx: document column uses Eric Wong 2020-09-02 11:04 ` [PATCH 11/11] v2writable: reuse read-only shard counting code Eric Wong
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: http://public-inbox.org/README * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200902110421.30905-1-e@80x24.org \ --to=e@80x24.org \ --cc=meta@public-inbox.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
user/dev discussion of public-inbox itself This inbox may be cloned and mirrored by anyone: git clone --mirror http://public-inbox.org/meta git clone --mirror http://czquwvybam4bgbro.onion/meta git clone --mirror http://hjrcffqmbrq6wope.onion/meta git clone --mirror http://ou63pmih66umazou.onion/meta # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V1 meta meta/ http://public-inbox.org/meta \ meta@public-inbox.org public-inbox-index meta Example config snippet for mirrors. Newsgroups are available over NNTP: nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta nntp://news.gmane.io/gmane.mail.public-inbox.general note: .onion URLs require Tor: https://www.torproject.org/ code repositories for the project(s) associated with this inbox: https://80x24.org/public-inbox.git AGPL code for this site: git clone https://public-inbox.org/public-inbox.git