New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate tests used as filters #32361
Conversation
I would not warn ... if we want to remove this make it a deprecation, not a warning. |
Apologies, the title doesn't reflect functionality, we are using deprecations. |
I've taken this a step forward, and aliased some tests to names that work better grammatically when using the I've also added a deprecation warning for using the old test names. |
The test
|
The test
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sivel
5580540
to
621e478
Compare
… instead of inferring the name
eb8f386
to
ebe93df
Compare
rebuild_merge |
rebuild_merge One more automated try |
SUMMARY
This PR adds a deprecation warning for using jinja tests as filters for eventual removal.
See ansible/proposals#83
ISSUE TYPE
COMPONENT NAME
tests/filters
ANSIBLE VERSION
ADDITIONAL INFORMATION
Things to be done:
Update docs to use proper test syntax instead of filter syntaxUpdate tests to use proper test syntax instead of filter syntax