* lei-up doesn't output replies to matching thread
@ 2024-04-11 22:46 Josh Steadmon
2024-04-12 2:07 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Josh Steadmon @ 2024-04-11 22:46 UTC (permalink / raw)
To: meta
Hello again,
I'm having trouble where `lei up --all` is not outputting threaded
replies, despite the fact that the saved search requests them. I noticed
the problem on this Git thread:
https://lore.kernel.org/git/520da361-1b80-4ba3-87b2-86d6fdfc18b5@web.de/
My saved search is as follows:
{
"output": "maildir:/usr/local/google/home/steadmon/.mail/lei-git-unit-tests",
"q": ["(dfn:t/unit-tests OR s:unit OR ((nq:bug OR nq:regression) AND nq:unit)) AND rt:2.weeks.ago.."],
"external": "1",
"local": "1",
"remote": "1",
"threads": "1"
}
Lei is aware of the replies, because I can see them with lei-q if I copy
the query from the saved search:
$ lei q -t "(dfn:t/unit-tests OR s:unit OR ((nq:bug OR nq:regression) AND nq:unit)) AND rt:2.weeks.ago.." \
| grep "t-prio-queue: simplify using compound literals" \
| wc -l
11
In my output maildir, I only have the initial message that started the
thread:
$ cd ~/.mail/lei-git-unit-tests
$ grep -Rl "Subject:.*t-prio-queue: simplify using compound literals" \
| wc -l
1
And lei-up does not seem to see those matches:
$ lei up ~/.mail/lei-git-unit-tests
# /usr/local/google/home/steadmon/.local/share/lei/store 10/10
# 0 written to /usr/local/google/home/steadmon/.mail/lei-git-unit-tests/ (10 matches)
I have not noticed the problem for other threads, but I am not 100% sure
that it's limited to just this one, either. If you have any advice for
further debugging, I'd appreciate the help.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: lei-up doesn't output replies to matching thread
2024-04-11 22:46 lei-up doesn't output replies to matching thread Josh Steadmon
@ 2024-04-12 2:07 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2024-04-12 2:07 UTC (permalink / raw)
To: Josh Steadmon; +Cc: meta
Josh Steadmon <steadmon@google.com> wrote:
> Hello again,
>
> I'm having trouble where `lei up --all` is not outputting threaded
> replies, despite the fact that the saved search requests them. I noticed
> the problem on this Git thread:
I think this needs the notmuch-style subquery support I mentioned here:
https://public-inbox.org/meta/20230412201743.M20097@dcvr/T/#u
The external process part works nowadays (for new -cindex), but isn't
wired up to old lei and WWW code, yet... And the subquery code will
probably be stealing C++ from notmuch.
Slightly related, I just posted a patch to finish off a per-thread
subscription feature but it requires recent HTTP(S) endpoints if
using HTTP(S):
https://public-inbox.org/meta/20240412020103.2665237-1-e@80x24.org/
(I've been sidetracked badly this year dealing with offline things :<)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-12 2:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 22:46 lei-up doesn't output replies to matching thread Josh Steadmon
2024-04-12 2:07 ` Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).