[edk2-devel] [edk2-platforms][PATCH v2 0/4] UncrustifyCheck Ignore Support

Michael Kubacki posted 4 patches 2 years, 1 month ago
Failed in applying to current master (apply log)
There is a newer version of this series
.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(-)
[edk2-devel] [edk2-platforms][PATCH v2 0/4] UncrustifyCheck Ignore Support
Posted by Michael Kubacki 2 years, 1 month ago
From: Michael Kubacki <michael.kubacki@microsoft.com>

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3880
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3875

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 <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Peter Grehan <grehan@freebsd.org>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>

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(-)

-- 
2.28.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88341): https://edk2.groups.io/g/devel/message/88341
Mute This Topic: https://groups.io/mt/90183057/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [edk2-platforms][PATCH v2 0/4] UncrustifyCheck Ignore Support
Posted by Yao, Jiewen 2 years, 1 month ago
for all reviewed-by jiewen.yao@intel.com

thank you!
Yao, Jiewen


> 在 2022年4月2日,上午12:23,mikuback@linux.microsoft.com 写道:
> 
> From: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3880
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3875
> 
> 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 <michael.d.kinney@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Sean Brogan <sean.brogan@microsoft.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Jordan Justen <jordan.l.justen@intel.com>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Cc: Rebecca Cran <rebecca@bsdio.com>
> Cc: Peter Grehan <grehan@freebsd.org>
> Cc: Laszlo Ersek <lersek@redhat.com>
> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
> 
> 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(-)
> 
> -- 
> 2.28.0.windows.1
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88348): https://edk2.groups.io/g/devel/message/88348
Mute This Topic: https://groups.io/mt/90183057/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-