From 41690b7508d4648c5072bf9ab089434b93c4267a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Sat, 28 Nov 2015 09:52:55 +0100 Subject: [PATCH] lint: also catch gitlab master links --- fdroidserver/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 82c6eddd..db6707c1 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -55,7 +55,7 @@ http_url_shorteners = [ http_checks = https_enforcings + http_url_shorteners + [ (re.compile(r'.*github\.com/[^/]+/[^/]+\.git'), "Appending .git is not necessary"), - (re.compile(r'(.*/blob/master/|.*raw\.github.com/[^/]*/[^/]*/master/)'), + (re.compile(r'(.*/blob/master/|.*raw\.github.com/[^/]*/[^/]*/master/|.*/raw/master/)'), "Use /HEAD/ instead of /master/ to point at a file in the default branch"), ] -- 2.30.2