I wrote a small and relatively hacky script that may, or may not be useful, wanted to let the folks know, and get feedback, if any...
https://gerrit.fd.io/r/c/vpp/+/33139 The idea is to get the components data from MAINTAINERS for the changed files, and then use it to generate the list of the reviewers. Of course potentially this could be used to auto-set the component name in the commit message too (provided the MAINTAINERS is accurate). I wrote it in perl to avoid any dependencies, because I assume most linux installations will have perl installed by default (which may or may not be true). without arguments, it uses the commit from the HEAD, if you supply a hash it will use that to grab that commit. This is what it looks like: ayourtch@ayourtch-lnx:~/vpp$ ./extras/scripts/vpp-review commit 4b18066a18f0129e2758d6b6f4f0126ac721e48f Author: Andrew Yourtchenko <ayour...@gmail.com> Date: Wed Jul 14 22:44:05 2021 +0200 misc: experimental script to get the list of the reviewers for a commit accepts zero or one argument (the commit hash), and outputs the detected components, the component maintainers, and the final suggested reviewer list Change-Id: Ief671fe837c6201bb11fd05d02af881822b0bb33 Type: improvement Signed-off-by: Andrew Yourtchenko <ayour...@gmail.com> :000000 100755 000000000 b9968161b A extras/scripts/vpp-review Components of files in the commit: misc: extras/scripts/vpp-review Component misc maintainers: vpp-dev Mailing List <vpp-...@fd.io> Final reviewer list: vpp-dev Mailing List <vpp-...@fd.io> ayourtch@ayourtch-lnx:~/vpp$ --a
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19770): https://lists.fd.io/g/vpp-dev/message/19770 Mute This Topic: https://lists.fd.io/mt/84211716/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-