From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.1020.1648830125847770333 for ; Fri, 01 Apr 2022 09:22:06 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=j7u9uXRS; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.202.59.224]) by linux.microsoft.com (Postfix) with ESMTPSA id 82B2820DEED4; Fri, 1 Apr 2022 09:22:04 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 82B2820DEED4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1648830125; bh=9Y0GAhqqhXMgpr9DWJkT4o1lNXUqWjEP5cidmpjOeIY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j7u9uXRSsJ0prDOisP7KxYpUg68n0HCsx+wP+c8nKhnW3n6V0Lkya+RFzm5t4j46d KK5FallAKgYj0cMDLIZVHSlZrT1r6MuNH8de+tvz9RmXf8fUZPOY1520iy2Hh3fB+B 8li/6CBWXBlT1En8yKx/TuAfPqmxiteLwSOv9rmw= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Rebecca Cran , Peter Grehan , Laszlo Ersek Subject: [edk2-platforms][PATCH v2 4/4] OvmfPkg: Do not check VbeShim.h formatting with Uncrustify Date: Fri, 1 Apr 2022 12:21:27 -0400 Message-Id: <20220401162127.2317-5-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220401162127.2317-1-mikuback@linux.microsoft.com> References: <20220401162127.2317-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3875 The following files: OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.h OvmfPkg/QemuVideoDxe/VbeShim.h Are auto generated by the following generators: OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.sh OvmfPkg/QemuVideoDxe/VbeShim.sh Therefore, Uncrustify causes a file update to produce a very large diff due to formatting changes. This change does the following: 1. Reverts the Uncrustify changes applied to the files in commit ac0a286f4d74. 2. Uses a new UncrustifyCheck CI plugin configuration option to exclude the files from future formatting checks. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca Cran Cc: Peter Grehan Cc: Laszlo Ersek Signed-off-by: Michael Kubacki Acked-by: Gerd Hoffmann Acked-by: Laszlo Ersek --- OvmfPkg/OvmfPkg.ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/OvmfPkg.ci.yaml b/OvmfPkg/OvmfPkg.ci.yaml index 7459b84d8090..ff022242b018 100644 --- a/OvmfPkg/OvmfPkg.ci.yaml +++ b/OvmfPkg/OvmfPkg.ci.yaml @@ -97,5 +97,10 @@ ], # words to extend to the dictionary for this packag= e "IgnoreStandardPaths": [], # Standard Plugin defined paths tha= t should be ignore "AdditionalIncludePaths": [] # Additional paths to spell check (= wildcards supported) + }, + + # options defined in .pytool/Plugin/UncrustifyCheck + "UncrustifyCheck": { + "IgnoreFiles": ["VbeShim.h"] } } --=20 2.28.0.windows.1