Mark OTOBO code as deprecated #3786
Replies: 4 comments
-
Another issue is to have a document that lists the deprecations. In the best of worls this would include the date or version when the feature is removed. See #1204. |
Beta Was this translation helpful? Give feedback.
-
This is a solution which, in my subjective opinion, would be a proper approach to target the developers. But my feeling is that the hypothetical list should be wired to the CodePolicy, git hooks or GitHub actions in some way to actually have an impact. |
Beta Was this translation helpful? Give feedback.
-
A list would also (presumably) provide the advantage that it could be used not only for perl code, but for javascript and perhaps other languages as well. |
Beta Was this translation helpful? Give feedback.
-
According to https://en.wikipedia.org/wiki/JSDoc, the standardized way to mark javascript methods as deprecated is to add the |
Beta Was this translation helpful? Give feedback.
-
Requirement
Being able to mark OTOBO code as deprecated
Findings so far
We seemingly need to make a difference between marking subroutines as deprecated and marking whole modules as deprecated. So far, my impression is that every approach boils down to issuing a warning when the code is called.
It needs to be discussed what the scope of marking OTOBO code as deprecated actually is. Issuing a warning would manly affect users of OTOBO. If the goal is to remind developers of deprecated code, the mechanism needs to be a different one.
Nonetheless, I will include the common approaches briefly:
Beta Was this translation helpful? Give feedback.
All reactions