Skip to contentSkip to conversation

MAINTAINERS: Improve the NetBSD regex pattern

PATCH In review Thomas Huth 2 participants 2 messages Jul 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: Improve the NetBSD regex pattern

Currently get_maintainers.pl claims that the configure script is maintained by Kamil:

 $ scripts/get_maintainer.pl -f configure
 Kamil Rytarowski <[email protected]> (maintainer:NETBSD)
 [email protected] (open list:All patches CC here)

This happens because the regex pattern for the NETBSD entry triggers on everything that contains the keyword "NetBSD". Ease the situation a little bit by restricting this to "Subject:" lines only, like we do it in the "trivial patches" section already.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index ce2341a..ccee28b 100644
@@ -353,7 +353,7 @@ NETBSD
 L: [email protected]
 M: Kamil Rytarowski <[email protected]>
 S: Maintained
-K: (?i)NetBSD
+K: ^Subject:.*(?i)NetBSD
 
 W32, W64
 L: [email protected]
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Thomas Huth

Currently get_maintainers.pl claims that the configure script is maintained by Kamil:

 $ scripts/get_maintainer.pl -f configure
 Kamil Rytarowski <[email protected]> (maintainer:NETBSD)
 [email protected] (open list:All patches CC here)

This happens because the regex pattern for the NETBSD entry triggers on everything that contains the keyword "NetBSD". Ease the situation a little bit by restricting this to "Subject:" lines only, like we do it in the "trivial patches" section already.

Quoted 5 lines
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org