mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-08 23:24:21 -07:00
Feature filter keep_keys (#8456)
* Add filter keep_keys. Implement feature request #8438 * Fix comment indentation. * Fix regex reference. * Fix indentation. * Fix isinstance list. * Update plugins/plugin_utils/keys_filter.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/plugin_utils/keys_filter.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/plugin_utils/keys_filter.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/plugin_utils/keys_filter.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/filter/keep_keys.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update documentation, examples, and integration tests. * _keys_filter_target_str returns tuple of unique target strings if target is list. Update documentation, function comments, and error messages. * Sort maintainers. * Update plugins/filter/keep_keys.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update examples with explicit collection. --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
5041ebe5b2
commit
6f8f12f762
7 changed files with 374 additions and 0 deletions
4
.github/BOTMETA.yml
vendored
4
.github/BOTMETA.yml
vendored
|
@ -157,6 +157,8 @@ files:
|
|||
$filters/jc.py:
|
||||
maintainers: kellyjonbrazil
|
||||
$filters/json_query.py: {}
|
||||
$filters/keep_keys.py:
|
||||
maintainers: vbotka
|
||||
$filters/lists.py:
|
||||
maintainers: cfiehe
|
||||
$filters/lists_difference.yml:
|
||||
|
@ -1417,6 +1419,8 @@ files:
|
|||
ignore: matze
|
||||
labels: zypper
|
||||
maintainers: $team_suse
|
||||
$plugin_utils/keys_filter.py:
|
||||
maintainers: vbotka
|
||||
$plugin_utils/unsafe.py:
|
||||
maintainers: felixfontein
|
||||
$tests/a_module.py:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue