chiark / gitweb /
lint: Also warn about gitlab links missing /issues
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 7 Mar 2016 22:29:45 +0000 (22:29 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 7 Mar 2016 22:30:52 +0000 (22:30 +0000)
fdroidserver/lint.py

index 94cb81fc5fd4575f7ccd5871e4ca5eae3aafd896..4aa9dcbccc9ace00119e462da3d6ff66d6e81b2b 100644 (file)
@@ -66,7 +66,9 @@ regex_checks = {
     'Source Code': http_checks,
     'Repo': https_enforcings,
     'Issue Tracker': http_checks + [
-        (re.compile(r'.*github\.com/[^/]+/[^/]+[/]*$'),
+        (re.compile(r'.*github\.com/[^/]+/[^/]+/*$'),
+         "/issues is missing"),
+        (re.compile(r'.*gitlab\.com/[^/]+/[^/]+/*$'),
          "/issues is missing"),
     ],
     'Donate': http_checks + [