"--save" may become the default when writing to a pathname or URL. "lei up" will be used to update the results of "--save".
This only supports local externals at the moment, remote externals won't be able to avoid excess traffic easily. Usability improvements are coming... Eric Wong (5): lei_xsearch: use per-external queries when not sorting lei_dedupe: adjust to prepare for saved searches lei_query: rearrange internals to capture query early lei q: start wiring up saved search lei: add "lei up" to complement "lei q --save" MANIFEST | 4 + lib/PublicInbox/LEI.pm | 6 +- lib/PublicInbox/LeiDedupe.pm | 16 ++-- lib/PublicInbox/LeiQuery.pm | 59 +++++++------ lib/PublicInbox/LeiSavedSearch.pm | 142 ++++++++++++++++++++++++++++++ lib/PublicInbox/LeiToMail.pm | 18 ++-- lib/PublicInbox/LeiUp.pm | 46 ++++++++++ lib/PublicInbox/LeiXSearch.pm | 94 +++++++++++++------- t/lei-q-save.t | 25 ++++++ t/lei.t | 2 +- t/lei_dedupe.t | 11 ++- t/lei_saved_search.t | 10 +++ 12 files changed, 356 insertions(+), 77 deletions(-) create mode 100644 lib/PublicInbox/LeiSavedSearch.pm create mode 100644 lib/PublicInbox/LeiUp.pm create mode 100644 t/lei-q-save.t create mode 100644 t/lei_saved_search.t -- unsubscribe: one-click, see List-Unsubscribe header archive: https://public-inbox.org/meta/
