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
Jianhao Tan ed813176ce
updated deprecated homebrew cask commands (#1481)
* updated deprecated homebrew cask commands

* added methods for brew version deprecation check

* added comments and changelog fragment

* added unit test for version comparison

* switch to use disutils LooseVersion for version comparison

* updated changelog message and minor refactor for building brew command based on version

* added caching logic for retrieval of brew version and updated PR changelog yaml

* Update changelogs/fragments/1481-deprecated-brew-cask-command.yaml

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

* Update plugins/modules/packaging/os/homebrew_cask.py

* Update plugins/modules/packaging/os/homebrew_cask.py

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

* Update plugins/modules/packaging/os/homebrew_cask.py

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

* switch to use subprocess.check_output instead of subprocess.run

* replace subprocess with run_command

* removed unused subprocess import

* removed error handling logic to depend on check_rc=True instead

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-12-31 19:13:21 +01:00
..
apk.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
apt_repo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
apt_rpm.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
flatpak.py Add --non-interactive argurment to Flatpak (#1246) 2020-11-19 21:10:54 +01:00
flatpak_remote.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
homebrew.py Resolve homebrew and homebrew_cask package name validation issues (#1038) 2020-10-27 22:46:49 +01:00
homebrew_cask.py updated deprecated homebrew cask commands (#1481) 2020-12-31 19:13:21 +01:00
homebrew_tap.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02: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 Fix macports package present/active detection (#1308) 2020-11-26 06:59:32 +01:00
mas.py Fix #1435: mas : Fix "invalid literal" when no app (#1436) 2020-12-04 09:17:42 +01:00
openbsd_pkg.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
opkg.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
pacman.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00: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 feat(pkgin): add support for installation of full versioned package names (#1256) 2020-11-21 21:20:27 +01:00
pkgng.py [pkgng] present the 'ignore_osver' option to pkg (#1243) 2020-11-17 07:17:16 +01:00
pkgutil.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
portage.py Add getbinpkgonly (-G) to portage (#1169) 2020-10-26 19:37:56 +01:00
portinstall.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pulp_repo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
redhat_subscription.py Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) 2020-12-01 21:28:40 +01:00
rhn_channel.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00: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 modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
rhsm_repository.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
slackpkg.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
snap.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
sorcery.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
svr4pkg.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
swdepot.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
swupd.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
urpmi.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
xbps.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
yum_versionlock.py yum_versionlock: new module (#1405) 2020-12-03 20:00:49 +01:00
zypper.py Tidy up validate-modules ignores for packaging modules (#1289) 2020-11-13 12:41:11 +00:00
zypper_repository.py zypper_repository: Proper failure when python-xml is missing (#939) 2020-09-20 14:09:02 +02:00