[FFmpeg-devel] Patchwork hook for bad commit messages

Michael Niedermayer michael at niedermayer.cc
Mon Aug 16 21:42:14 EEST 2021


On Sun, Aug 15, 2021 at 01:53:23PM -0400, Andriy Gelman wrote:
> 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.

ok, we need a name for it, and should commit mails be sent to ffmpeg-devel ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- 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/20210816/52667aae/attachment.sig>


More information about the ffmpeg-devel mailing list