diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index f0965698c8..5353ee2862 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1616,6 +1616,7 @@ class DownloadStrategyDetector when %r{^https?://.+\.git$}, %r{^git://}, %r{^https?://git\.sr\.ht/[^/]+/[^/]+$}, + %r{^https?://tangled\.sh/[^/]+/[^/]+$}, %r{^ssh://git} GitDownloadStrategy when %r{^https?://www\.apache\.org/dyn/closer\.cgi}, 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"