From 46d4af6031df2bcd3ce88bb840581041f4310ff9 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Mon, 1 Sep 2025 08:22:40 -0400 Subject: [PATCH] Temporarily skip audit_download_strategy for lsr This is a temporary workaround to allow us to merge support for tangled.sh Git URLs in `DownloadStrategyDetector`, as it makes the `using: :git` argument in the `lsr` formula redundant and causes brew CI to fail. We can't remove that argument from the formula until the brew change is merged, so this allows us to do so. This should be removed after the brew change is available in a release. Co-authored-by: Carlo Cabrera --- Library/Homebrew/resource_auditor.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/resource_auditor.rb b/Library/Homebrew/resource_auditor.rb index 05f078b152..b68a362047 100644 --- a/Library/Homebrew/resource_auditor.rb +++ b/Library/Homebrew/resource_auditor.rb @@ -85,6 +85,9 @@ module Homebrew end end + # TODO: Remove this exception for `lsr` after support for tangled.sh + # Git URLs is available in a brew release. + return if name == "lsr" return if url_strategy != DownloadStrategyDetector.detect("", using) problem "Redundant `using:` value in URL"