[FFmpeg-devel] Patchwork hook for bad commit messages

Andriy Gelman andriy.gelman at gmail.com
Sun Aug 15 20:53:23 EEST 2021


On Sun, 15. Aug 17:15, Michael Niedermayer wrote:
> On Sun, Aug 15, 2021 at 08:18:17AM -0400, Andriy Gelman wrote:
> > On Sun, 15. Aug 11:17, Nicolas George wrote:
> > > Is it possible to add hooks in Patchwork to warn people automatically
> > > when their commit message does not match standards?
> > > 
> > > If it is possible, I volunteer to write it.
> > > 
> > 
> > Yes, nice idea.
> > 
> > If the commit message is invalid I could add a warning similar to:
> > https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210809102919.387-1-anton@khirnov.net/
> > and trigger an automated email to the author.
> > 
> > Feel free to send me the parsing part (shell or python is ok) and I'll add it
> > in.
> > I'll also aim to put all this code in a repo somewhere so that others can add to it. 
> 
> If you want i can add a git repo to https://git.ffmpeg.org/gitweb
> i just need to know name, who should have write access (@ffmpeg_developers is 
> possible, if its something else then you will have to maintain the list of
> people who have access), where commitlog mails should go. But you can also put it on github
> that said if anyone else wants basic git repos for any ffmpeg parts which
> arent in teh main git, we can add it to git.ffmpeg.org too
> 
> thx

Thanks, a repo on gitweb with write access for @ffmpeg_developers sounds good.

-- 
Andriy


More information about the ffmpeg-devel mailing list