[PATCH 2/2] imapd: update comment for PublicInbox::ConfigIter

2022-05-12 Thread Eric Wong
config enumeration was split out to a separate class a long time ago. --- lib/PublicInbox/IMAPD.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/IMAPD.pm b/lib/PublicInbox/IMAPD.pm index 661d6537..d8814324 100644 --- a/lib/PublicInbox/IMAPD.pm +++

[PATCH 0/2] imapd: minor cleanups

2022-05-12 Thread Eric Wong
Stuff noticed while working on supporting POP3... Eric Wong (2): imap: remove unused args_ok sub imapd: update comment for PublicInbox::ConfigIter lib/PublicInbox/IMAP.pm | 11 +-- lib/PublicInbox/IMAPD.pm | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-)

[PATCH 1/2] imap: remove unused args_ok sub

2022-05-12 Thread Eric Wong
Noticed while reviewing pieces for POP3. --- lib/PublicInbox/IMAP.pm | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/PublicInbox/IMAP.pm b/lib/PublicInbox/IMAP.pm index 58a0a9e3..d47e4c2f 100644 --- a/lib/PublicInbox/IMAP.pm +++ b/lib/PublicInbox/IMAP.pm @@

Re: RFC: hooks in public-inbox-watch

2022-05-12 Thread Konstantin Ryabitsev
On Thu, May 12, 2022 at 07:38:59PM +, Eric Wong wrote: > Konstantin Ryabitsev wrote: > > Hi, all: > > > > What do you think about a mechanism to run hooks at the stage right before > > public-inbox-watch adds a new message to the archive? One feature that would > > be neat is to search

Re: RFC: hooks in public-inbox-watch

2022-05-12 Thread Eric Wong
Konstantin Ryabitsev wrote: > Hi, all: > > What do you think about a mechanism to run hooks at the stage right before > public-inbox-watch adds a new message to the archive? One feature that would > be neat is to search archives for all instances of the same patch using its > $(git-patch-id

RFC: hooks in public-inbox-watch

2022-05-12 Thread Konstantin Ryabitsev
Hi, all: What do you think about a mechanism to run hooks at the stage right before public-inbox-watch adds a new message to the archive? One feature that would be neat is to search archives for all instances of the same patch using its $(git-patch-id --stable) and adding a header, e.g.: