Searched hist:"28481 ff35588fe9c5168776779e92464050be785" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/scripts/ |
| H A D | get_maintainer.py | 28481ff35588fe9c5168776779e92464050be785 Fri Aug 09 08:46:02 UTC 2019 Jerome Forissier <jerome.forissier@linaro.org> Add scripts/get_maintainer.py
Adds a script to help identify all the maintainer/reviewers for some path in the source tree, or for some patch or Github pull request. When processing a patch or a pull request the script can take into account the Acked-by: and Reviewed-by: tags, so that it can easily tell if a change is ready to be merged or still needs reviewing (and by whom). Information comes from the MAINTAINERS file.
The script is similar to the Linux kernel's get_maintainer.pl, although its use cases are a bit different.
Examples:
1. Who maintains the i.MX platform? Do not show the top-level maintainers (subsystem "THE REST"), unless there is no specific maintainer.
$ ./scripts/get_maintainer.py --strict core/arch/arm/plat-imx Peng Fan <peng.fan@nxp.com> [@MrVan] (reviewer:NXP (Freescale) i.MX family) $
2. Who maintains the i.MX configuration file?
$ ./scripts/get_maintainer.py --strict core/arch/arm/plat-imx/conf.mk Peng Fan <peng.fan@nxp.com> [@MrVan] (reviewer:NXP (Freescale) i.MX family) Peng Fan <peng.fan@nxp.com> [@MrVan] (reviewer:NXP (Freescale) i.MX7 WaRP7) Bryan O'Donoghue <bryan.odonoghue@linaro.org> [@bryanodonoghue] (reviewer:NXP (Freescale) i.MX7 WaRP7) $
3. Is PR 3169 ready for merging?
$ ./scripts/get_maintainer.py --merge-check --github-pr 3169 Downloading https://github.com/OP-TEE/optee_os/pull/3169.patch... Done. $
4. Is PR 3169 lacking some reviews from subsystem maintainers? In other words, is it still properly approved for merging if we ignore the tags given by members of subsystem "THE REST" whenever there is another subsystem maintainer?
$ ./scripts/get_maintainer.py --merge-check --strict --github-pr 3169 Peng Fan <peng.fan@nxp.com> [@MrVan] (reviewer:NXP (Freescale) i.MX family) Peng Fan <peng.fan@nxp.com> [@MrVan] (reviewer:NXP (Freescale) i.MX7 WaRP7) Bryan O'Donoghue <bryan.odonoghue@linaro.org> [@bryanodonoghue] (reviewer:NXP (Freescale) i.MX7 WaRP7) $
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
|