[FFmpeg-devel] Patchwork hook for bad commit messages

Michael Niedermayer michael at niedermayer.cc
Sun Aug 15 18:15:37 EEST 2021


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210815/90e44b60/attachment.sig>


More information about the ffmpeg-devel mailing list