Skip to content

Commit b242f31

Browse files
committed
gitlint: Add URL to the hostap mailing list
Hostap (wpa_supplicant) doesn't use GitHub. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
1 parent 1a9177c commit b242f31

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gitlint/ncs.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ def validate(self, commit):
4646
commit.message.title):
4747
return [RuleViolation(self.id, 'Invalid mergeup commit title')]
4848
elif tag == 'fromlist':
49-
regex = r'^Upstream PR: https://github\.com/.*/pull/\d+'
49+
regex = r'^Upstream PR: (' \
50+
'https://github\.com/.*/pull/\d+|' \
51+
'http://lists.infradead.org/pipermail/hostap/.*\.html' \
52+
')'
53+
5054
matches = re.findall(regex, '\n'.join(commit.message.body), re.MULTILINE)
5155
if len(matches) == 0:
5256
return [RuleViolation(self.id,

0 commit comments

Comments
 (0)