Files
community.general/plugins/modules
Alexei Znamensky c4ed3467b6 homebrew_tap: fix None in command, redundant brew tap calls, format strings, and drop no-op locale vars (#11848)
* homebrew_tap: fix None in command list, redundant brew tap calls, and bad format strings

- Fix None being injected into the run_command list when url is not
  provided to add_tap (filter with [opt for opt in [...] if opt])
- Reduce redundant `brew tap` calls: add_taps and remove_taps now
  fetch the tap list once upfront and pass it to the per-tap functions;
  already_tapped accepts an optional pre-fetched list to avoid re-running
  brew for every tap in a batch
- Fix mixed f-string/%-formatting in error messages in add_taps and
  remove_taps, replaced with plain f-strings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* homebrew_tap: simplify command construction in add_tap

Replace the opaque list comprehension filter with an explicit conditional
append — only url is ever optional, so testing the known-present items
was misleading.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* homebrew_tap: remove unnecessary locale env vars

Homebrew has no i18n/l10n support — all output is hardcoded English.
LANGUAGE=C and LC_ALL=C have no effect on brew output.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* homebrew_tap: add changelog fragment for #11848

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* remove hombrew_tap from PR #11783 changelog - change reverted here

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 23:49:46 +12:00
..
2026-03-04 19:11:45 +13:00
2026-03-04 19:11:45 +13:00
2026-03-04 19:11:45 +13:00
2026-03-04 19:11:45 +13:00
2026-03-04 19:11:45 +13:00
2025-11-29 08:28:22 +01:00
2026-01-05 18:12:39 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2026-04-12 13:12:26 +02:00
2026-03-15 19:47:25 +01:00
2025-11-12 21:06:14 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2026-01-31 21:30:39 +13:00
2025-11-12 21:12:47 +01:00
2025-11-01 13:46:53 +01:00
2026-04-17 08:54:11 +02:00
2026-04-15 20:03:16 +02:00
2026-03-24 18:51:02 +13:00
2026-02-04 07:50:05 +01:00
2026-02-04 07:50:05 +01:00
2026-02-04 07:50:05 +01:00
2026-02-04 07:50:05 +01:00
2026-02-04 07:50:05 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2026-03-31 07:08:50 +02:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-01 13:46:53 +01:00
2025-11-12 21:12:47 +01:00