mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ece0202507
* * pkgin query_package(..) understands now also package name with version (my-package-1.2nb123456). * pkgin query_package(..) will distinct between not-installed and not-found packages. * pkgin install_package(..) fails with proper error if a non-existing package is attempted to be installed. * fixup ansibot comments * add changelog fragment * add example * use more pythonic condition Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * remove extra dot between description and link to PR Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> * fix file extension of changelog fragment * add pkgin unit tests for query_package function * fix pep8 issues * use enum Flag instead mix of strings, bools and None as return value * use IntEnum instead Flag to support Python versions >= 2.6 * fix pep8 and pylint errors * use regular class instead enum to avoid issues with older Python releases * fix comment * remove the combined package state since without an IntFlag or Flag the usage of it would require to use logical operators Co-authored-by: Erik van Nooijen <eric.vannooijen@tomtom.com> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> |
||
---|---|---|
.. | ||
apk.py | ||
apt_repo.py | ||
apt_rpm.py | ||
flatpak.py | ||
flatpak_remote.py | ||
homebrew.py | ||
homebrew_cask.py | ||
homebrew_tap.py | ||
installp.py | ||
layman.py | ||
macports.py | ||
mas.py | ||
openbsd_pkg.py | ||
opkg.py | ||
pacman.py | ||
pkg5.py | ||
pkg5_publisher.py | ||
pkgin.py | ||
pkgng.py | ||
pkgutil.py | ||
portage.py | ||
portinstall.py | ||
pulp_repo.py | ||
redhat_subscription.py | ||
rhn_channel.py | ||
rhn_register.py | ||
rhsm_release.py | ||
rhsm_repository.py | ||
slackpkg.py | ||
snap.py | ||
sorcery.py | ||
svr4pkg.py | ||
swdepot.py | ||
swupd.py | ||
urpmi.py | ||
xbps.py | ||
zypper.py | ||
zypper_repository.py |