mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Move github .git lint warning to http_warnings
This commit is contained in:
parent
9061f71dc4
commit
7018e32b2c
@ -44,6 +44,8 @@ https_enforcings = [
|
|||||||
http_warnings = https_enforcings + [
|
http_warnings = https_enforcings + [
|
||||||
(re.compile(r'.*/$'),
|
(re.compile(r'.*/$'),
|
||||||
"HTTP links shouldn't end with a slash"),
|
"HTTP links shouldn't end with a slash"),
|
||||||
|
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
||||||
|
"Appending .git is not necessary"),
|
||||||
# TODO enable in August 2015, when Google Code goes read-only
|
# TODO enable in August 2015, when Google Code goes read-only
|
||||||
# (re.compile(r'.*://code\.google\.com/.*'),
|
# (re.compile(r'.*://code\.google\.com/.*'),
|
||||||
# "code.google.com will be soon switching down, perhaps the project moved to github.com?"),
|
# "code.google.com will be soon switching down, perhaps the project moved to github.com?"),
|
||||||
@ -90,16 +92,6 @@ regex_warnings = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
regex_pedantic = {
|
regex_pedantic = {
|
||||||
'Web Site': [
|
|
||||||
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
|
||||||
"Appending .git is not necessary"),
|
|
||||||
],
|
|
||||||
'Source Code': [
|
|
||||||
(re.compile(r'.*github\.com/[^/]+/[^/]+\.git'),
|
|
||||||
"Appending .git is not necessary"),
|
|
||||||
],
|
|
||||||
'Repo': [
|
|
||||||
],
|
|
||||||
'Issue Tracker': [
|
'Issue Tracker': [
|
||||||
(re.compile(r'.*github\.com/[^/]+/[^/]+/issues/.*'),
|
(re.compile(r'.*github\.com/[^/]+/[^/]+/issues/.*'),
|
||||||
"/issues is often enough on its own"),
|
"/issues is often enough on its own"),
|
||||||
|
Loading…
Reference in New Issue
Block a user