Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate module_utils.redhat #6663

Merged

Conversation

ptoscano
Copy link
Contributor

SUMMARY

This module contains bits that are either unused (the Rhsm* classes), or used only by deprecated modules (the RegistrationBase class). Considering that the bits here have not seen updates in years, it is unlikely that anyone is actually using them as "library".

Hence, deprecate the whole module altogether:

  • the Rhsm* classes, as not used by anything, are slated for removal in 9.0.0
  • the RegistrationBase class is slated for removal in 10.0.0, together with its only user (i.e. the rhn_register module)
ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

plugins/module_utils/redhat.py

This module contains bits that are either unused (the Rhsm* classes), or
used only by deprecated modules (the RegistrationBase class).
Considering that the bits here have not seen updates in years, it is
unlikely that anyone is actually using them as "library".

Hence, deprecate the whole module altogether:
- the Rhsm* classes, as not used by anything, are slated for removal in
  9.0.0
- the RegistrationBase class is slated for removal in 10.0.0, together
  with its only user (i.e. the rhn_register module)
@ansibullbot ansibullbot added docs module_utils module_utils plugins plugin (any type) labels Jun 10, 2023
@ptoscano ptoscano force-pushed the deprecate-module_utils.redhat branch from b516763 to 2d3617b Compare June 10, 2023 04:28
@felixfontein felixfontein merged commit 78c42de into ansible-collections:main Jun 10, 2023
136 checks passed
@ptoscano ptoscano deleted the deprecate-module_utils.redhat branch June 10, 2023 11:26
@felixfontein felixfontein added the backport-7 Automatically create a backport for the stable-7 branch label Jun 10, 2023
@patchback
Copy link

patchback bot commented Jun 10, 2023

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/78c42def04931339e231fddf549b5e65cf67ae4f/pr-6663

Backported as #6666

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jun 10, 2023
This module contains bits that are either unused (the Rhsm* classes), or
used only by deprecated modules (the RegistrationBase class).
Considering that the bits here have not seen updates in years, it is
unlikely that anyone is actually using them as "library".

Hence, deprecate the whole module altogether:
- the Rhsm* classes, as not used by anything, are slated for removal in
  9.0.0
- the RegistrationBase class is slated for removal in 10.0.0, together
  with its only user (i.e. the rhn_register module)

(cherry picked from commit 78c42de)
@felixfontein
Copy link
Collaborator

@ptoscano thanks for your contribution!

felixfontein pushed a commit that referenced this pull request Jun 10, 2023
…6666)

Deprecate module_utils.redhat (#6663)

This module contains bits that are either unused (the Rhsm* classes), or
used only by deprecated modules (the RegistrationBase class).
Considering that the bits here have not seen updates in years, it is
unlikely that anyone is actually using them as "library".

Hence, deprecate the whole module altogether:
- the Rhsm* classes, as not used by anything, are slated for removal in
  9.0.0
- the RegistrationBase class is slated for removal in 10.0.0, together
  with its only user (i.e. the rhn_register module)

(cherry picked from commit 78c42de)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-7 Automatically create a backport for the stable-7 branch docs module_utils module_utils plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants