From nobody Mon Feb 9 19:30:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+58317+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58317+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588178181; cv=none; d=zohomail.com; s=zohoarc; b=NJ49NvgTWM3b1MmQXYptuu9kL1PrrEOoSaTaMQOxcENSyidJHV036j1uQB2ZQ7DIAyeGU3wqsZh3YZ/9+qk0zFMOLVnj5o/dxmhj3Zx0yrKOGHFu3nAAPBFx5pmCscgaMZXBJ5xqn+9vJHW3DJ4ESRgfGYmiXymxc+RDXcqsbSw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588178181; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=ckFIVdNFlS+LiP0XQzdsVI2XQKMi2D8vd0prSt5o+Yk=; b=kWSWHAYzJyRCCAUj/bWNoU0L2WCFkUZkgBkZ3CZgasua5Ouu3DJQKLTULy9NuuMNpHQf2GG3ZsZssmOUJRH+7NQDLw/vEYB4y8kt5jRFibzaenkkVd01ACJlgzEkxLdH4C4USQthdN3zyKJ2ZpWRO6qvuR5Zu9qGy2y+7QUWXaU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58317+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588178181592552.4952510119439; Wed, 29 Apr 2020 09:36:21 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id H6MZYY1788612xpg9Lb8iP1I; Wed, 29 Apr 2020 09:36:21 -0700 X-Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.web12.5280.1588178180488613141 for ; Wed, 29 Apr 2020 09:36:20 -0700 X-Received: by mail-wr1-f51.google.com with SMTP id k1so3341488wrx.4 for ; Wed, 29 Apr 2020 09:36:20 -0700 (PDT) X-Gm-Message-State: EBmQPrsuDMenNIUtFUXHIWGJx1787277AA= X-Google-Smtp-Source: APiQypL6GOV0Y7y/54K/9WCx+h+lacinTNeAQrurnRE0iYTcW/6GCQDl9A0tOt2tcyP5GglWlytRbg== X-Received: by 2002:a5d:420d:: with SMTP id n13mr43854815wrq.204.1588178178724; Wed, 29 Apr 2020 09:36:18 -0700 (PDT) X-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 b12sm32690033wro.18.2020.04.29.09.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 09:36:18 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao Subject: [edk2-devel] [PATCH 1/3] BaseTools: add handling for 'S:' flag to GetMaintainer.py Date: Wed, 29 Apr 2020 17:36:14 +0100 Message-Id: <20200429163616.5951-2-leif@nuviainc.com> In-Reply-To: <20200429163616.5951-1-leif@nuviainc.com> References: <20200429163616.5951-1-leif@nuviainc.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: <27952.devel.edk2.groups.io> Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,leif@nuviainc.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588178181; bh=a6n6K2N/gvVA7VNHIIQeAGWe1dTe9LxKBhtVnGqZiRY=; h=Cc:Date:From:Reply-To:Subject:To; b=JuFZgPLWMKwu93B0yTOQlrqUBCpAnyh4OXyo2hUKlz/DfSugWOAUx3QamDT8URt7zvQ 7p7k+i6BtWEzkEDsqARpG9GZQAZnT0LR9f1mrZNtmww1EkhBuoWrYxzGKt3Y6lz2G1XLe rP6YtXSsEipf5jemTx+SHGl+T9VtKjfYmIk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" GetMaintainer.py already extracts the value of any S: tags for sections, but 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 Reviewed-by: Bob Feng --- 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\'!' % (= path, status)) for address in section['maintainer'], section['reviewer']: # Convert to list if necessary if isinstance(address, list): --=20 2.20.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58317): https://edk2.groups.io/g/devel/message/58317 Mute This Topic: https://groups.io/mt/73356718/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-