http_warnings = [
(re.compile(r'.*/$'),
"HTTP links shouldn't end with a slash"),
+ enforce_https('github.com'),
+ enforce_https('gitorious.org'),
+ enforce_https('apache.org'),
+ enforce_https('google.com'),
+ enforce_https('svn.code.sf.net'),
+ enforce_https('googlecode.com'),
# TODO enable in August 2015, when Google Code goes read-only
# (re.compile(r'.*://code\.google\.com/.*'),
# "code.google.com will be soon switching down, perhaps the project moved to github.com?"),
'Source Code': http_warnings + [
],
'Repo': [
- enforce_https('github.com'),
- enforce_https('gitorious.org'),
- enforce_https('apache.org'),
- enforce_https('google.com'),
- enforce_https('svn.code.sf.net'),
- enforce_https('googlecode.com'),
],
'Issue Tracker': http_warnings + [
(re.compile(r'.*github\.com/[^/]+/[^/]+[/]*$'),