From: "Liming Gao" <liming.gao@intel.com>
To: "Zhang, Shenglei" <shenglei.zhang@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Feng, Bob C" <bob.c.feng@intel.com>,
Bret Barkelew <Bret.Barkelew@microsoft.com>,
"Kinney, Michael D" <michael.d.kinney@intel.com>,
Sean Brogan <sean.brogan@microsoft.com>
Subject: Re: [PATCH v2 0/5] Add a pipline to check Ecc issues for edk2 on open ci
Date: Tue, 9 Jun 2020 13:10:08 +0000 [thread overview]
Message-ID: <MWHPR11MB16303196D6FAA8A29C39198D80820@MWHPR11MB1630.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200603084807.24484-1-shenglei.zhang@intel.com>
Shenglei:
Seemly, ECC tool update is not related to this patch serial. Can you separate it?
Besides, please update package yaml file with new ECC checker.
Thanks
Liming
> -----Original Message-----
> From: Zhang, Shenglei <shenglei.zhang@intel.com>
> Sent: Wednesday, June 3, 2020 4:48 PM
> To: devel@edk2.groups.io
> Cc: Feng, Bob C <bob.c.feng@intel.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Gao, Liming <liming.gao@intel.com>; Sean Brogan <sean.brogan@microsoft.com>
> Subject: [PATCH v2 0/5] Add a pipline to check Ecc issues for edk2 on open ci
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2606
> As planed we will enable Ecc check for edk2 on open ci. And they are
> ready now, but these are V2 series. So I expect that contributors in
> edk2 community can try using this script when reviewing. And I appreciate
> receiving feedback and comments if someone find errors or false positive
> issues.
>
> I created a pipline of EccCheck for my forked edk2.
> https://dev.azure.com/shengleizhang/shengleizhang/_build?definitionId=10&_a=summary
>
> The patch series are big, so the commits are also pushed into my forked tree.
> https://github.com/shenglei10/edk2/commits/ECC
>
> Patches
> 1/5: This is a patch to enable python 3.8 for Ecc. It is a tool issues not
> a pipline or script issue. But it is listed here for people willing
> to try this tool.
> 2/5: EccCheck.py is a tool to report Ecc issues for commits. It can be run
> on azure servers for open ci, or locally. Its usage is like
> PatchCheck.py.
> 3/5: It's a lib necessary for py3 to run Ecc on azure servers. For local
> use, we need to type command
> "py -3 -m pip install antlr4-python3-runtime" first.
> 4/5: Windows-EccCheck.yml is a yaml file to configure the newly added
> pipline. The azure uses this to create a pipline.
> 5/5: We consider some cases that will report out Ecc issues but they won't
> be fixed, like submodule and industry standard related things. So we
> add two configuration fields "Exception" and "IgnoreFiles" for people
> to use. The patch is a example and the contents in the fields will be
> empty in final version.
>
> Cc: Bob Feng <bob.c.feng@intel.com>
> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Sean Brogan <sean.brogan@microsoft.com>
>
> v2: Update 2/5, fix the bug that the script can't hanlde multiple commits.
>
> Fan, Zhiju (1):
> BaseTools:ECC needs to update the contents of CParser4
>
> Shenglei Zhang (4):
> BaseTools/Scripts: Add EccCheck.py
> pip-requirements.txt: Add Ecc required lib
> .azurepiplines: Add a pipline to check ECC issues for commits
> MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for Ecc check
>
> .azurepipelines/Windows-EccCheck.yml | 38 ++
> BaseTools/Scripts/EccCheck.py | 433 ++++++++++++++++++
> .../Source/Python/Ecc/CParser4/CLexer.py | 6 +-
> .../Source/Python/Ecc/CParser4/CListener.py | 4 +-
> .../Source/Python/Ecc/CParser4/CParser.py | 38 +-
> MdeModulePkg/MdeModulePkg.ci.yaml | 8 +
> pip-requirements.txt | 1 +
> 7 files changed, 505 insertions(+), 23 deletions(-)
> create mode 100644 .azurepipelines/Windows-EccCheck.yml
> create mode 100644 BaseTools/Scripts/EccCheck.py
>
> --
> 2.18.0.windows.1
prev parent reply other threads:[~2020-06-09 13:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 8:48 [PATCH v2 0/5] Add a pipline to check Ecc issues for edk2 on open ci Zhang, Shenglei
2020-06-03 8:48 ` [PATCH v2 1/5] BaseTools:ECC needs to update the contents of CParser4 Zhang, Shenglei
2020-06-05 4:38 ` [edk2-devel] " Yuwei Chen
2020-06-05 5:11 ` Zhang, Shenglei
2020-06-03 8:48 ` [PATCH v2 2/5] BaseTools/Scripts: Add EccCheck.py Zhang, Shenglei
2020-06-03 8:48 ` [PATCH v2 3/5] pip-requirements.txt: Add Ecc required lib Zhang, Shenglei
2020-06-03 8:48 ` [PATCH v2 4/5] .azurepiplines: Add a pipline to check ECC issues for commits Zhang, Shenglei
2020-06-03 8:48 ` [PATCH v2 5/5] MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for Ecc check Zhang, Shenglei
2020-06-03 14:27 ` [edk2-devel] [PATCH v2 0/5] Add a pipline to check Ecc issues for edk2 on open ci Laszlo Ersek
2020-06-04 5:38 ` Zhang, Shenglei
2020-06-09 12:24 ` Laszlo Ersek
2020-06-09 13:10 ` Liming Gao [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MWHPR11MB16303196D6FAA8A29C39198D80820@MWHPR11MB1630.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox