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] 7ac14f964b
updated deprecated homebrew cask commands (#1481) (#1565)
* 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>
(cherry picked from commit ed813176ce)

Co-authored-by: Jianhao Tan <jianhao@shopback.com>
2020-12-31 23:07:39 +00:00
..
apk.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01: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) (#1291) 2020-11-13 14:04:53 +01:00
flatpak.py Add --non-interactive argurment to Flatpak (#1246) (#1332) 2020-11-19 21:31:36 +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) (#1188) 2020-10-28 06:46:35 +01:00
homebrew_cask.py updated deprecated homebrew cask commands (#1481) (#1565) 2020-12-31 23:07:39 +00: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) (#1395) 2020-11-26 07:15:27 +01:00
mas.py Fix #1435: mas : Fix "invalid literal" when no app (#1436) (#1448) 2020-12-04 09:36:03 +01:00
openbsd_pkg.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
opkg.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
pacman.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
pkg5.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01: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) (#1349) 2020-11-21 21:41:09 +01:00
pkgng.py [pkgng] present the 'ignore_osver' option to pkg (#1243) (#1321) 2020-11-17 07:37:00 +01:00
pkgutil.py Fix boolean defaults. (#1343) (#1358) 2020-11-23 12:29:14 +01:00
portage.py Add getbinpkgonly (-G) to portage (#1169) (#1182) 2020-10-26 21:08:04 +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) (#1429) 2020-12-01 21:13:54 +00:00
rhn_channel.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
rhn_register.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02: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) (#1291) 2020-11-13 14:04:53 +01: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) (#1358) 2020-11-23 12:29:14 +01:00
swdepot.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
swupd.py Fix boolean defaults. (#1343) (#1358) 2020-11-23 12:29:14 +01:00
urpmi.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
xbps.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
zypper.py Tidy up validate-modules ignores for packaging modules (#1289) (#1291) 2020-11-13 14:04:53 +01:00
zypper_repository.py zypper_repository: Proper failure when python-xml is missing (#939) (#940) 2020-09-21 13:56:37 +02:00