Schedule deprecated features for removal in v2.18#10734
Conversation
35f78b9 to
bdea13d
Compare
That sounds like it would be disproportionately annoying. Would it be possible to use just the namespace name instead of the whole thing to print the location? So that for
That's a good question. I guess it was more of a placeholder because no version number was fixed. Theoretically, you could go there and check if any upcoming milestone contains hints of a removal. Even if someone did that in the past, as these warnings were logged for years now, I don't think anyone is still doing it regularly. With the version number in there, I don't see any reason to keep the link. |
808f3fc to
798814d
Compare
|
Hm, now it looks like this and looks a bit odd to me: [2026-02-25 16:19:39 +0100] warning/config: Warning: User-defined namespaces are deprecated and will be removed in v2.18:
namespace 'utils' in icinga2.conf: 21:1-57:1I would have done this exactly at the previous location when evaluating the namespace expression, and then pass a copy of Also, I would remove the extra |
Is that the full output right now, i.e. nothing following showing the contents of icinga2.conf: 21:1-57:1? |
Nope, that's the full output of this. |
7c85041 to
2bde698
Compare
|
As suggested by @yhabteab I moved the namespace warning back into However, to get the "squiggly line" I had to extend I've kept the version number at v2.18 for now (indicating the major release, not a specific version number), for which there is precedence in other places in the documentation. If consensus is that we want to write v2.18.0 exactly, that's a quick change. |
yhabteab
left a comment
There was a problem hiding this comment.
I've kept the version number at v2.18 for now (indicating the major release, not a specific version number), for which there is precedence in other places in the documentation. If consensus is that we want to write v2.18.0 exactly, that's a quick change.
I can't explain why, but for me this sentence looks like as if some minor version is missing at the end, i.e., the period at the end is just confusing IMHO.
"This feature is DEPRECATED and will be removed in v2.18."2bde698 to
676d473
Compare
Justification has been provided: #10725 (comment)
676d473 to
142f0a1
Compare
|
142f0a1 to
a1aafee
Compare
yhabteab
left a comment
There was a problem hiding this comment.
All the other warnings are logged from within the OnAllConfigLoaded method but the newly added one about the windows checkcommands is logged in OnConfigLoaded. I would move it down to the the OnAllConfigLoaded method as well for consistency, otherwise looks fine to me now.
a1aafee to
cc8ce6f
Compare
613ba59 to
32150e6
Compare
32150e6 to
1e022db
Compare
Description
This updates the existing deprecation (both in documentation and runtime warnings) of the following features to mention that they will be removed in v2.18:
IdoMySqlConnectionIdoPgsqlConnectionCompatLoggerExternalCommandListenerLivestatusListenercheck_*.exe) andCheckCommandsIt also adds the same deprecation notices for
ElasticsearchWriter(See the discussion in Change ElasticsearchWriter to write perfdata as an array of objects #10518)Closes #10730 and #10725.