livecheck: enable git strategy for sourcehut

This commit is contained in:
Dario Vladovic 2020-11-07 03:19:26 +01:00 committed by Sam Ford
parent 59adb55338
commit 1f103f88d0
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -1225,7 +1225,8 @@ class DownloadStrategyDetector
when %r{^https?://github\.com/[^/]+/[^/]+\.git$} when %r{^https?://github\.com/[^/]+/[^/]+\.git$}
GitHubGitDownloadStrategy GitHubGitDownloadStrategy
when %r{^https?://.+\.git$}, when %r{^https?://.+\.git$},
%r{^git://} %r{^git://},
%r{^https?://git\.sr\.ht/[^/]+/[^/]+$}
GitDownloadStrategy GitDownloadStrategy
when %r{^https?://www\.apache\.org/dyn/closer\.cgi}, when %r{^https?://www\.apache\.org/dyn/closer\.cgi},
%r{^https?://www\.apache\.org/dyn/closer\.lua} %r{^https?://www\.apache\.org/dyn/closer\.lua}