From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=axBr7ZgK; spf=pass (domain: linaro.org, ip: 209.85.221.68, mailfrom: leif.lindholm@linaro.org) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by groups.io with SMTP; Fri, 14 Jun 2019 13:21:25 -0700 Received: by mail-wr1-f68.google.com with SMTP id p11so3792809wre.7 for ; Fri, 14 Jun 2019 13:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/ilBIPt6ZQRfPpj+lufletk3UCR/FO5O/aW/y0diUbw=; b=axBr7ZgKwVAqJaHOP5K47KGizjy8upMUE9rpCwgMJSBoMuNbPYR/meIvMSwxeCYLGX 9W8hVAmKOKRzRDNoBForhTp2HEz0fA0knsZa8LQkuZHH7MlVTpc/Q8SP4zyDVWkeQNtd SUPp/gBStkCwznGhWPdb0Y8xQTb4f5nFo0QWMfjEYKL3c+vXxUfksf47OJCREAl/WJqY kdyHJEG3oUtjtClWsBnYmotkcPlVtj77znrSM8CcWHybBOJi/22DQiRyUkyj/smiFudx CwGVfcqAYzQCnSvDfWKWNZQDJ50tnoZw9KnU/lvHmpmKauJOrHpxpBCeZLRcYsQqOfRX zlKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/ilBIPt6ZQRfPpj+lufletk3UCR/FO5O/aW/y0diUbw=; b=GhmF69tkeYg+Aov7FRywdf7lr5K9BafZTomv+0Y8fvQr5EnvopJC0gEyVtiFzNKvXc dKJPXFcv57tI3wjiUtAzSBx4ASoGuKvzqqH0ZZP5FXlNzyDOC4HxQyL4Db1q+uH/PW1v UooyrQtp6nwqD01/AQUDotBxj8oclEr+3SEnoTqG9BXDd51HfjFi6CAgSvyojuqyZ+ur KpAJrwMkusnY5dRgfJZ5NMje3cLhnwJGP5N/HkaI5GtK3adk0JphlKfzPEfrNaGirQLc bSx0Ju6jIIusXSnTV5mhLfQaleQQx/k2dfzBEuOmnPbkgpxGnMZhGMswimTVNzzM68S9 90+w== X-Gm-Message-State: APjAAAXQBs3BTF72C4qzVQ0zRIKRyPLjIHG2QsXmT5SbLVpzHWHMEH25 4afFTtZlE/FRxxwGVAc5TFNG6uJ+npq/Bg== X-Google-Smtp-Source: APXvYqwJP+1ORcqupSnoeuqOJnWSgeFsnUbjilrtLD+6Uwikco6mX1Uwznr/hXbNg4Gx+q0NWEbOsQ== X-Received: by 2002:adf:d081:: with SMTP id y1mr20917475wrh.34.1560543683430; Fri, 14 Jun 2019 13:21:23 -0700 (PDT) Return-Path: Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id h1sm2565125wrt.20.2019.06.14.13.21.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jun 2019 13:21:22 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: "Feng, Bob C" , Liming Gao , Andrew Fish , Laszlo Ersek , Michael D Kinney , "Wu, Hao A" Subject: [RFC PATCH 0/3] add GetMaintainer.py helper script Date: Fri, 14 Jun 2019 21:21:18 +0100 Message-Id: <20190614202121.18952-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 Changes are available directly from: https://git.linaro.org/people/leif.lindholm/edk2.git/log/?h=upstreaming/git-maintainer-rfc This series adds new tags to the Maintainers.txt format, making it possible to describe which filesystem paths are looked after by which people, and hence automating the extraction of a list over who should be cc:d on a patch submission. Remaining shorcomings in RFC: - Will still be misparsing OvmfPkg and MdeModulePkg due to non-tag lines interspersed with the tag lines. These lines will be removed as areas of responsibility is formally rewritten as tags. - * Wildcard support is not fully filesystem compliant except in first or last position in the path (it translates as regex .* elsewhere). However, actual cases of mismatch are expected to be unlikely, and they will be false positives rather than false negatives - so I think this is good enough at least for a start. - Provides no information of why certain people or meiling lists were picked - it just bundles all recipients up, deduplicates them, and prints them out. Using the script requires the gitpython module to be installed. Changelog: rfc: - Split patches up - one for new Maintainers.txt format (documentation and F: tags). - one for adding a new wilcards responsibility area for */Arm, */AArch64 - one for the GetMaintainer.py script - Reworked wildcard handling based on Laszlo's explanation - Trailing / covers everything under that directory - Trailing * does not cover subdirectories - Added support for X: tag - Added support for magic '' pathname - Also prints mailing list addresses for matching L: tags Leif Lindholm (3): Maintainers.txt: update for filesystem area descriptions Maintainers.txt: add wildcard path association for Arm/AArch64 BaseTools: add GetMaintainer.py script BaseTools/Scripts/GetMaintainer.py | 181 +++++++++++++++++++++++++++++++++++++ Maintainers.txt | 58 ++++++++++++ 2 files changed, 239 insertions(+) create mode 100644 BaseTools/Scripts/GetMaintainer.py -- 2.11.0