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.web09.961.1648830107766264219 for ; Fri, 01 Apr 2022 09:21:48 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=Cqspf5ib; 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 9320220DEEBF; Fri, 1 Apr 2022 09:21:45 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9320220DEEBF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1648830107; bh=AVqzwX4cf7sfUrkWyzHCzGTnpKhmcaVlLzQRm2foOdE=; h=From:To:Cc:Subject:Date:From; b=Cqspf5ibHX8hjhG8psLSMVqLEF9phEm7vYUNaZr0BWE0XJcZ6cT7faCcbHeWPeyTG 3gYcZgj3VMnIclfX4eM1+gDmSrHGNH1f4/jXNoOgE59lU951LLflFzPTYb/l95dYPO KOzlDh/OKWpdWXOOKdEq73Gwb62ugtVpC9Xjq9s4= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Sean Brogan , Bret Barkelew , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Rebecca Cran , Peter Grehan , Laszlo Ersek Subject: [edk2-platforms][PATCH v2 0/4] UncrustifyCheck Ignore Support Date: Fri, 1 Apr 2022 12:21:23 -0400 Message-Id: <20220401162127.2317-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3880 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3875 This patch series: 1. Updates ignore handling in UncrustifyCheck including adding a new CI plugin configuration option to ignore files in a package. 2. Reverts Uncrustify changes as requested for files in OvmfPkg. 3. Uses the new ignore file option to ignore the files that had Uncrustify formatting reverted in OvmfPkg. V2 Changes: 1. [1/4] Normalize file paths returned from UncrustifyCheck._get_git_ignored_paths() Cc: Michael D Kinney Cc: Liming Gao Cc: Sean Brogan Cc: Bret Barkelew 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 Michael Kubacki (4): .pytool/Plugin/UncrustifyCheck: Update func to return absolute paths .pytool/Plugin/UncrustifyCheck: Add ignore file support OvmfPkg: Revert Uncrustify formatting in VbeShim.h files OvmfPkg: Do not check VbeShim.h formatting with Uncrustify .pytool/Plugin/UncrustifyCheck/Readme.md | 7 + .pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py | 31 +- OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.h | 1811 ++++++++++-----= ----- OvmfPkg/OvmfPkg.ci.yaml | 5 + OvmfPkg/QemuVideoDxe/VbeShim.h | 1389 ++++++++------- 5 files changed, 1641 insertions(+), 1602 deletions(-) --=20 2.28.0.windows.1