-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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_release: improve the execution of subscription-manager #6669
rhsm_release: improve the execution of subscription-manager #6669
Conversation
cc @cnsnyder @seandst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Please add a changelog fragment :)
- pass the arguments to run_command() directly as list, rather than joining the arguments to string, which run_command() will need to split again - disable the expansions of variables, as there are none Adapt the unit test to the different way run_command() is called, factorizing the kwargs for run_command() so there is less repetition. There should be no behaviour changes.
4e474aa
to
8b1fad9
Compare
@ptoscano thanks! |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6674 🤖 @patchback |
- pass the arguments to run_command() directly as list, rather than joining the arguments to string, which run_command() will need to split again - disable the expansions of variables, as there are none Adapt the unit test to the different way run_command() is called, factorizing the kwargs for run_command() so there is less repetition. There should be no behaviour changes. (cherry picked from commit 74ffb29)
…ution of subscription-manager (#6674) rhsm_release: improve the execution of subscription-manager (#6669) - pass the arguments to run_command() directly as list, rather than joining the arguments to string, which run_command() will need to split again - disable the expansions of variables, as there are none Adapt the unit test to the different way run_command() is called, factorizing the kwargs for run_command() so there is less repetition. There should be no behaviour changes. (cherry picked from commit 74ffb29) Co-authored-by: Pino Toscano <ptoscano@redhat.com>
SUMMARY
run_command()
directly as list, rather than joining the arguments to string, whichrun_command()
will need to split againAdapt the unit test to the different way
run_command()
is called, factorizing the kwargs forrun_command()
so there is less repetition.There should be no behaviour changes.
ISSUE TYPE
COMPONENT NAME
rhsm_release