[FFmpeg-devel] Patchwork hook for bad commit messages

Nicolas George george at nsup.org
Sun Aug 15 15:22:12 EEST 2021


Andriy Gelman (12021-08-15):
> 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.

Sure. How exactly? A Python function that accepts a string as arguments
with the full commit message in it, and return None if it is valid or an
explanation if it is not?

> I'll also aim to put all this code in a repo somewhere so that others can add to it. 

Thanks.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210815/243e4025/attachment.sig>


More information about the ffmpeg-devel mailing list