[FFmpeg-devel] [PATCH 1/2] avutil/version: Mention similarities and differences to semver

Michael Niedermayer michael at niedermayer.cc
Mon Aug 8 23:09:57 EEST 2016


On Mon, Aug 08, 2016 at 06:32:23PM +0200, Carl Eugen Hoyos wrote:
> 2016-08-06 12:52 GMT+02:00 Michael Niedermayer <michael at niedermayer.cc>:
> > QUESTION: is this the best place for this ?
> >
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavutil/version.h | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >
> > diff --git a/libavutil/version.h b/libavutil/version.h
> > index b2dffb7..7692def 100644
> > --- a/libavutil/version.h
> > +++ b/libavutil/version.h
> > @@ -35,6 +35,12 @@
> >   * Useful to check and match library version in order to maintain
> >   * backward compatibility.
> >   *
> 
> This is at least not a bad place imo.
> 

> > + * The FFmpeg libraries follow a versioning sheme very similar to
> > + * Semantic Versioning (http://semver.org/)
> > + * The difference is that the component called PATCH is called MICRO in FFmpeg
> > + * and its value is reset to 100 instead of 0 to keep it above or equal to 100.
> 
> > + * Also we do not increase MICRO for every bugfix or change.
> 
> But we want / should increase MICRO for every bugfix and every functional
> change, no?

i would say, yes we should

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

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160808/9f5909cf/attachment.sig>


More information about the ffmpeg-devel mailing list