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

dnf_config_manager: fix parsing for non-english locales #9157

Merged

Conversation

shamilovstas
Copy link
Contributor

SUMMARY

Fixes #9046

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

dnf_config_manager

ADDITIONAL INFORMATION

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module plugins plugin (any type) labels Nov 19, 2024
Copy link
Collaborator

@russoz russoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @shamilovstas thanks for your contribution!

Couple of minor things to adjust, otherwise LGTM.

plugins/modules/dnf_config_manager.py Outdated Show resolved Hide resolved
Co-authored-by: Alexei Znamensky <[email protected]>
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-9 Automatically create a backport for the stable-9 branch backport-10 Automatically create a backport for the stable-10 branch and removed check-before-release PR will be looked at again shortly before release and merged if possible. labels Nov 20, 2024
@felixfontein felixfontein merged commit 4b0d5cb into ansible-collections:main Nov 20, 2024
129 checks passed
Copy link

patchback bot commented Nov 20, 2024

Backport to stable-9: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-9/4b0d5cb8cfc9722d62ba35de9367109d1bf2f18f/pr-9157

Backported as #9165

🤖 @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 Nov 20, 2024
* dnf_config_manager: forces locale to 'C' when the module starts

* adds changelog fragment

* Apply suggestions from code review

Co-authored-by: Alexei Znamensky <[email protected]>

---------

Co-authored-by: Alexei Znamensky <[email protected]>
(cherry picked from commit 4b0d5cb)
@felixfontein
Copy link
Collaborator

@shamilovstas thanks for fixing this!
@russoz thanks for reviewing!

Copy link

patchback bot commented Nov 20, 2024

Backport to stable-10: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-10/4b0d5cb8cfc9722d62ba35de9367109d1bf2f18f/pr-9157

Backported as #9166

🤖 @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 Nov 20, 2024
* dnf_config_manager: forces locale to 'C' when the module starts

* adds changelog fragment

* Apply suggestions from code review

Co-authored-by: Alexei Znamensky <[email protected]>

---------

Co-authored-by: Alexei Znamensky <[email protected]>
(cherry picked from commit 4b0d5cb)
felixfontein pushed a commit that referenced this pull request Nov 20, 2024
…g for non-english locales (#9165)

dnf_config_manager: fix parsing for non-english locales (#9157)

* dnf_config_manager: forces locale to 'C' when the module starts

* adds changelog fragment

* Apply suggestions from code review

Co-authored-by: Alexei Znamensky <[email protected]>

---------

Co-authored-by: Alexei Znamensky <[email protected]>
(cherry picked from commit 4b0d5cb)

Co-authored-by: Stanislav Shamilov <[email protected]>
felixfontein pushed a commit that referenced this pull request Nov 20, 2024
…ng for non-english locales (#9166)

dnf_config_manager: fix parsing for non-english locales (#9157)

* dnf_config_manager: forces locale to 'C' when the module starts

* adds changelog fragment

* Apply suggestions from code review

Co-authored-by: Alexei Znamensky <[email protected]>

---------

Co-authored-by: Alexei Znamensky <[email protected]>
(cherry picked from commit 4b0d5cb)

Co-authored-by: Stanislav Shamilov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-9 Automatically create a backport for the stable-9 branch backport-10 Automatically create a backport for the stable-10 branch 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.

dnf_config_manager: doesn't work when the locale of the remote_user is not english
4 participants