... | ... | @@ -178,72 +178,78 @@ Because of the current parallel model of using development and stable release ve |
|
|
|
|
|
example:
|
|
|
```
|
|
|
kea-1.8.0
|
|
|
kea-2.0.0
|
|
|
|
|
|
lib1 version 10.0.0
|
|
|
lib2 version 4.0.0
|
|
|
lib3 version 23.0.0
|
|
|
lib4 version 7.0.0
|
|
|
|
|
|
kea-1.9.0
|
|
|
kea-2.1.0
|
|
|
|
|
|
lib1 version 10.0.0 (unchanged)
|
|
|
lib2 version 15.0.0 (add 10 + 1 because the library code has diverged from release)
|
|
|
lib3 version 23.0.0 (unchanged)
|
|
|
lib4 version 18.0.0 (add 10 + 1 because the library code has diverged from release)
|
|
|
|
|
|
kea-1.9.1
|
|
|
kea-2.1.1
|
|
|
|
|
|
lib1 version 10.0.0 (unchanged)
|
|
|
lib2 version 16.0.0 (add 1 because the library code has changed yet again)
|
|
|
lib3 version 34.0.0 (add 10 + 1 because the library code has diverged from release)
|
|
|
lib4 version 18.0.0
|
|
|
|
|
|
kea-1.8.1
|
|
|
kea-2.0.1
|
|
|
lib1 version 10.0.0 (unchanged)
|
|
|
lib2 version 5.0.0 (add 1 because the code has changed) - merged changes from development into stable release
|
|
|
lib3 version 24.0.0 (add 1 because the code has changed) - merged changes from development into stable release
|
|
|
lib4 version 7.0.0 (unchanged) - nothing merged from development into stable release
|
|
|
|
|
|
kea-2.1.2
|
|
|
lib1 version 10.0.0 (unchanged)
|
|
|
lib2 version 17.0.0 (add 1 because the code has changed yet again)
|
|
|
lib3 version 34.0.0
|
|
|
lib4 version 18.0.0
|
|
|
```
|
|
|
|
|
|
After a new major release, the process starts again with development versions matching release versions.
|
|
|
|
|
|
example:
|
|
|
```
|
|
|
kea-2.0.0
|
|
|
kea-2.2.0
|
|
|
|
|
|
lib1 version 10.0.0
|
|
|
lib2 version 5.0.0
|
|
|
lib3 version 24.0.0
|
|
|
lib4 version 8.0.0
|
|
|
lib2 version 17.0.0
|
|
|
lib3 version 35.0.0 (add 1 because the code has changed)
|
|
|
lib4 version 18.0.0
|
|
|
|
|
|
kea-2.1.0
|
|
|
kea-2.3.0
|
|
|
|
|
|
lib1 version 10.0.0 (unchanged)
|
|
|
lib2 version 16.0.0 (add 10 + 1 because the library code has diverged from release)
|
|
|
lib3 version 35.0.0 (add 10 + 1 because the library code has diverged from release)
|
|
|
lib4 version 8.0.0 (unchanged)
|
|
|
lib2 version 28.0.0 (add 10 + 1 because the library code has diverged from release)
|
|
|
lib3 version 46.0.0 (add 10 + 1 because the library code has diverged from release)
|
|
|
lib4 version 18.0.0 (unchanged)
|
|
|
```
|
|
|
|
|
|
This means that the current versioning scheme support unlimited number of development versions, but up to 10 stable release versions sharing the same Major version. This also means that this version scheme will avoid version conflicts only between versions (development or stable release) sharing the same Major version.
|
|
|
This means that the current versioning scheme support unlimited number of development versions, but up to 10 stable release versions sharing the same Major version. This also means that this version scheme will avoid version conflicts between versions.
|
|
|
|
|
|
Also, the value for KEA_HOOKS_VERSION in `src/lib/hooks/hooks.h` must be incremented for every development or stable release version. Note that development versions have a different (higher) values:
|
|
|
```
|
|
|
kea-1.8.0
|
|
|
kea-2.0.0
|
|
|
|
|
|
const int KEA_HOOKS_VERSION = 21;
|
|
|
const int KEA_HOOKS_VERSION = 20000;
|
|
|
|
|
|
kea-1.8.1
|
|
|
kea-2.0.1
|
|
|
|
|
|
const int KEA_HOOKS_VERSION = 22;
|
|
|
const int KEA_HOOKS_VERSION = 20001;
|
|
|
|
|
|
kea-1.9.0
|
|
|
kea-2.1.0
|
|
|
|
|
|
const int KEA_HOOKS_VERSION = 10900;
|
|
|
const int KEA_HOOKS_VERSION = 20100;
|
|
|
|
|
|
kea-1.9.1
|
|
|
kea-2.1.1
|
|
|
|
|
|
const int KEA_HOOKS_VERSION = 10901;
|
|
|
const int KEA_HOOKS_VERSION = 20101;
|
|
|
```
|
|
|
|
|
|
This means that up to 99 development versions will be supported before releasing a stable version. |
|
|
This means that up to 99 development versions will be supported before releasing a stable version. |
|
|
\ No newline at end of file |