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.: