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: update returned "repositories" when using "purge=true" #6676

Conversation

ptoscano
Copy link
Contributor

SUMMARY

In case the purge option was enabled, the repositories element in the returned JSON was not updated with the repositories disabled by that option.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

rhsm_repository

In case the "purge" option was enabled, the "repositories" element in
the returned JSON was not updated with the repositories disabled by that
option.
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module plugins plugin (any type) labels Jun 11, 2023
@ptoscano ptoscano force-pushed the rhsm_repository-fix-returned-repositories-with-purge branch from 67ebd18 to a773458 Compare June 11, 2023 09:15
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-6 labels Jun 11, 2023
@felixfontein
Copy link
Collaborator

The change looks formally OK, but I have no idea whether it is correct. If you want to wait for someone to review it that's fine, but if you want it merged just tell me.

@felixfontein felixfontein merged commit ffb9b6f into ansible-collections:main Jun 20, 2023
@patchback
Copy link

patchback bot commented Jun 20, 2023

Backport to stable-6: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-6/ffb9b6ff962e8a2f12a59992b270f63ee4239d16/pr-6676

Backported as #6745

🤖 @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 20, 2023
…e" (#6676)

In case the "purge" option was enabled, the "repositories" element in
the returned JSON was not updated with the repositories disabled by that
option.

(cherry picked from commit ffb9b6f)
@patchback
Copy link

patchback bot commented Jun 20, 2023

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/ffb9b6ff962e8a2f12a59992b270f63ee4239d16/pr-6676

Backported as #6746

🤖 @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 20, 2023
…e" (#6676)

In case the "purge" option was enabled, the "repositories" element in
the returned JSON was not updated with the repositories disabled by that
option.

(cherry picked from commit ffb9b6f)
@felixfontein
Copy link
Collaborator

@ptoscano thanks for your contribution!

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Jun 20, 2023
felixfontein pushed a commit that referenced this pull request Jun 20, 2023
…ed "repositories" when using "purge=true" (#6745)

rhsm_repository: update returned "repositories" when using "purge=true" (#6676)

In case the "purge" option was enabled, the "repositories" element in
the returned JSON was not updated with the repositories disabled by that
option.

(cherry picked from commit ffb9b6f)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
felixfontein pushed a commit that referenced this pull request Jun 20, 2023
…ed "repositories" when using "purge=true" (#6746)

rhsm_repository: update returned "repositories" when using "purge=true" (#6676)

In case the "purge" option was enabled, the "repositories" element in
the returned JSON was not updated with the repositories disabled by that
option.

(cherry picked from commit ffb9b6f)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
@ptoscano ptoscano deleted the rhsm_repository-fix-returned-repositories-with-purge branch June 20, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants