Difference between revisions of "Documentation/4.1/Developers/Versioning"

From Slicer Wiki
Jump to: navigation, search
Line 10: Line 10:
 
}}
 
}}
  
= Slicer package - Package naming scheme =
+
= Package naming scheme =
  
 
<pre>Slicer-&lt;MAJOR_VERSION&gt;.&lt;MINOR_VERSION&gt;.&lt;BUILD_VERSION&gt;-&lt;[svn&lt;REV&gt;[-dirty]|rc{1|2|3...}|(null)]&gt;-&lt;DATE&gt;-&lt;ARCH&gt;-&lt;PLATFORM&gt;</pre>
 
<pre>Slicer-&lt;MAJOR_VERSION&gt;.&lt;MINOR_VERSION&gt;.&lt;BUILD_VERSION&gt;-&lt;[svn&lt;REV&gt;[-dirty]|rc{1|2|3...}|(null)]&gt;-&lt;DATE&gt;-&lt;ARCH&gt;-&lt;PLATFORM&gt;</pre>

Revision as of 15:59, 5 December 2011

Home < Documentation < 4.1 < Developers < Versioning

Documentation


Package naming scheme

Slicer-<MAJOR_VERSION>.<MINOR_VERSION>.<BUILD_VERSION>-<[svn<REV>[-dirty]|rc{1|2|3...}|(null)]>-<DATE>-<ARCH>-<PLATFORM>

We can distinguish between two stages:

  • Development: The suffix svn<REV> allows to identify the revision associated with the current package. The -dirty prefix indicates if the package has been generated from a locally modified source tree.
  • Release: The optional suffix rc{1|2|3|...} allows to identify the different release candidates leading to a final release.

Example of packages chronologically ordered:

Slicer-4.0.0-svn18872-2011-11-26-win-amd64     [development]
Slicer-4.0.0-svn18872-2011-11-26-win-i386      [development]
Slicer-4.0.0-svn18872-2011-11-26-linux-amd64   [development]
Slicer-4.0.0-svn18872-2011-11-26-macosx-amd64  [development]
...
Slicer-4.0.0-svn18873-2011-11-27-linux-amd64   [development]
...
Slicer-4.0.0-svn18874-2011-11-28-win-amd64     [development]
Slicer-4.0.0-svn18874-2011-11-28-win-i386      [development]
Slicer-4.0.0-svn18874-2011-11-28-linux-amd64   [development]
Slicer-4.0.0-svn18874-2011-11-28-macosx-amd64  [development]
...
Slicer-4.0.1-rc1-2011-11-29-linux-amd64        [release]
Slicer-4.0.1-rc2-2011-11-30-linux-amd64        [release]
Slicer-4.0.1-rc3-2011-12-01-linux-amd64        [release]
Slicer-4.0.1-2011-12-02-linux-amd64            [final release]
...
Slicer-4.0.1-svn18900-2011-12-03-win-amd64     [development]
Slicer-4.0.1-svn18900-2011-12-03-win-i386      [development]
Slicer-4.0.1-svn18900-2011-12-03-linux-amd64   [development]
Slicer-4.0.1-svn18900-2011-12-03-macosx-amd64  [development]
...

Extension package - Naming scheme