mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Merge branch 'changelog' of https://gitlab.com/krt/fdroidserver
This commit is contained in:
commit
4b59f913f1
6 changed files with 39 additions and 2 deletions
|
|
@ -74,6 +74,14 @@ regex_warnings = {
|
|||
# (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"),
|
||||
|
|
@ -117,6 +125,10 @@ regex_pedantic = {
|
|||
(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'.*[a-z0-9][.!?][ $]'),
|
||||
"Punctuation should be avoided"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue