Files
community.general/tests/integration/targets
Thibaut Decombe fddccea940 Greatly speed up homebrew module when multiple packages are passed in the name key (#9181)
* Increase test coverage and assert output more strictly

* Remove unused `_current_package_is_installed_from_head`

* Remove `un/changed_count` and infer from un/changed_pkgs length

* Track `installed` & `outdated` package state once

* Validate package names beforehand

* Install packages in 1 brew call instead of N

This also has the side effect of fixing the check message so that it prints every packages that will be installed instead of only the first one.

* Uninstall packages in 1 brew call instead of N

* Link packages in 1 brew call instead of N

* Unlink packages in 1 brew call instead of N

* Upgrade packages in 1 brew call instead of N

* Remove dangling checks

* Remove `_status` method and directly return the tuple

* Add changelog fragment

* Fix invalid format string (nice catch pylint!)

* Update changelogs/fragments/9181-improve-homebrew-module-performance.yml

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

* Update brew info parsing for casks

* Update changelogs/fragments/9181-improve-homebrew-module-performance.yml

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-02 20:17:04 +01:00
..
2023-10-29 18:04:44 +01:00
2023-10-29 18:04:44 +01:00
2023-10-29 18:04:44 +01:00
2024-12-02 20:16:00 +01:00
2024-06-18 23:48:37 +02:00
2023-10-29 18:04:44 +01:00
2023-02-15 22:55:23 +01:00
2024-06-18 23:48:37 +02:00
2023-02-15 22:55:23 +01:00
2023-04-23 17:51:33 +02:00
2023-10-29 18:04:44 +01:00
2023-02-15 22:55:23 +01:00
2023-11-29 06:53:48 +01:00
2023-10-29 18:04:44 +01:00
2024-06-18 23:48:37 +02:00
2023-11-04 13:44:05 +01:00
2024-06-18 23:48:37 +02:00
2023-10-29 18:04:44 +01:00
2024-09-08 14:24:33 +02:00
2024-03-17 16:49:10 +01:00
2022-10-11 07:34:36 +02:00
2024-07-23 18:00:44 +02:00
2024-11-08 23:05:35 +01:00
2023-02-15 22:55:23 +01:00
2023-10-29 18:04:44 +01:00
2023-10-29 18:04:44 +01:00
2023-10-29 18:04:44 +01:00
2024-06-18 23:48:37 +02:00
2023-10-29 18:04:44 +01:00
2024-06-18 23:48:37 +02:00
2024-01-13 09:57:58 +01:00