Deprecate collect_yum_plugin
Description
Print a warning at module import time when a user includes the YUM collector in their transfer file.
Additional information
Should be as simple as adding the following code to collect_yum_plugin.py
at the module level.
"""
Collector plugin for Yum packages (DEPRECATED)
"""
from __future__ import annotations
...
import warnings
warnings.filterwarnings(action="once", category=DeprecationWarning)
warnings.warn(
message="The YUM collector plugin has been deprecated; use either the DNF or RPM collector instead",
category=DeprecationWarning,
)
...
Edited by Jonathan Howard