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.5175.1648850339749639416 for ; Fri, 01 Apr 2022 14:58:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=somF0Aed; 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 A02BD20DEEDA; Fri, 1 Apr 2022 14:58:57 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A02BD20DEEDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1648850339; bh=fmrqapsz8/ba4rtktJEzb/7/usaJ7Rdb9Y9+NAg1kIc=; h=From:To:Cc:Subject:Date:From; b=somF0Aed2NKY/KS5vL0X2MfuLoWA/z00QBWnrxModM69uY5/tBkIovV+V+ck38rtF fk8eQWRhKoK2xXGj5XNeHGfX1Pz8tEtahq3Gw6KK836Qd0HkbjLGymoRmMNTJQa4Oe X5gjoV7JrDIyEJi19IQPDO3aXO7/GYC0MKgUfe/Y= 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: [PATCH v3 0/4] UncrustifyCheck Ignore Support Date: Fri, 1 Apr 2022 17:58:28 -0400 Message-Id: <20220401215832.2523-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. V3 Changes: 1. [2/4] Replace "nofile.txt" placeholder value passed to parse_gitignore_lines() with a more generic file description and a comment to provide additional context. 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 | 40 +- OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.h | 1811 ++++++++++-----= ----- OvmfPkg/OvmfPkg.ci.yaml | 5 + OvmfPkg/QemuVideoDxe/VbeShim.h | 1389 ++++++++------- 5 files changed, 1650 insertions(+), 1602 deletions(-) --=20 2.28.0.windows.1