From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web11.2520.1588230011159170541 for ; Thu, 30 Apr 2020 00:00:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=wM8gnNMm; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: bob.c.feng@intel.com) IronPort-SDR: ziueiXIYhLqsCOap52Uiw5FwqK0mdG+y1rvsUUIzCGQEodXU4clnOPeDh0wlaB2c7e8Y/IOoup RIzBI4RlwO+A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2020 00:00:09 -0700 IronPort-SDR: tfJMCKFa9FgixlkzonmWbCjOBWHSgW9z6mM4kisIdNkYXD4+iZiQDt/y0opkJJ98UIge1Y3SoM Q1ilLAwE5wXg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,334,1583222400"; d="scan'208";a="247097526" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by orsmga007.jf.intel.com with ESMTP; 30 Apr 2020 00:00:09 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 30 Apr 2020 00:00:09 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 30 Apr 2020 00:00:09 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 30 Apr 2020 00:00:09 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 30 Apr 2020 00:00:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kMeOMyk/hvBHPF981RHG3ZZxsu4m7392p5E8UbRq9wTU7FMMMJw4JHlZc6ooEpLXcO5gAW7QNfyWE3bmxpIsB2OoOqRY1gfe7OrjxoL916FOwGEKnp5AhilxitWcVCLt9OCUh72nFYMXgApO0Ya62lH18F45UaOwYaNCne5C+ml9b7/e4rPJVb0ABvK3pJhng4Y6JtZjs2s1Bi9mT3jSFv6CjIUBQfOpjtL/unlBurLPApdoztxTZaT5/4GPwbmCkMzde/hzWlDNfxusqOBujFGEu0R8T9EBr94h7Oys/q4u8Px+NlYtfuaPmYSir151N82j6Lby2SuSlDEMXqD1DA== 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=S8LsEU2SUJuqWL8iBaXGwDR50d0xbwSvXDU0KLIqTpc=; b=V+vA+aCUqd6oCdlZ1SQToLrB6Q5Bdz8Zslnj2cEAhObR3YtAylxg85y2LzjS/r7qFE03YcShk//nI43X8dpZY5p2kOT/wccJ31VyurNtjKSSdWmM/uhECOHYqVISovOhxaT8btHA2cmmFbOJdYlFxbO5YHa1vuKmrLBaDQYQlyrh1Em55SgOXa6nFXo1A3Ejqw4qTzIs7j4+5Cfp9PmfroyUNFrcFGpCIIG+MTconl0UGxIJc7FZw4bQksso/hFwxCRWdsGEcfZuMKq8HncTtbWMjDBa1oaF3qd7jzg0t5iIAFXBITFgAUErHsQHaAu93vJPAd1Q6EEgLV8KSvO7qg== 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=S8LsEU2SUJuqWL8iBaXGwDR50d0xbwSvXDU0KLIqTpc=; b=wM8gnNMmTBNdilJ+yuWUvW1mRyFsgyTKIuMQKEbD2kRYRkjpkS/f3bqiNjivuhTaDwzYnygY70cuGHAJgRDcJcZKSmEIMVFF6P8ry4CNy4QK8TrgGBltxd/vVRnP2m8TVRngDW7d2n1xgFCGgURZQjgTMtpCUfT9JGSG5odSgT0= Received: from BN6PR11MB0068.namprd11.prod.outlook.com (2603:10b6:405:69::17) by BN6PR11MB1506.namprd11.prod.outlook.com (2603:10b6:405:a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.19; Thu, 30 Apr 2020 07:00:05 +0000 Received: from BN6PR11MB0068.namprd11.prod.outlook.com ([fe80::2d53:d47c:1269:d601]) by BN6PR11MB0068.namprd11.prod.outlook.com ([fe80::2d53:d47c:1269:d601%6]) with mapi id 15.20.2937.028; Thu, 30 Apr 2020 07:00:04 +0000 From: "Bob Feng" To: Leif Lindholm , "devel@edk2.groups.io" CC: "Gao, Liming" Subject: Re: [PATCH 1/3] BaseTools: add handling for 'S:' flag to GetMaintainer.py Thread-Topic: [PATCH 1/3] BaseTools: add handling for 'S:' flag to GetMaintainer.py Thread-Index: AQHWHkRkY6QxD2GVoUyRkJmQbYiDRqiRPTRw Date: Thu, 30 Apr 2020 07:00:03 +0000 Message-ID: References: <20200429163616.5951-1-leif@nuviainc.com> <20200429163616.5951-2-leif@nuviainc.com> In-Reply-To: <20200429163616.5951-2-leif@nuviainc.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nuviainc.com; dkim=none (message not signed) header.d=none;nuviainc.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8b4cb30c-044d-4d03-9d39-08d7ecd41c53 x-ms-traffictypediagnostic: BN6PR11MB1506: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:628; x-forefront-prvs: 0389EDA07F x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G67I9RCtUHUtv+SINETXpWL04IX42ZMDj6BOQwfN9vP/SScbi0AR1NFzl93Pv9BEV8TZBLM3lLZpfAUz2VNEaAvaZzLXDJQjEa+8emAPf11z6qHVxcBnBdqqGdHsGzZuSRjxbx+VESVzWEwf+NxPOi4nGNbxR0hbp4ZLzjXOyLJf4loNRes0tu8M3V8ZMq1qcxjZHoDeIt36ua85yxOexnsj4JB5TlPJhxzMzpCoCfcUlvHp6qYNRpQbAJ8IZy+Jnx2xsSm5uXAsxQuDDi52RMnOztMMqzzr+LWz4R5cpQnW6/BbIuTqOIAJZHc6+2iOSr5omGe08JJSD/vEec0EddlVNwd2eluQa0aasvJMNg/5tsa69P7UbAvmr4SZ5d5h7RDeqMiTa7qNXpRZQ6J89vSpTMlPzULTk0Ji66/epiOJCOzfUOAXpQCx5V6dU++E x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN6PR11MB0068.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(346002)(376002)(39860400002)(396003)(366004)(136003)(52536014)(2906002)(7696005)(55016002)(186003)(9686003)(86362001)(6506007)(53546011)(26005)(4326008)(5660300002)(107886003)(316002)(71200400001)(33656002)(76116006)(110136005)(478600001)(66446008)(8676002)(66556008)(66946007)(64756008)(8936002)(66476007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: omyohfUQF/pBiKO71jvRTDk/mycoLKP8TWIpV8jLDK4hIj62NLYHNKfd1NJtPjy6sS+YYWGHIHVYHXfwh3fW61WN9tHbErhOz3LBGmoFA9lsBICAoVkXrvJUxBCqY/k7Ft6K+pwASFHFNqsdlIdNZLnLOUxjWE2zs6QTUhKwJgrn+Ci3pFNe3K5tCTRYZ0pVGxTuKMt+dLOMxljauJVcIn/KMkJw1ufF4I/2W6gzOzrdjEFY/UrFPLLwb8hX4e17yvWjukjSncSOuev/ed3MtWjhEnsPXTsJG+ySJTKqsdQ3H5YrnxcXx92rwEoTJRW65Tf0+G/9d1EDAihxG+AZsLUnLUyzHbfwqU5U5lzVhG3/3X82tYb1/oNhKagzn7Qy0bCENFDerwQ92yS6mG/yzsCWCnmwZ2nepflHfgNmuA8RGwWvhFqc0/8fiq2y5MknMyScYD1P/7eZR5emnVdp2e+67+U62DV07ClkaLX3iv8GJErulldklfG3nvKzJHt/ATaaeAtr+R157f+DKKCP6ewBg5SggatU9RCmcAx/Z4hO5TQUdZDnnkW+WzIMdhxYoPS2Lrm7pgvgJDcJ4dbXsm6tU3wutLnR6hKSyTStQjB3ZLLm0X8EqvhA/HCR/K1DaIBnxOTFJSyhklq+lUD0t4aksM6SyqqX2I0VTAWEehY7YjSK2ZTCVBBPv398MH7BoLluOMAQvm8xCcvQotxFty8MkuO7LrcDCG7BobxhoADKs5/mXlnLTdQc1PjSp642WCkxLTG6BfYV9rFowjThEoW48+OkBL9zsVeRkgGFLu4= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 8b4cb30c-044d-4d03-9d39-08d7ecd41c53 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2020 07:00:03.9083 (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: yPs4pdzSeoFcDOEKz1mRssi2LrIz6kqIz4kDJejBRXWXLTyTba5vS8N596A6GVTb65Cr9edN2UGtivfcJftcGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1506 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: Leif Lindholm =20 Sent: Thursday, April 30, 2020 12:36 AM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming Subject: [PATCH 1/3] BaseTools: add handling for 'S:' flag to GetMaintainer= .py GetMaintainer.py already extracts the value of any S: tags for sections, bu= t it doesn't do anything with that information. Print a warning message, with the status, for each matching section with a = status explicitly set to anything other than 'Supported' or 'Maintained'. Cc: Bob Feng Cc: Liming Gao Signed-off-by: Leif Lindholm --- BaseTools/Scripts/GetMaintainer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BaseTools/Scripts/GetMaintainer.py b/BaseTools/Scripts/GetMain= tainer.py index fbc63522db77..2ec550e86d36 100644 --- a/BaseTools/Scripts/GetMaintainer.py +++ b/BaseTools/Scripts/GetMaintainer.py @@ -77,8 +77,12 @@ def get_section_maintainers(path, section): matching the provided path in the provided section.""" maintainers =3D [] lists =3D [] + nowarn_status =3D ['Supported', 'Maintained'] =20 if path_in_section(path, section): + for status in section['status']: + if status not in nowarn_status: + print('WARNING: Maintained status for "%s" is \'%s\'!'=20 + % (path, status)) for address in section['maintainer'], section['reviewer']: # Convert to list if necessary if isinstance(address, list): -- 2.20.1