[FFmpeg-devel] maintainer duties (was: Re: [PATCH] fix speex sample)

Diego Biurrun diego
Fri Apr 10 20:28:19 CEST 2009


On Fri, Apr 10, 2009 at 07:38:48PM +0200, Michael Niedermayer wrote:
> On Fri, Apr 10, 2009 at 07:26:56PM +0200, Diego Biurrun wrote:
> > On Thu, Apr 09, 2009 at 04:15:01PM +0200, Diego Biurrun wrote:
> > > 
> > > I think maintainers should (in descending order of priorities)
> > > 
> > > 1) review patches,
> > > 2) fix bugs and
> > > 3) implement missing features
> > 
> > One thing I forgot:
> > 
> > 0) Keep their code working and current.
> > 
> > I mean things like exchanging deprecated functions for their
> > replacements etc.
> 
> yes, let me just add that all the
> 0..3 have their easy, hard and insanely hard to implement cases
> 
> and in the case of replacing old by new, if a single developer doesnt have
> the resources to replace all instances by the new there are only 2 choices
> left
> A. do nothing, new code still will then use the old system
> B. add the new and replace what can be replaced with the available resources
> 
> I think B is pretty much universally better

Replacing one function by another is not an insane amount of work, far
from it.  On second thought, the burden should probably be on the person
implementing the replacement.  We should not have deprecated cruft in the
codebase.

> now one could add the new API, but not mark the old as
> deprecated, but doing this means people will use the old in newly added
> code, which is not good.
> 
> What both you and I seem to want is to hide the warnings about deprecated
> stuff in existing code without hiding them for new code.
> Maybe that could be done with some Makefile magic i dont know ...

I consider this a very bad idea.  Nobody will notice it and people will
look at old files and copy it into their new files.

Diego



More information about the ffmpeg-devel mailing list