Re: Cheap way to check for new messages in a thread

2023-06-16 Thread Konstantin Ryabitsev
On Thu, Mar 30, 2023 at 11:29:51AM +, Eric Wong wrote: > This implements the mbox.gz retrieval. I didn't want to deal > with HTML nor figuring out how to expose more elements, > yet; but I figure mbox.gz is the most important. > > Now deployed on 80x24.org/lore: > >

Re: Cheap way to check for new messages in a thread

2023-04-11 Thread Eric Wong
Eric Wong wrote: > Konstantin Ryabitsev wrote: > > I can't easily test this, because lore is currently mostly on 1.9 and the > > patch doesn't cleanly apply to that tree. However, I will be happy to test > > it > > out once 2.0 is out and we've updated to it on our systems. > > Fwiw, master is

Re: Cheap way to check for new messages in a thread

2023-03-30 Thread Eric Wong
Konstantin Ryabitsev wrote: > I can't easily test this, because lore is currently mostly on 1.9 and the > patch doesn't cleanly apply to that tree. However, I will be happy to test it > out once 2.0 is out and we've updated to it on our systems. Fwiw, master is good on Linux for mail.

Re: Cheap way to check for new messages in a thread

2023-03-30 Thread Konstantin Ryabitsev
On Thu, Mar 30, 2023 at 11:29:51AM +, Eric Wong wrote: > > Per-thread search is something I've wanted for a while, anyways, > > so I think I'll do /$MSGID/?q= in between ongoing work for > > This implements the mbox.gz retrieval. I didn't want to deal > with HTML nor figuring out how to

Re: Cheap way to check for new messages in a thread

2023-03-30 Thread Eric Wong
Eric Wong wrote: > Konstantin Ryabitsev wrote: > > However, if you do want to add ability to cheaply do a "give me just the > > newest messages in this thread since this datetime", that would be great for > > my needs. :) > > Per-thread search is something I've wanted for a while, anyways, > so

Re: Cheap way to check for new messages in a thread

2023-03-29 Thread Eric Wong
Konstantin Ryabitsev wrote: > I'm fine with either of these, and just to stress, it's not really blocking > anything I'm working on -- bugbot is in initial rollout stages, so while the > number of tracked bugs/threads remains low, even if we re-download a hundred > threads every 10 minutes, it's

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Konstantin Ryabitsev
On Tue, Mar 28, 2023 at 10:08:30PM +, Eric Wong wrote: > > I think this is a workable approach, but would require a reindex, right? > > Yes, it requires a reindex to take effect, which takes ~2 days > on my lore mirror. The biggest problem is MUAs are likely to > cull References: when

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Tue, Mar 28, 2023 at 07:45:49PM +, Eric Wong wrote: > > C) index References:/In-Reply-To: so searching `ref:$MSGID' > >can work. This doesn't work for some MUAs and deep > >threads, though. > > I think this is a workable approach, but would require a

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Konstantin Ryabitsev
On Tue, Mar 28, 2023 at 07:45:49PM +, Eric Wong wrote: > C) index References:/In-Reply-To: so searching `ref:$MSGID' >can work. This doesn't work for some MUAs and deep >threads, though. I think this is a workable approach, but would require a reindex, right? -K

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Mon, Mar 27, 2023 at 09:38:49PM +, Eric Wong wrote: > > I thought about that, too; but I'm worried about having one-off > > stuff that ends up needing to be supported indefinitely. > > > > JMAP for this would take more time, but I'd be more comfortable > >

Re: Cheap way to check for new messages in a thread

2023-03-28 Thread Konstantin Ryabitsev
On Mon, Mar 27, 2023 at 09:38:49PM +, Eric Wong wrote: > I thought about that, too; but I'm worried about having one-off > stuff that ends up needing to be supported indefinitely. > > JMAP for this would take more time, but I'd be more comfortable > carrying it long-term. > > I don't expect

Re: Cheap way to check for new messages in a thread

2023-03-27 Thread Eric Wong
Konstantin Ryabitsev wrote: > On Mon, Mar 27, 2023 at 07:10:49PM +, Eric Wong wrote: > > > For the bugzilla integration work I'm doing, I need a way to check if > > > there > > > were any updates to a thread since the last check. Right now, I'm just > > > grabbing the full thread, parsing it

Re: Cheap way to check for new messages in a thread

2023-03-27 Thread Konstantin Ryabitsev
On Mon, Mar 27, 2023 at 07:10:49PM +, Eric Wong wrote: > > For the bugzilla integration work I'm doing, I need a way to check if there > > were any updates to a thread since the last check. Right now, I'm just > > grabbing the full thread, parsing it and seeing if there are any new > >

Re: Cheap way to check for new messages in a thread

2023-03-27 Thread Eric Wong
Konstantin Ryabitsev wrote: > Hello: > > For the bugzilla integration work I'm doing, I need a way to check if there > were any updates to a thread since the last check. Right now, I'm just > grabbing the full thread, parsing it and seeing if there are any new > message-IDs that we don't know

Cheap way to check for new messages in a thread

2023-03-27 Thread Konstantin Ryabitsev
Hello: For the bugzilla integration work I'm doing, I need a way to check if there were any updates to a thread since the last check. Right now, I'm just grabbing the full thread, parsing it and seeing if there are any new message-IDs that we don't know about, but it's very wasteful. Any way to