51c3fef4bc
Do not mark commit messages as NOK if the subject... * has an uppercase letter (except for right after the colon) * contains a dot or underscore before the colon
16 lines
623 B
JSON
16 lines
623 B
JSON
{
|
|
"subject_format": {
|
|
"pass": [
|
|
"^[a-z]+/[a-z-0-9*{}]+: new aport(s|)( \\(!\\d+\\)|)$",
|
|
"^[a-z]+/[a-z-0-9*{}]+: pkgrel bump( \\(!\\d+\\)|)$",
|
|
"^[a-z-0-9*{}]+: new device \\([^\\)]+\\)( \\(!\\d+\\)|)",
|
|
"^[a-z]+/[a-z-0-9*{}]+: upgrade to [0-9\\.a-z\\-_]+( \\(!\\d+\\)|)$",
|
|
"^[a-z]+/[a-z-0-9*{}]+: removed( \\(!\\d+\\)|)$",
|
|
"^[a-z]+/[a-z-0-9*{}]+: removed, upstreamed( \\(!\\d+\\)|)$"
|
|
],
|
|
"unknown": [
|
|
"^[a-z-0-9_.*{}\\/]+: [a-z\\-0-9*{}\\(\\)\\._ ][A-Za-z\\-0-9*{}\\(\\)\\._ ]+( \\(!\\d+\\)|)$"
|
|
]
|
|
}
|
|
}
|
|
|