From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web09.5255.1625793961146078976 for ; Thu, 08 Jul 2021 18:26:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=QwNP34W/; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: bob.c.feng@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10039"; a="273464172" X-IronPort-AV: E=Sophos;i="5.84,225,1620716400"; d="scan'208";a="273464172" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2021 18:25:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,225,1620716400"; d="scan'208";a="564771432" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga001.fm.intel.com with ESMTP; 08 Jul 2021 18:25:57 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 8 Jul 2021 18:25:56 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 8 Jul 2021 18:25:56 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 8 Jul 2021 18:25:56 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.45) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Thu, 8 Jul 2021 18:25:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H39yzCCJ/EX7RNsuVYMlddm6Hs+BS0s9XqElDL8pwjWKCgsHIsnEqbGSrh8g+7RKNQ2k99Ws969w0rmOoqMVh9i7NhHd+O4KUzf+zpKPWqYbQEPALPMty5nbnUYmXVRH4HZRuR01GuUvtq68MhkXXAiSgP0lKPMJacoNdlDjZPMxmKHl8t9dpB+3VA6aqEaZ7T+9fsPtCsH3gmNiezJYqvPo1i6hEJpeTCCWY6rueYXfIkkuhf0GpG7FhZshH2qBGsv9rUZFZ0o4+03nlQhAdAabOCby5UP9W5JFxlV/ECBjRBlZRRtxO9wX9l7uq0SH3BMMqqRXz1l2M01wNk2JRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=scyhF+4FWDQg2zEdZkiz5Heghblqk35y4u9z3Cgh9wY=; b=kSJTYl1Fj7lJIRyX6KS6LCmdel6Y/pWiSb4J+Ni6u2MeAVavpjPRMFx5dzo/VODH8THUuuEqK59nI/mSZDNp+GYpSRqRev3MKkDXn8W9y6Umm4w/KDStY+LdNgPx1uu76fJbbvsP1oHYhp1Mn0K6NOi+/Yi5zG38E6XzUhR13++ltvgliReXgmNjXnHuBozIUQcS9N4nnY/TpXWjid6JCvkv8k9jCY8j9SoLAshqHdjdxjZ5VRzR/V3e/WY4pUTui86qlaxmp+1qdyUEIYfbZSu6UkN1nUjlNpKS0IFamCf74iXCK6SvHRgFoJb+VheMQv+ArWZbvin4jCuasiULvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=scyhF+4FWDQg2zEdZkiz5Heghblqk35y4u9z3Cgh9wY=; b=QwNP34W/BY3vTaX/jBUbTqxwFQtEjebtref0kT1cliMeICTVmsmfd+n1QNMbF5naKA0y/b+SVnEN/8JOmn04aw+N106EcmxSzqwjJLqYqOt8pHoD1hfUpVFpZceF6Nwb1WOJ0rUTESFNaec2LJE6zKs0yfUXKJrDreCSpDuGn9c= Received: from DM6PR11MB4073.namprd11.prod.outlook.com (2603:10b6:5:19f::22) by DM6PR11MB4329.namprd11.prod.outlook.com (2603:10b6:5:201::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.19; Fri, 9 Jul 2021 01:25:55 +0000 Received: from DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::b9b5:523d:7195:4f6c]) by DM6PR11MB4073.namprd11.prod.outlook.com ([fe80::b9b5:523d:7195:4f6c%3]) with mapi id 15.20.4287.034; Fri, 9 Jul 2021 01:25:55 +0000 From: "Bob Feng" To: "Kinney, Michael D" , "devel@edk2.groups.io" CC: Liming Gao , "Chen, Christine" Subject: Re: [Patch V2 2/3] BaseTools/Scripts: Allow GitHub ID at end Maintainers.txt lines Thread-Topic: [Patch V2 2/3] BaseTools/Scripts: Allow GitHub ID at end Maintainers.txt lines Thread-Index: AQHXdDKXLk+xcqSj2EKIGP0z4kkmaqs52i0g Date: Fri, 9 Jul 2021 01:25:54 +0000 Message-ID: References: <20210708195047.1649-1-michael.d.kinney@intel.com> <20210708195047.1649-3-michael.d.kinney@intel.com> In-Reply-To: <20210708195047.1649-3-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 60380e07-56ee-4ec9-ef8a-08d942787f80 x-ms-traffictypediagnostic: DM6PR11MB4329: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:466; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /9YathjCvPsinrRrNhbUyXJx6WnyHxF7SXRSGQ4va2BohzDgAXEal0JNDHdgt4Inmm/z95rYcWZNdPqbR36bBiFVjmjH1l9zf2XxSiTph634EeDeLLTw/a62TsMYgWfkGR617jHWzsKce1d1dpHCRrVS/ouiiitE79ghZRAOCogpJINz4wn/D21ckzvD256c4NHeDlatK9bbApsPj9m9UbCbcWqPJqGOa8SUjSIg4e84PLXiFw1arEvAR1oo0QsRRYUwUY/Bl3d0j2oe6lmCgspYQx93sXHR9/lPs+6qhGYTn8tsUKe/7WxU8GgQA6wDwh5hJ66ZqyDOAG+cCJzW1/9VQQCwYmYP1wXjdY+dL7WRDbalJwgL2v+skpNk4UW2f882O2yMR3Khc1HxLettTAOPsB6tCXJY8QXzOOtHdbFgADiMiu//TZUtMa1YTEgLe2iz+6ZpMiZcgT3LBaubsXC47OuJvTgqO3HbBwvfybVhoBddleyrKXpBED8ENAj4tCHKVJqg8o9hN3uaaWxxKfxCW9J0/RDBn5k97OKSNx5FeXWHxIBUbcnvnxwh/oCkULRrgXaldzIRAjhQDOHOmfp7Kytlhz0h2HWaordgjZaJRWtxlzPi0HXDUq1yh1yJRC1hiUFNuivvML02SNPKWg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4073.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(396003)(39860400002)(376002)(346002)(366004)(136003)(71200400001)(53546011)(8676002)(26005)(4326008)(83380400001)(478600001)(33656002)(76116006)(316002)(52536014)(7696005)(54906003)(107886003)(122000001)(5660300002)(6506007)(38100700002)(8936002)(86362001)(110136005)(186003)(2906002)(66476007)(66946007)(55016002)(9686003)(66556008)(64756008)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?BKoXNARzYNky1eKjhrCblfDY04L+VSmnOjY1O+f1+d/ppByZHCD9JS7PDNUh?= =?us-ascii?Q?z88jhC9CsA1295WkX29NUbL7O22Ty92tskv9IFTfiL/AER42baNQfpEnBO7P?= =?us-ascii?Q?/M/0y34iHJq7Ad2UVd+eI+FrlkAotE5PIwNbjG0OCatsdKMipbCwo9tCn0zl?= =?us-ascii?Q?tyIYe6Mlbb6xkEfSdQsQRGk5NCo5OVDub+sJpSWQskKtahfxa490HtXzWADB?= =?us-ascii?Q?Fqhh7T5/PdBYIzPq0aroOCdGXH6C2EhVum4ZeyVV08bPVXWSwa0jMfOWtpNs?= =?us-ascii?Q?lWmEEIYu8tbbIlR0Apb4vuVsYkFozDR7jDfMoX5F8LfSVOz9E8PKYpOOnvXG?= =?us-ascii?Q?CmO5s7CQncLWnJ9UpZpIhUk4tr33xLbqX5omQiLIdb/VGY72MSkrVGqidd7g?= =?us-ascii?Q?slAUc66GEliq22eHngoV7YTFVBkaWQeirvlVpIT7l3mQ8L4mln0fRdXDRGpx?= =?us-ascii?Q?BNWf5HQqKATrCiHfep76biLk69963gzojksAU3dYFEgKNPBCg+AS2FlBTw5Q?= =?us-ascii?Q?tFT7vBi0dvTG4EYkpDZqnuPn4UbzZiiYa71QmutRI3JdTVyRVfe34f7orLZu?= =?us-ascii?Q?zCjeHS0UAPfDSyI2Fp1GC+bNpqLWOateC+V19ii4RIFbdwgTDVOgQAMwOm/Y?= =?us-ascii?Q?Ca3DDYDYu70l1szTw+6rnJBSPAV9TRpL0w77Uwq4jcJ+WAAMvPvkkHLsJFpl?= =?us-ascii?Q?8Pfi890Yk9hh57MwkpGIQrIuMWcDYdsdOTDRYuNzj+vD+kCUqpnBsj00QtrA?= =?us-ascii?Q?TEZyqi3YonEnklz9YrrsVuD1y6FPEaowRpqamLRJpEMkuJK8fvm1PZIVrCeI?= =?us-ascii?Q?TsyY4VQZAI8qiFn0Z6rUC0zB3XMe8INnYHQeK6A/LQpAV3aeEK5pFj3xIzfi?= =?us-ascii?Q?d+EuR7Kt6MMAkSS6rHr4a/jrqoJ15XpREf9PiY1FVhdRDonarxBlqaAwWna5?= =?us-ascii?Q?l+F122oL1VgHNFDPFKPjPE66odj2aLzGU4zG3GolriF0QnURIJz9/mLQiieq?= =?us-ascii?Q?fI/8XZ9yejF20r4L+vIH75+uwaMf84WCTs0HywnE3OTl4+bszDVCGYMQnPEb?= =?us-ascii?Q?h/YUfSQkqbkBWGEGWnTtoQK4s8Y5qfrQRlhxhmMUC04HbbEMuMdL+7DXxW5t?= =?us-ascii?Q?EqpSD1ZgVuOm8c7ztk/o5MkUNr7o3ow/3SJiG13PxWx8g6VD+C7/mDr3JPr8?= =?us-ascii?Q?4XDBFOm6IbHP/KbA0Lyba5C5BqqXzDW/vzFzZFHDTed6HAF0SvoPH7cvQ2ys?= =?us-ascii?Q?u+NqtSo+j8+JloFwSQ6g4H6jTZ/DF/JjCAdLD6dmTNhazJNIR391H9kwH5lD?= =?us-ascii?Q?5WY=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4073.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60380e07-56ee-4ec9-ef8a-08d942787f80 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2021 01:25:54.7393 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jhPOEIQqOJU5oLkrC7wTWmgHkiZUbU+tdihfl7N2XYSBv0eo/pFA6mpFrINxLeKivK/id6NrRsML/c2XkfzZ8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4329 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng -----Original Message----- From: Kinney, Michael D =20 Sent: Friday, July 9, 2021 3:51 AM To: devel@edk2.groups.io Cc: Feng, Bob C ; Liming Gao ; Chen, Christine Subject: [Patch V2 2/3] BaseTools/Scripts: Allow GitHub ID at end Maintaine= rs.txt lines * Update GetMaintainer.py to support an optional GitHub ID at the end of maintainer and reviewer lines. * Remove contents after email address from standard output * Fix minor issue in --lookup to convert file path separators from '\' to '/' to be compatible with regular expression file matching. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Michael D Kinney --- BaseTools/Scripts/GetMaintainer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BaseTools/Scripts/GetMaintainer.py b/BaseTools/Scripts/GetMain= tainer.py index 5ec851554d64..d1e042c0afe4 100644 --- a/BaseTools/Scripts/GetMaintainer.py +++ b/BaseTools/Scripts/GetMaintainer.py @@ -18,7 +18,7 @@ EXPRESSIONS =3D { 'exclude': re.compile(r'^X:\s*(?P.*?)\r*$'), 'file': re.compile(r'^F:\s*(?P.*?)\r*$'), 'list': re.compile(r'^L:\s*(?P.*?)\r*$'), - 'maintainer': re.compile(r'^M:\s*(?P.*<.*?>)\r*$'), + 'maintainer': re.compile(r'^M:\s*(?P.*?)\r*$'), 'reviewer': re.compile(r'^R:\s*(?P.*?)\r*$'), 'status': re.compile(r'^S:\s*(?P.*?)\r*$'), 'tree': re.compile(r'^T:\s*(?P.*?)\r*$'), @@ -178,7 +178,7 @@ if __name__ =3D=3D '__main__': SECTIONS =3D parse_maintainers_file(CONFIG_FILE) =20 if ARGS.lookup: - FILES =3D [ARGS.lookup] + FILES =3D [ARGS.lookup.replace('\\','/')] else: FILES =3D get_modified_files(REPO, ARGS) =20 @@ -191,4 +191,6 @@ if __name__ =3D=3D '__main__': ADDRESSES +=3D addresslist =20 for address in list(OrderedDict.fromkeys(ADDRESSES)): + if '<' in address and '>' in address: + address =3D address.split('>', 1)[0] + '>' print(' %s' % address) --=20 2.32.0.windows.1