mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
Remove deprecated features, bump version to 6.0.0 (#5326)
* Bump version to 6.0.0. * sender option is now required. * Default of want_proxmox_nodes_ansible_host changed from true to false. * username is now an alias of user, and no longer of workspace. * Remove deprecated return values in favor of end_state. * Remove debug option. * Change default of ignore_volatile_options from true to false. * gitlab_group must now always contain the full path. * Change default of norc from false to ture. * Remove deprecated property. * Add PR URL. * Adjust bitbucket unit tests. * Adjust module_helper integration test.
This commit is contained in:
parent
091bdc77c3
commit
2830a3452d
28 changed files with 70 additions and 243 deletions
|
@ -27,7 +27,7 @@ options:
|
|||
gitlab_group:
|
||||
description:
|
||||
- The C(full_path) of the GitLab group the member is added to/removed from.
|
||||
- Setting this to C(name) or C(path) is deprecated and will be removed in community.general 6.0.0. Use C(full_path) instead.
|
||||
- Setting this to C(name) or C(path) has been disallowed since community.general 6.0.0. Use C(full_path) instead.
|
||||
required: true
|
||||
type: str
|
||||
gitlab_user:
|
||||
|
@ -176,12 +176,6 @@ class GitLabGroup(object):
|
|||
for group in groups:
|
||||
if group.full_path == gitlab_group:
|
||||
return group.id
|
||||
for group in groups:
|
||||
if group.path == gitlab_group or group.name == gitlab_group:
|
||||
self._module.deprecate(
|
||||
msg="Setting 'gitlab_group' to 'name' or 'path' is deprecated. Use 'full_path' instead",
|
||||
version="6.0.0", collection_name="community.general")
|
||||
return group.id
|
||||
|
||||
# get all members in a group
|
||||
def get_members_in_a_group(self, gitlab_group_id):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue