Skip to contentSkip to conversation

get_maintainer.pl: add .get_maintainer.conf

PATCH In review Michael Walle 2 participants 2 messages Oct 31, 2021 – Nov 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 get_maintainer.pl: add .get_maintainer.conf

Since commit e57c7c5c4282 ("get_maintainer.pl: update from Linux kernel v5.13-rc6") only the top level MAINTAINERS file is used. This is because this commit (accidentally) disabled the search of MAINTAINERS files (find_maintainer_files is set to 0 again). Before that, commit b79372ae94fb ("scripts/get_maintainer.pl: enable find_maintainer_files") explicitly enabled that feature. Nowadays, we also have to set maintainer_path to a directory.

To fix it and enable recursive search of MAINTAINERS, create a configuration file to set these two variables.

---
 .get_maintainer.conf | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 .get_maintainer.conf
.get_maintainer.conf new file +1 -0
new file mode 100644
index 0000000000..df595f5420
@@ -0,0 +1 @@
+--find-maintainer-files --maintainer-path=.
Signature · 1 line
2.30.2
#1 lore raw
Quoted 8 lines · Michael Walle

Since commit e57c7c5c4282 ("get_maintainer.pl: update from Linux kernel v5.13-rc6") only the top level MAINTAINERS file is used. This is because this commit (accidentally) disabled the search of MAINTAINERS files (find_maintainer_files is set to 0 again). Before that, commit b79372ae94fb ("scripts/get_maintainer.pl: enable find_maintainer_files") explicitly enabled that feature. Nowadays, we also have to set maintainer_path to a directory.

Quoted 4 lines

To fix it and enable recursive search of MAINTAINERS, create a configuration file to set these two variables.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom