patchback[bot]
a8a1c0af2a
[PR #9583/81e22180 backport][stable-10] action/become/cache/callback: adjust import __future__ for Python3 ( #9586 )
...
action/become/cache/callback: adjust import __future__ for Python3 (#9583 )
* action/become/cache/callback: adjust import __future__ for Python3
* add changelog frag
* remove metaclass
* adjust chglog
* adjust chglog
(cherry picked from commit 81e22180d1
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-01-20 20:15:52 +01:00
patchback[bot]
39a66a3196
[PR #9535/3af793c2 backport][stable-10] plugins (become, callback, filter): style adjustments ( #9545 )
...
plugins (become, callback, filter): style adjustments (#9535 )
* plugins (become, callback, filter, inventory): style adjustments
* remove inventory plugins from PR
* adjustments from review
* typo
(cherry picked from commit 3af793c2c1
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-01-07 18:45:39 +01:00
patchback[bot]
a68de9bfb6
[PR #9456/17d36da1 backport][stable-10] yaml callback plugin: deprecation ( #9469 )
...
yaml callback plugin: deprecation (#9456 )
* yaml callback pulign: deprecation
* add changelog frag
* Update plugins/callback/yaml.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* set removal to 13.0.0
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 17d36da150
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-29 22:46:54 +01:00
patchback[bot]
6f774fd4a5
[PR #9455/d887930e backport][stable-10] normalize docs in callback plugins ( #9467 )
...
normalize docs in callback plugins (#9455 )
* normalize docs in callback plugins
Normalize doc blocks for plugins
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d887930e49
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-29 21:24:21 +01:00
patchback[bot]
151f6c9ce3
[PR #9379/22035608 backport][stable-10] plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting ( #9444 )
...
plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9379 )
* Replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting.
* Improve formulation.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Use more f-strings.
* Remove unicode prefix for strings.
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit 2203560867
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-29 00:06:56 +01:00
patchback[bot]
3c7f05c42d
[PR #9321/c3ed2144 backport][stable-10] callback plugins: use f-strings ( #9357 )
...
callback plugins: use f-strings (#9321 )
* callback plugins: use f-strings
* add changelog frag
* manual change for few occurrences
* manual change for few occurrences
* adjustment from review
* adjustment from review
* adjustment from review
* Update plugins/callback/splunk.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* replace str templating with JSON templating
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit c3ed2144e2
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-24 14:45:32 +01:00
kurokobo
4792e21416
docs: add seealso and notes for yaml callback plugin ( #8396 )
...
* docs: add seealso and notes for yaml callback plugin
* docs: correct links to parameters
Co-authored-by: Felix Fontein <felix@fontein.de>
* docs: shorten the long lines
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-20 15:40:05 +02:00
Felix Fontein
2b8ac3c629
Remove unneccessary imports ( #5940 )
...
* Remove unneccessary imports.
* Keep unnecessary imports in module_utils - for now.
* Make older sanity tests shut up.
* Also make flake8 happier.
2023-02-12 19:48:39 +01:00
Felix Fontein
9e3a729da9
Improve callback docs ( #5760 )
...
* Improve callback docs.
* Apply suggestions from code review
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Update plugins/callback/logentries.py
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* More improvements.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2023-01-07 11:03:58 +01:00
Felix Fontein
496bf27b5c
Fix copyright lines (make sure 'Copyright' is there). ( #5083 )
2022-08-05 22:12:10 +02:00
Felix Fontein
123c7efe5e
Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt ( #5065 )
...
* Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt.
* Replace 'Copyright:' with 'Copyright'
sed -i 's|Copyright:\(.*\)|Copyright\1|' $(rg -l 'Copyright:')
Co-authored-by: Maxwell G <gotmax@e.email>
2022-08-05 12:28:29 +02:00
Felix Fontein
5895e50185
yaml callback: prevent plugin from modifying PyYAML ( #3478 )
...
* Prevent yaml callback from modifying PyYAML.
* Fix changelog fragment.
* Update changelogs/fragments/3478-yaml-callback.yml
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
2021-10-01 22:42:39 +02:00
Alexei Znamensky
da11a98cb7
fixed the utf-8 marker ( #3162 )
2021-08-07 15:02:21 +02:00
Alexei Znamensky
73c27d6a0e
utf8 marker batch1 ( #3127 )
...
* added utf-8 markers to all .py files in plugins/{action,cache,callback}
* added utf-8 markers to all .py files in plugins/connection
* added utf-8 markers to all .py files in plugins/doc_fragments
2021-08-01 12:35:08 +02:00
Felix Fontein
fafabed9e6
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters ( #2877 )
...
* Replace ansible.module_utils._text by ansible.module_utils.common.text.converters.
* Also adjust tests.
2021-06-26 23:59:11 +02:00
Felix Fontein
99cfb993d5
<plugin_type>: -> name: ( #1541 )
2021-01-12 07:12:03 +01:00
Felix Fontein
0a7ed3b019
YAML callback: do not remove non-ASCII Unicode from multi-line string output ( #1522 )
...
* Do not remove non-ASCII Unicode from multi-line string output.
* Added basic tests.
* Add Unicode test.
* Simplify tests, avoid later Jinja features.
* Refactor.
* Make use diy tests use callback test framework as well.
* Remove color codes.
* Work around stable-2.9 bug.
* Simplify again.
2020-12-22 09:24:20 +01:00
Felix Fontein
e5da25915d
Improve plugin sanity ( #966 )
...
* callback_type -> type.
* Mark authors as unknown.
* Add author field forgotten in #627 .
* Fix author entries.
* Add author field forgotten in #127 .
* Fix some types.
2020-09-28 21:21:51 +02:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00