git: removed deprecated gpg_whitelist alias (#86011)

Fixes: #86004

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2025-10-21 08:37:42 -07:00 committed by GitHub
parent 9f1177a056
commit 9a350ff104
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 11 deletions

View File

@ -0,0 +1,3 @@
---
removed_features:
- git - removed deprecated alias gpg_whitelist (https://github.com/ansible/ansible/issues/86004).

View File

@ -218,11 +218,9 @@ options:
- Only used when O(verify_commit=yes).
- Use of this feature requires Git 2.6+ due to its reliance on git's C(--raw) flag to C(verify-commit) and C(verify-tag).
- Alias O(gpg_allowlist) is added in version 2.17.
- Alias O(gpg_whitelist) is deprecated and will be removed in version 2.21.
type: list
elements: str
default: []
aliases: [ gpg_whitelist ]
version_added: "2.9"
requirements:
@ -1185,14 +1183,7 @@ def main():
update=dict(default='yes', type='bool'),
verify_commit=dict(default='no', type='bool'),
gpg_allowlist=dict(
default=[], type='list', aliases=['gpg_whitelist'], elements='str',
deprecated_aliases=[
dict(
name='gpg_whitelist',
version='2.21',
collection_name='ansible.builtin',
)
],
default=[], type='list', elements='str',
),
accept_hostkey=dict(default='no', type='bool'),
accept_newhostkey=dict(default='no', type='bool'),

View File

@ -240,5 +240,4 @@ lib/ansible/module_utils/compat/datetime.py pylint:ansible-deprecated-version #
lib/ansible/module_utils/compat/paramiko.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/plugins/connection/paramiko_ssh.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/plugins/strategy/__init__.py pylint:ansible-deprecated-version # TODO: 2.21
lib/ansible/modules/git.py validate-modules:ansible-deprecated-version # TODO: 2.21
.github/RELEASE_NAMES.txt release-names # TODO: 2.21