[FFmpeg-devel] Patchwork hook for bad commit messages
Nicolas George
george at nsup.org
Sun Aug 15 17:04:01 EEST 2021
Andriy Gelman (12021-08-15):
> That sounds fine.
See the attached code.
I have tested it against the 2721 commits I have since the beginning of
the year, it finds 56 to object, about half of them real problems, a few
with unusually long context (I set the limit at the last percentile) and
admittedly a few exceptional case.
Since these are warnings and can safely be ignored, I think it is an
acceptable rate of false-positives.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit_message_filter.py
Type: text/x-python
Size: 3272 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210815/aee9b882/attachment.py>
-------------- 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/aee9b882/attachment.sig>
More information about the ffmpeg-devel
mailing list