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/tests/unit/plugins
Martin Migasiewicz ece0202507
feat(pkgin): add support for installation of full versioned package names (#1256)
* * 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>
2020-11-21 21:20:27 +01:00
..
become Fix more become plugins (#708) 2020-07-29 20:27:16 +02:00
cache Fix more plugin unit tests. (#51) 2020-03-25 22:37:34 +00:00
connection Fix imports, part 2 (#42) 2020-03-25 11:43:51 +00:00
inventory proxmox: ignore QEMU templates altogether (#1185) 2020-10-30 19:51:49 +01:00
lookup Add Thycotic DevOps Secrets Vault lookup plugin (#90) 2020-07-13 05:45:07 +00:00
module_utils Adding module_utils/module_helper.py + big revamp in xfconf.py to use it (#1322) 2020-11-20 11:27:53 +01:00
modules feat(pkgin): add support for installation of full versioned package names (#1256) 2020-11-21 21:20:27 +01:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00