"github URLs should always use https:// not http://"),
(re.compile(r'.*[^sS]://gitorious\.org/.*'),
"gitorious URLs should always use https:// not http://"),
+ # 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 it moved to github.com?"),
],
+ 'Changelog': [
+ (re.compile(r'.*[^sS]://code\.google\.com/.*'),
+ "code.google.com URLs should always use https:// not http://"),
+ (re.compile(r'.*[^sS]://github\.com/.*'),
+ "github URLs should always use https:// not http://"),
+ (re.compile(r'.*[^sS]://gitorious\.org/.*'),
+ "gitorious URLs should always use https:// not http://"),
+ ],
'License': [
(re.compile(r'^(|None|Unknown)$'),
"No license specified"),
(re.compile(r'.*github\.com/[^/]+/[^/]+/issues/.*'),
"/issues is often enough on its own"),
],
+ 'Changelog': [
+ (re.compile(r'.*commit.*', re.IGNORECASE),
+ "Not every commit log is suitable as change log"),
+ ],
'Summary': [
- (re.compile(r'.*\b(free software|open source)\b.*', re.IGNORECASE),
- "No need to specify that the app is Free Software"),
- (re.compile(r'.*[a-z0-9][.,!?][ $]'),
+ (re.compile(r'.*[a-z0-9][.!?][ $]'),
"Punctuation should be avoided"),
],
}