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 <github@carlo.cab>
This commit is contained in:
Sam Ford 2025-09-01 08:22:40 -04:00
parent d4b7cc14f1
commit 46d4af6031
No known key found for this signature in database
GPG Key ID: 7AF5CBEE1DD6F76D

View File

@ -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"