community.general/changelogs/fragments
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
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
5932-launchd-plist.yml launchd: Add plist option (#9102) 2024-11-16 18:33:35 +01:00
7402-proxmox-template-support-server-side-artifact-fetching.yaml Add server-side artifact fetching to proxmox_template module (#9113) 2024-11-21 21:34:06 +01:00
9076-remove-duplicated-homebrew-package-name-validation.yml Remove redundant `HomebrewValidate.valid_package` calls in homebrew module. (#9076) 2024-11-16 18:34:47 +01:00
9077-keycloak_client-fix-attributes-dict-turned-into-list.yml keycloak_client: remove code that turns attributes dict into list (#9077) 2024-11-11 20:01:47 +01:00
9082-keycloak_clientscope-fix-attributes-dict-turned-into-list.yml keycloak_clientscope: remove code turning attributes dict into list (#9082) 2024-11-11 20:02:41 +01:00
9096-alternatives-add-family-parameter.yml alternatives: add support for "family" parameter (#9096) 2024-11-16 18:34:09 +01:00
9114-redfish-utils-update-remove-default-applytime.yml redfish_utils: remove undocumented default applytime (#9114) 2024-11-11 20:04:14 +01:00
9123-redfish-command-custom-oem-params.yml redfish_command: add update_custom_oem options (#9123) 2024-11-16 18:32:49 +01:00
9124-dnf_config_manager.yml dnf_config_manager: use --assumeyes when changing state (#9124) 2024-11-17 15:27:53 +01:00
9128-homebrew_cask-name-regex-fix.yml homebrew_cask: add + to valid cask chars (#9128) 2024-11-16 18:31:45 +01:00
9132-cloudflare_dns-comment-and-tags.yml `cloudflare_dns`: add support for `comment` and `tags` (#9132) 2024-11-24 22:10:51 +01:00
9157-fix-dnf_config_manager-locale.yml dnf_config_manager: fix parsing for non-english locales (#9157) 2024-11-20 19:08:34 +01:00
9159-iso-extract_add_password.yml iso_extract: Add password argument (#9159) 2024-12-02 20:16:30 +01:00
9167-rpm_ostree_pkg-apply_live.yml Add the options apply_live to rpm_ostree_pkg (#9167) 2024-11-28 06:51:21 +01:00
9171-gio-mime-fix-version.yml gio_mime: fix bug when looking for version (#9171) 2024-11-23 15:03:56 +01:00
9179-deps-tests.yml deps module utils: unit tests + minor improvement (#9179) 2024-11-24 22:09:53 +01:00
9180-pipx-version.yml pipx/pipx_info: add return value version (#9180) 2024-11-24 22:10:19 +01:00
9181-improve-homebrew-module-performance.yml Greatly speed up homebrew module when multiple packages are passed in the `name` key (#9181) 2024-12-02 20:17:04 +01:00
9186-fix-broken-check-mode-in-github-key.yml fixing broken check mode in the github_key (#9186) 2024-11-28 06:42:57 +01:00
9187-flatpak-lang.yml flatpak: force locale language to be C (#9187) 2024-11-28 06:50:39 +01:00
9189-scalway-lb-simplify-return.yml scaleway_lb: simplify function logic (#9189) 2024-11-25 21:27:42 +01:00
9198-fail-if-slack-api-response-is-not-ok-with-error-message.yml Fail if Slack API response is not OK with error message (#9198) 2024-12-02 20:11:00 +01:00