From 44960de208e28e7cb8b95afb7a941b1242f197b2 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 17 Nov 2025 06:45:55 +0100 Subject: [PATCH] [PR #11087/6e1cc3ea backport][stable-12] swupd: deprecation (#11099) swupd: deprecation (#11087) * swupd: deprecation * add changelog frag * Update changelogs/fragments/11087-deprecate-swupd.yml * Update meta/runtime.yml * Update plugins/modules/swupd.py --------- (cherry picked from commit 6e1cc3eafd0bce6847c41d78642e9502e6be1c8f) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Co-authored-by: Felix Fontein --- changelogs/fragments/11087-deprecate-swupd.yml | 2 ++ meta/runtime.yml | 4 ++++ plugins/modules/swupd.py | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 changelogs/fragments/11087-deprecate-swupd.yml diff --git a/changelogs/fragments/11087-deprecate-swupd.yml b/changelogs/fragments/11087-deprecate-swupd.yml new file mode 100644 index 0000000000..e43913a2c3 --- /dev/null +++ b/changelogs/fragments/11087-deprecate-swupd.yml @@ -0,0 +1,2 @@ +deprecated_features: + - layman - ClearLinux was made EOL in July 2025.; the module will be removed from community.general 15.0.0 (https://github.com/ansible-collections/community.general/pull/11087). diff --git a/meta/runtime.yml b/meta/runtime.yml index 2c1f437179..c41d53465b 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1039,6 +1039,10 @@ plugin_routing: warning_text: This module relied on HTTPS APIs that do not exist anymore, and any new development in the direction of providing an alternative should happen in the context of the google.cloud collection. + swupd: + deprecation: + removal_version: 15.0.0 + warning_text: ClearLinux was made EOL in July 2025. If you think the module is still useful for another distribution, please create an issue in the community.general repository. typetalk: deprecation: removal_version: 13.0.0 diff --git a/plugins/modules/swupd.py b/plugins/modules/swupd.py index 84b192ec1e..378c9e3dcc 100644 --- a/plugins/modules/swupd.py +++ b/plugins/modules/swupd.py @@ -11,6 +11,12 @@ from __future__ import annotations DOCUMENTATION = r""" module: swupd short_description: Manages updates and bundles in ClearLinux systems +deprecated: + removed_in: 15.0.0 + why: >- + ClearLinux was made EOL in July 2025. If you think the module is still useful for another distribution, + please L(create an issue in the community.general repository, https://github.com/ansible-collections/community.general/issues/). + alternative: There is none. description: - Manages updates and bundles with the swupd bundle manager, which is used by the Clear Linux Project for Intel Architecture. author: Alberto Murillo (@albertomurillo)