1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/packaging/os
patchback[bot] 2cc72c2213
Pacman: Add support for install reason (#4956) (#5040)
* Pacman: Add support for setting install reason

* Improved description

* Fix documentation

* Add changelog fragment

* Use source for installation

* Get all reasons at once

* Removed default for reason

* Added version info to documentation

* Fix NameError

* Moved determination of reason to _build_inventory

* Fix duplication and sanity errors

* adjust tests for changed inventory

* Documentation: remove empty default for reason

* mention packages with changed reason in exit params/info

* Added integration tests for reason and reason_for

Inspired by the integration tests for url packages

* Correct indentation

* Fix indentation

* Also sort changed packages in normal mode

* Also sort result in unit test

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 9f3841703f)

Co-authored-by: Minei3oat <Minei3oat@users.noreply.github.com>
2022-07-31 22:55:21 +02:00
..
apk.py Apk: add support for a custom world file (#4976) (#5005) 2022-07-26 12:26:38 +02:00
apt_repo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
apt_rpm.py [5.0.0] Bump version to 5.0.0, remove deprecated features (#4516) 2022-04-26 11:45:15 +02:00
copr.py Fix copr integration tests (#3237) 2021-09-01 22:58:10 +02:00
dnf_versionlock.py dnf_versionlock: new module (#3552) 2021-10-27 22:36:48 +02:00
flatpak.py Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
flatpak_remote.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
homebrew.py Fix various module docs. (#4887) (#4888) 2022-06-22 22:54:08 +02:00
homebrew_cask.py [5.0.0] Bump version to 5.0.0, remove deprecated features (#4516) 2022-04-26 11:45:15 +02:00
homebrew_tap.py homebrew_tap: Add support for brew search path (#1708) 2021-02-01 08:42:32 +01:00
installp.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
layman.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
macports.py macports: add stdout and stderr to status (#3499) (#3500) 2021-10-11 06:55:09 +02:00
mas.py Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
openbsd_pkg.py Fix various module docs. (#4887) (#4888) 2022-06-22 22:54:08 +02:00
opkg.py [5.0.0] Bump version to 5.0.0, remove deprecated features (#4516) 2022-04-26 11:45:15 +02:00
pacman.py Pacman: Add support for install reason (#4956) (#5040) 2022-07-31 22:55:21 +02:00
pacman_key.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
pkg5.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
pkg5_publisher.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pkgin.py Fix exception in pkgin module when all packages are already installed (#3583) 2021-10-22 07:47:27 +02:00
pkgng.py Fix various module docs. (#4887) (#4888) 2022-06-22 22:54:08 +02:00
pkgutil.py fixed calls to list.extend() (#2161) 2021-04-04 23:38:59 +02:00
portage.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
portinstall.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pulp_repo.py Fix various module docs. (#4887) (#4888) 2022-06-22 22:54:08 +02:00
redhat_subscription.py redhat_subscription: call 'remove' instead of 'unsubscribe' (#4809) (#4838) 2022-06-14 07:53:49 +02:00
rhn_channel.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
rhn_register.py rhn_register: added force option to allow forced registering (#1454) (#1455) 2020-12-08 13:12:04 +01:00
rhsm_release.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
rhsm_repository.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
rpm_ostree_pkg.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
slackpkg.py [5.0.0] Bump version to 5.0.0, remove deprecated features (#4516) 2022-04-26 11:45:15 +02:00
snap.py Multiple modules using ModuleHelper (#4674) (#4713) 2022-05-23 07:32:54 +02:00
snap_alias.py fix modules' output by using publish_cmd (#3655) 2021-11-01 13:53:02 +01:00
sorcery.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
svr4pkg.py Fix #2373 - TypeError: a bytes-like object is required, not 'str' (#2375) 2021-05-03 07:25:08 +02:00
swdepot.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
swupd.py mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
urpmi.py [5.0.0] Bump version to 5.0.0, remove deprecated features (#4516) 2022-04-26 11:45:15 +02:00
xbps.py [5.0.0] Bump version to 5.0.0, remove deprecated features (#4516) 2022-04-26 11:45:15 +02:00
yum_versionlock.py Update to new Github account for notifications (#4986) (#4989) 2022-07-23 14:23:29 +02:00
zypper.py Fix various module docs. (#4887) (#4888) 2022-06-22 22:54:08 +02:00
zypper_repository.py Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00