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.
ansible/lib/ansible
Sam Doran fad56bd4e6
[stable-2.11] subversion - fix stack trace when getting repository information (#74405) (#74977)
* 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>
5 years ago
..
_vendor Rename to ansible-core (#72594) 5 years ago
cli ansible-pull - update help info for --directory option (#74936) (#74993) 5 years ago
collections saner path dir management (#72648) 5 years ago
compat Updated bundled libraries (#70418) 6 years ago
config avoid literal quoting in config lists (#74740) (#74773) 5 years ago
errors Correctly set path and fullpath for template vars (#73924) 5 years ago
executor restores delegated vars that were not passed (#74371) 5 years ago
galaxy ansible-galaxy - increase page size and add retry decorator for throttling (#74240) (#74648) 5 years ago
inventory inventory: misc typo fixes (#73695) 5 years ago
module_utils Basic: don't call lstat when check_mode (#64279) (#74883) 5 years ago
modules [stable-2.11] subversion - fix stack trace when getting repository information (#74405) (#74977) 5 years ago
parsing fix typo in ansible vault decrypt if vault error (#73542) 5 years ago
playbook Role argspec: allow new argument spec file (#74582) (#74656) 5 years ago
plugins Apply display_failed_stderr on loop item results (#74865) (#74898) 5 years ago
template fix unsafe preservation across newlines (#74960) (#74973) 5 years ago
utils Fix pb subs collapse (#74301) (#74376) 5 years ago
vars Fix missing ansible.builtin FQCNs in hardcoded action names (#71824) 5 years ago
__init__.py [stable-2.11] CI and compat fixes for Jinja2 >= 3.0 (#74666) 5 years ago
constants.py Fix notify on import_tasks (#73572) 5 years ago
context.py Become plugins (#50991) 7 years ago
keyword_desc.yml Document and warn when max_fail and free are used (#72616) 5 years ago
release.py Update Ansible release version to v2.11.1.post0. 5 years ago