mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* 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
|
5 years ago | |
|---|---|---|
| .. | ||
| _vendor | 5 years ago | |
| cli | 5 years ago | |
| collections | 5 years ago | |
| compat | 6 years ago | |
| config | 5 years ago | |
| errors | 5 years ago | |
| executor | 5 years ago | |
| galaxy | 5 years ago | |
| inventory | 5 years ago | |
| module_utils | 5 years ago | |
| modules | 5 years ago | |
| parsing | 5 years ago | |
| playbook | 5 years ago | |
| plugins | 5 years ago | |
| template | 5 years ago | |
| utils | 5 years ago | |
| vars | 5 years ago | |
| __init__.py | 5 years ago | |
| constants.py | 5 years ago | |
| context.py | 7 years ago | |
| keyword_desc.yml | 5 years ago | |
| release.py | 5 years ago | |