Files
community.general/plugins/modules
Stanislav Shamilov 2b2872f0ef Add android sdk module (#9236)
* adds simple implementation of adding and removing android sdk packages

* adds package update

* adds simple installed packages parsing

* moves parsing logic to a separate class

* adds absent state for sdkmanager packages and setup for tests

* adds output for installing and removing packages

* removes version from Package object since it is not possible to specify version for a package while using sdkmanager

* adds 'latest' state

* adds tests

* fixes crash when sdkmanager is invoked from python with LC_ALL=C

* fixes latest state

* adds sdk_root parameter

* adds channel parameter

* simplifies regexps, removes unused named groups

* minor refactoring of sdkmanager parsing

* adds java dependency variable for different distributions

* adds RETURN documentation

* adds check for nonexisting package

* adds check for non-accepted licenses

* removes excessive methods from sdkmanager

* removes unused 'update' module parameter, packages may be updated using 'latest' state

* minor refactoring

* adds EXAMPLES doc section

* adds DOCUMENTATION section and license headers

* fixes formatting issues

* removes diff_params

* adds maintainer

* fixes sanity check issues in sdkmanager

* adds java dependency for macos and moves some tests to a separate FreeBSD configuration

* fixes dependencies setup for OSX

* fixes dependencies setup for OSX (2)

* fixes dependencies setup for OSX (3)

* Apply minor suggestions from code review

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* applies code review suggestions

* changes force_lang from C.UTF-8 to auto in sdkmanager (as per discussion https://github.com/ansible-collections/community.general/pull/9236#discussion_r1881114326)

* Revert "changes force_lang from C.UTF-8 to auto in sdkmanager (as per discussion https://github.com/ansible-collections/community.general/pull/9236#discussion_r1881114326)"

This reverts commit 619f28dd58.

* fixes some more comments from review

* minor sanity issue fix

* uses the 'changed' test instead of checking the 'changed' attribute

* adds 'accept_licenses' parameter. Installation is now performed independently for each package specified.

* removes "Accept licenses" task from examples

* fixes docs sanity issues

* applies minor suggestions from code review

* fixes regexps. The previous version didn't match versions like "32.1.0 rc1". Also, this allows to simplify the parsing logic as there is no need to skip table headers anymore.

* renamed sdkmanager.py to android_sdkmanager.py

* applies minor suggestions from code review

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

* updates BOTMETA

* reordered BOTMETA

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-20 22:55:12 +01:00
..
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2024-12-20 22:55:12 +01:00
2024-10-22 20:05:46 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-07-11 18:28:34 +12:00
2024-09-24 22:53:16 +03:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2024-12-02 20:16:00 +01:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-06-20 08:14:02 +02:00
2024-07-23 17:18:41 +02:00
2023-11-22 22:45:28 +01:00
2024-09-25 22:02:33 +03:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-07-14 07:03:34 +02:00
2024-11-16 18:33:35 +01:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2024-09-22 13:09:36 +03:00
2023-10-25 23:01:32 +02:00
2023-10-04 19:48:54 +02:00
2023-09-06 19:11:43 +02:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2024-07-23 17:18:41 +02:00
2023-06-20 08:14:02 +02:00
2023-12-03 13:51:39 +01:00
2024-09-21 10:31:50 +03:00
2023-11-22 22:45:28 +01:00
2024-10-10 22:02:51 +02:00
2024-10-21 20:51:57 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2024-04-20 09:26:08 +02:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2023-02-04 17:05:08 +01:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-06-20 08:14:02 +02:00
2024-07-23 18:01:37 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2024-10-13 12:08:11 +02:00
2023-10-29 18:04:44 +01:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2023-06-20 08:14:02 +02:00
2023-10-29 18:04:44 +01:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2023-11-22 22:45:28 +01:00
2023-10-25 23:01:32 +02:00
2024-09-17 17:57:47 +12:00
2024-12-19 20:43:44 +13:00
2023-06-20 08:14:02 +02:00
2023-11-22 22:45:28 +01:00
2023-10-25 22:05:37 +02:00