Skip to content

Commit 50cd82e

Browse files
felixfonteinpatchback[bot]
authored andcommitted
Deprecate unused module utils (#11205)
Deprecate unused module utils. (cherry picked from commit d364e35)
1 parent 8da2ff6 commit 50cd82e

File tree

6 files changed

+33
-0
lines changed

6 files changed

+33
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
deprecated_features:
2+
- "cloud module utils - this module utils is not used by community.general and will thus be removed from community.general 13.0.0.
3+
If you are using it from another collection, please copy it over (https://github.com/ansible-collections/community.general/pull/11205)."
4+
- "database module utils - this module utils is not used by community.general and will thus be removed from community.general 13.0.0.
5+
If you are using it from another collection, please copy it over (https://github.com/ansible-collections/community.general/pull/11205)."
6+
- "known_hosts module utils - this module utils is not used by community.general and will thus be removed from community.general 13.0.0.
7+
If you are using it from another collection, please copy it over (https://github.com/ansible-collections/community.general/pull/11205)."
8+
- "saslprep module utils - this module utils is not used by community.general and will thus be removed from community.general 13.0.0.
9+
If you are using it from another collection, please copy it over (https://github.com/ansible-collections/community.general/pull/11205)."

meta/runtime.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,14 @@ plugin_routing:
11461146
warning_text: This doc fragment was used by rax modules, that relied on the deprecated
11471147
package pyrax.
11481148
module_utils:
1149+
cloud:
1150+
deprecation:
1151+
removal_version: 13.0.0
1152+
warning_text: This code is not used by community.general. If you want to use it in another collection, please copy it over.
1153+
database:
1154+
deprecation:
1155+
removal_version: 13.0.0
1156+
warning_text: This code is not used by community.general. If you want to use it in another collection, please copy it over.
11491157
dimensiondata:
11501158
deprecation:
11511159
removal_version: 13.0.0
@@ -1162,6 +1170,10 @@ plugin_routing:
11621170
redirect: community.google.gcp
11631171
hetzner:
11641172
redirect: community.hrobot.robot
1173+
known_hosts:
1174+
deprecation:
1175+
removal_version: 13.0.0
1176+
warning_text: This code is not used by community.general. If you want to use it in another collection, please copy it over.
11651177
kubevirt:
11661178
redirect: community.kubevirt.kubevirt
11671179
net_tools.nios.api:
@@ -1193,6 +1205,10 @@ plugin_routing:
11931205
redirect: dellemc.openmanage.dellemc_idrac
11941206
remote_management.dellemc.ome:
11951207
redirect: dellemc.openmanage.ome
1208+
saslprep:
1209+
deprecation:
1210+
removal_version: 13.0.0
1211+
warning_text: This code is not used by community.general. If you want to use it in another collection, please copy it over.
11961212
inventory:
11971213
docker_machine:
11981214
redirect: community.docker.docker_machine

plugins/module_utils/cloud.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
44
# SPDX-License-Identifier: GPL-3.0-or-later
55

6+
# This module utils is deprecated and will be removed in community.general 13.0.0
7+
68
from __future__ import annotations
79

810

plugins/module_utils/database.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# Simplified BSD License (see LICENSES/BSD-2-Clause.txt or https://opensource.org/licenses/BSD-2-Clause)
1010
# SPDX-License-Identifier: BSD-2-Clause
1111

12+
# This module utils is deprecated and will be removed in community.general 13.0.0
13+
1214
from __future__ import annotations
1315

1416
import re

plugins/module_utils/known_hosts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# Simplified BSD License (see LICENSES/BSD-2-Clause.txt or https://opensource.org/licenses/BSD-2-Clause)
1010
# SPDX-License-Identifier: BSD-2-Clause
1111

12+
# This module utils is deprecated and will be removed in community.general 13.0.0
13+
1214
from __future__ import annotations
1315

1416
import os

plugins/module_utils/saslprep.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# Simplified BSD License (see LICENSES/BSD-2-Clause.txt or https://opensource.org/licenses/BSD-2-Clause)
1010
# SPDX-License-Identifier: BSD-2-Clause
1111

12+
# This module utils is deprecated and will be removed in community.general 13.0.0
13+
1214
from __future__ import annotations
1315

1416
from stringprep import (

0 commit comments

Comments
 (0)