[Insight-developers] ITK version numbers

Matt McCormick matt.mccormick at kitware.com
Mon Dec 19 17:22:04 EST 2011


On Mon, Dec 19, 2011 at 4:28 PM, Brad King <brad.king at kitware.com> wrote:
> On 12/19/2011 4:03 PM, Matt McCormick wrote:
>>
>> As I understand it, if we have dates in the patch version field, we
>> cannot also have add minor indicating a non-release, and still have
>> meaningful version comparisons.
>
>
> We can.  VTK does it.  Bill L. is using it in the VTK examples.
>
> Version number updates will look like this (time goes up):
>
>  o 4.3.20120601
>  |
>  o 4.2.0
>  |
>  o 4.1.20120601
>  |
>  .
>  . o 4.0.1
>  . |
>  | |
>  o | 4.1.20111219
>  | |
>  |/
>  o 4.0.0
>

Very nice ASCII art :-).

  . o 4.0.1
  . |
  | |
  o | 4.1.20111219
  | |     <--- fix for nasty bug
  |/
  o 4.0.0

Say developer Alice has a project that need the 'fix for nasty bug'
commit, and she specifies that the ITK version must be >=
4.1.200111219.  Then Bob comes with 4.0.1, and he will get an
inaccurate version insufficiency message.

Matt


More information about the Insight-developers mailing list