ansible/lib/ansible
Benjamin R. Haskell 73a7a0877d Fix Pacman regex for unmatched Arch package name (#48558)
* Fix Pacman regex for unmatched Arch package name

`ansible -m pacman -a upgrade=yes $(hostname)` failed due to not
accounting for the `+` character in the `pacman -Qu` output line:

    libsigc++ 2.10.0-1 -> 2.10.1-1

Per the Arch wiki¹, package names can contain alphanumeric characters,
and any of {`@`, `.`, `_`, `+`, `-`}.

The existing `re` covered `_` (part of `\w` in Python), and `-`
(explicitly included). This change adds `@`, `.`, and `+` (in
ASCII-betical order).

¹: https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_naming

* Add explanation for `pacman -Qu` regex matching

* Remove unneeded non-capturing groups in regex
2019-07-09 20:14:14 -04:00
..
cli ansible-galaxy: add collection sub command (#57106) 2019-07-10 05:47:25 +10:00
compat
config ansible-galaxy: add collection sub command (#57106) 2019-07-10 05:47:25 +10:00
errors
executor Create new instance of the action plugin per until iteration. Fixes #57886 (#58022) 2019-06-20 09:17:50 -05:00
galaxy ansible-galaxy: add collection sub command (#57106) 2019-07-10 05:47:25 +10:00
inventory Perf improvement for Templar.is_template (#57489) 2019-06-06 15:49:26 -04:00
module_utils Add apply to k8s module (#49053) 2019-07-08 13:47:41 -07:00
modules Fix Pacman regex for unmatched Arch package name (#48558) 2019-07-09 20:14:14 -04:00
parsing Get copy tests passing with split controller/target (#58516) 2019-07-03 10:37:33 -05:00
playbook role: Fix role's hash_params (#55263) 2019-07-08 09:25:59 -04:00
plugins Fix broken slxos_config due to changed backup options (#58804) 2019-07-08 09:28:53 +05:30
template Add back _contains_vars method as maybe_template (#58290) 2019-06-25 10:54:37 -05:00
utils ansible-galaxy: add collection sub command (#57106) 2019-07-10 05:47:25 +10:00
vars [FactCache] define first_order_merge method (#55781) 2019-06-10 14:34:06 -04:00
__init__.py
constants.py removed previouslly deprecated settings (#55662) 2019-05-15 16:36:30 -04:00
context.py
release.py