[igt-dev] [RFC i-g-t 1/1] MAINTAINERS: Introduce MAINTAINERS file

Jani Nikula jani.nikula at linux.intel.com
Wed Mar 2 12:56:41 UTC 2022


On Wed, 02 Mar 2022, Petri Latvala <petri.latvala at intel.com> wrote:
> On Mon, Feb 07, 2022 at 02:31:03PM +0200, Jani Nikula wrote:
>> FWIW, if I were to do this, I'd do it in yaml and implement it in
>> python+strictyaml with a schema. No need to import a monster perl parser
>> from kernel or implement our own.
>
> I really like this suggestion. The perl script from kernel is
> completely overkill for IGT purposes where it would be mostly (or
> 100%) used to collect Cc fields to patches for people volunteering for
> doing review.

Last week I hacked a bit on what my suggestion would look like, but
decided I really don't have time for this. Anyway, attached is what I
put together in less than an hour in case anyone wants to pick it up
from here.

You'll need strictyaml and whatthepatch from pip. The latter could
perhaps be replaced with something better but it fit the bill now and it
took only minutes to start using. Using strictyaml with a schema is a
really powerful tool here.

Put the attachments in igt root (they're not even patches, sorry), and
try:

$ ./maintainers.py some-igt.patch

The MAINTAINERS used here is just a conversion from some earlier patch,
don't put too much weight on the content, rather the format.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MAINTAINERS
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20220302/d987a5eb/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maintainers.py
Type: text/x-python
Size: 1300 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20220302/d987a5eb/attachment.py>


More information about the igt-dev mailing list