Lifecycle mechanisms
This page aims at detailing the steps to follow when moving, renaming or removing code in SOFA. It focuses on: components and data field.
Components
Moving a Component to another module
Steps | Dev-oriented changes | Users-oriented changes |
Do the move | ||
Deprecation (6 months) |
|
|
Deletion (6 months) |
|
|
Cleanup |
|
|
Renaming a Component
Steps | Dev-oriented changes | Users-oriented changes |
Do the renaming | ||
Deprecation (6 months) |
|
|
Disabling (6 months) |
|
|
Cleanup |
|
Removing a Component
Steps | Dev-oriented changes | Users-oriented changes |
Deprecation (6 months) |
|
|
Deletion (6 months) |
|
|
Cleanup |
|
Datafields
This section relies a lot on the DeprecatedData and RemovedData mechanism, introduced in #3934.
Renaming a Datafield
Steps | Dev-oriented changes | Users-oriented changes |
Do the renaming | ||
Deprecation (6 months) |
|
|
Renaming (6 months) |
|
|
Cleanup |
|
Removing a Datafield
Steps | Dev-oriented changes | Users-oriented changes |
Deprecation (6 months) |
|
|
Deletion (6 months) |
|
|
Cleanup (6 months) |
|
Changing Data default value
As suggested in #3563, when the default value of a Data is changed the following warning should be added in the init()
function: