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

rhsm_repository: deprecate "state=present" and "state=absent" #6673

Conversation

ptoscano
Copy link
Contributor

SUMMARY

state=present is broken, and acts like disabled; also, the subscription repositories cannot be really "added" or "removed", which is what present and absent would imply, but only enabled or disabled. Hence, deprecate both these states, slating them for removal in community.general 10.0.0.

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

rhsm_repository

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added docs module module plugins plugin (any type) labels Jun 11, 2023
"state=present" is broken, and acts like "disabled"; also, the
subscription repositories cannot be really "added" or "removed", which
is what "present" and "absent" would imply, but only enabled or
disabled. Hence, deprecate both these states, slating them for removal
in community.general 10.0.0.
@ptoscano ptoscano force-pushed the rhsm_repository-deprecate-present-absent branch from 6335e9e to 5edc4ba Compare June 11, 2023 07:41
@felixfontein felixfontein merged commit 2dbe529 into ansible-collections:main Jun 11, 2023
@patchback
Copy link

patchback bot commented Jun 11, 2023

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/2dbe529a90c605fa67167a6e96379f3f66b1c9aa/pr-6673

Backported as #6675

🤖 @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 11, 2023
"state=present" is broken, and acts like "disabled"; also, the
subscription repositories cannot be really "added" or "removed", which
is what "present" and "absent" would imply, but only enabled or
disabled. Hence, deprecate both these states, slating them for removal
in community.general 10.0.0.

(cherry picked from commit 2dbe529)
@felixfontein
Copy link
Collaborator

@ptoscano thanks!

@ptoscano ptoscano deleted the rhsm_repository-deprecate-present-absent branch June 11, 2023 08:59
felixfontein pushed a commit that referenced this pull request Jun 11, 2023
…ate=present" and "state=absent" (#6675)

rhsm_repository: deprecate "state=present" and "state=absent" (#6673)

"state=present" is broken, and acts like "disabled"; also, the
subscription repositories cannot be really "added" or "removed", which
is what "present" and "absent" would imply, but only enabled or
disabled. Hence, deprecate both these states, slating them for removal
in community.general 10.0.0.

(cherry picked from commit 2dbe529)

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
docs module module plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants