mirror of https://github.com/ansible/ansible.git
* subversion - set LC_ALL for accurate command output parsing
When LC_ALL is not set, the output language of commands will differ based on locale. There
is a lot of history of trying to fix this. See the following pull requests:
https://github.com/ansible/ansible-modules-core/pull/4358
https://github.com/ansible/ansible-modules-core/pull/4358
This patch attempts to fix this my setting LC_ALL to a UTF-8 locale. Setting LC_ALL to C reintroduces this bug https://github.com/ansible/ansible-modules-core/issues/4178.
I'm sure there are some problems I am not seeing with setting this to en_US.UTF-8, but that is
the only way I could find to fix this bug without reintriducing the bug mentioned above.
* Rather than setting locale, just check for matches before trying to get groups
This is a pragmatic solution to avoid the stack trace since setting the locale correctly
to ensure message parsing is accurate is problematic.
* Improve regexps for finding revision and URL
(cherry picked from commit a8cf0196f7
)
Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/75001/head
parent
f92f039ea7
commit
fad56bd4e6
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- subversion - fix stack trace when getting information about the repository (https://github.com/ansible/ansible/issues/36498)
|
Loading…
Reference in New Issue