From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63956+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63956+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129331; cv=none; d=zohomail.com; s=zohoarc; b=Letha5bJ4AbUVyxiCa20RyZYpkWMPgPQ8OtAHnVh8envgbZdBDyEDDlVdcN+dmM6ijr0J8Fny4zLc+z4UBLOHXscy0m8+/WmWxvCQIoBT3zkJIMXXAureK9ieTkr0ZJ8oPoeG2SC7NA11BJaiQCHkIwHo0f04RPGdkEEKOb6yTs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129331; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=mgpyqrVPba+FBcqSNqEBxuKH540sVnyMTEdi2uMKKd8=; b=KynlOBO+4TYuqWxruHokgtukBdrzcYTqc9Km/hR+w1zok7h6aH5e2EwYiv/aIuff9a+dvkHoiCi+bzF1kReD5JDfoJCUHpLiww89LMxV7UgALnn0S55GlnTNMwwIvooSzFYquLOT6svW7HAlkc/4tNNRoSwDXEjP5skSQRFyDZc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63956+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129331664337.1059234165432; Tue, 11 Aug 2020 00:02:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9YknYY1788612xLfETHmJ2JZ; Tue, 11 Aug 2020 00:02:11 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:10 -0700 IronPort-SDR: NdfgG++IT3Jvf39JkfAqkcXL3Nb25ld+EUl+JUgtduc9BFTKxAh0RqyXc18lftSlI9Ksx3M2M7 qZ8tHoHVvGnw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723337" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723337" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:10 -0700 IronPort-SDR: TUuGV2KYEI5jZpx8zxfRbjVIKZL4ShEDIBln2Th4YZFUhnTtyandz62M31rrRxarq3rVpyj1lV bQhmSsVd9Wpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277496910" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:08 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v9 01/16] pip-requirements.txt: Add Ecc required lib Date: Tue, 11 Aug 2020 15:01:49 +0800 Message-Id: <20200811070204.55160-2-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: b0YUrQddyOzGsRolkjWZ6guJx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129331; bh=J2h7F1var3rpPpEzj47Gy1cSCMfIlrXoRKYI0MtQD3o=; h=Cc:Date:From:Reply-To:Subject:To; b=pqf8vPUHseAuBR28LhZnb9RA5CHtX7ifOzzvIXQ40rl5zRlJo96K3G4Jl6+ep9TGvs2 XTH1jpHL8IuhUety6QdM+SZu1LeBnQWCfQo52Zdj2b4aApGDKuTePjmYfkPhRkFRkbLfw kkAc7S8U5PQcgorc0O3oGZ3On6ux562ZlrY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" antlr4-python3-runtime is a lib to support Ecc run with Py3.x. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- pip-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/pip-requirements.txt b/pip-requirements.txt index 574dac43b1a6..0fecd37f2a83 100644 --- a/pip-requirements.txt +++ b/pip-requirements.txt @@ -14,3 +14,4 @@ =20 edk2-pytool-library=3D=3D0.10.* edk2-pytool-extensions~=3D0.13.3 +antlr4-python3-runtime=3D=3D4.7.1 --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63956): https://edk2.groups.io/g/devel/message/63956 Mute This Topic: https://groups.io/mt/76121680/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63957+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63957+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129333; cv=none; d=zohomail.com; s=zohoarc; b=L3RGbgW0P9bg3ur44NBaA74it5mEYXrBiopYBJxvYHChgiLHkjrhCGIcEKqUywUlB0kuANdEJnPaTJ7L2kRe3ug9HaeqGdIR/2/2+nHb9KyNhVnjAezqHTvm3lIPJYr+lx6d4gobW36WUr7GjSvgEApmtwquKnx8pU9dY/9xF4Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129333; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=qrCs3WEQRrcu08fSwz1jhRAkfTLPVu1vcvQxT7l7PII=; b=QO08+D9Q3cGAP1Jbpi3dAbAXGCfnd+pZ+P4AK8Fn2mjDRxJkP34d2qqGdiWrAq+n/hWg7GjLSTSZ6Bs/zGwlozwhXjSbh4wPIRHeyawLQUpS837HrGgpnfN7iXppucszLIkemxRxZO5KUyb63X9lS2u2XvyLiipYoxST9xPOPf8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63957+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129333829378.27805308767427; Tue, 11 Aug 2020 00:02:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id yWDAYY1788612xGh4zcwhvfu; Tue, 11 Aug 2020 00:02:13 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:12 -0700 IronPort-SDR: xIOxzD6cJcZEbQIYQNQqruqIAWrhKexFvpbvj0aBBy6R8/ga75natQSLtRzcuIe3+Z1O30eVvh x/Cmrv2wbjQA== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723359" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723359" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:12 -0700 IronPort-SDR: YjPWX/kwN1AuF5utGhCvmpvHJPTPQqXd6526yGXMlyRtO2zHa4ofV6W1To/+NVesniDTpDr6Q0 HdzDgZg0erIg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277496932" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:10 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v9 02/16] .pytool/Plugin: Add a plugin EccCheck Date: Tue, 11 Aug 2020 15:01:50 +0800 Message-Id: <20200811070204.55160-3-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: IC7hDxK2LntYVf6EbfOOdEAHx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129333; bh=JJyDgMAkXm51BGREAzBAkA7CLbn4PX+dhxBg3gvVxQk=; h=Cc:Date:From:Reply-To:Subject:To; b=F3veUog1JfBzKw7XoyZbPMjBlEBtJO4XyKa5+8BmwUV0j+Dt2cScwA0qoaStGHnBU5j 2pxaI8U7f2xJYYwLm4jsmsQDjWmgmtKsXKt0s//0MlHmQzoTbtfJVPTOTR6/SnOQv+P4Z QBZVqCd/zzTvs2jc0rerZvNKaQvWE6Kt0eA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2606 EccCheck is a plugin to report Ecc issues for code in pull request , which will be run on open ci. But note not each kind of issue could be reported out. It can only handle the issues, whose line number in CSV report accurately map with their code in source code files. And Ecc issues about comments can also be handled. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- .pytool/Plugin/EccCheck/EccCheck.py | 302 ++++++++++++++++++ .pytool/Plugin/EccCheck/EccCheck_plug_in.yaml | 11 + .pytool/Plugin/EccCheck/Readme.md | 15 + 3 files changed, 328 insertions(+) create mode 100644 .pytool/Plugin/EccCheck/EccCheck.py create mode 100644 .pytool/Plugin/EccCheck/EccCheck_plug_in.yaml create mode 100644 .pytool/Plugin/EccCheck/Readme.md diff --git a/.pytool/Plugin/EccCheck/EccCheck.py b/.pytool/Plugin/EccCheck/= EccCheck.py new file mode 100644 index 000000000000..249a16a7dddf --- /dev/null +++ b/.pytool/Plugin/EccCheck/EccCheck.py @@ -0,0 +1,302 @@ +# @file EccCheck.py +# +# Copyright (c) 2020, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +import os +import shutil +import re +import csv +import xml.dom.minidom +from typing import List, Dict, Tuple +import logging +from io import StringIO +from edk2toolext.environment import shell_environment +from edk2toolext.environment.plugintypes.ci_build_plugin import ICiBuildPl= ugin +from edk2toolext.environment.var_dict import VarDict +from edk2toollib.utility_functions import RunCmd + + +class EccCheck(ICiBuildPlugin): + """ + A CiBuildPlugin that finds the Ecc issues of newly added code in pull = request. + + Configuration options: + "EccCheck": { + "ExceptionList": [], + "IgnoreFiles": [] + }, + """ + + ReModifyFile =3D re.compile(r'[B-Q,S-Z]+[\d]*\t(.*)') + FindModifyFile =3D re.compile(r'\+\+\+ b\/(.*)') + LineScopePattern =3D (r'@@ -\d*\,*\d* \+\d*\,*\d* @@.*') + LineNumRange =3D re.compile(r'@@ -\d*\,*\d* \+(\d*)\,*(\d*) @@.*') + + def GetTestName(self, packagename: str, environment: VarDict) -> tuple: + """ Provide the testcase name and classname for use in reporting + testclassname: a descriptive string for the testcase can inclu= de whitespace + classname: should be patterned .. + + Args: + packagename: string containing name of package to build + environment: The VarDict for the test to run in + Returns: + a tuple containing the testcase name and the classname + (testcasename, classname) + """ + return ("Check for efi coding style for " + packagename, packagena= me + ".EccCheck") + + ## + # External function of plugin. This function is used to perform the t= ask of the ci_build_plugin Plugin + # + # - package is the edk2 path to package. This means workspace/packa= gepath relative. + # - edk2path object configured with workspace and packages path + # - PkgConfig Object (dict) for the pkg + # - EnvConfig Object + # - Plugin Manager Instance + # - Plugin Helper Obj Instance + # - Junit Logger + # - output_stream the StringIO output stream from this plugin via lo= gging + def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environm= ent, PLM, PLMHelper, tc, output_stream=3DNone): + edk2_path =3D Edk2pathObj.WorkspacePath + python_path =3D os.path.join(edk2_path, "BaseTools", "Source", "Py= thon") + env =3D shell_environment.GetEnvironment() + env.set_shell_var('PYTHONPATH', python_path) + env.set_shell_var('WORKSPACE', edk2_path) + self.ECC_PASS =3D True + self.ApplyConfig(pkgconfig, edk2_path, packagename) + modify_dir_list =3D self.GetModifyDir(packagename) + patch =3D self.GetDiff(packagename) + ecc_diff_range =3D self.GetDiffRange(patch, packagename, edk2_path) + self.GenerateEccReport(modify_dir_list, ecc_diff_range, edk2_path) + ecc_log =3D os.path.join(edk2_path, "Ecc.log") + if self.ECC_PASS: + tc.SetSuccess() + self.RemoveFile(ecc_log) + return 0 + else: + with open(ecc_log, encoding=3D'utf8') as output: + ecc_output =3D output.readlines() + for line in ecc_output: + logging.error(line.strip()) + self.RemoveFile(ecc_log) + tc.SetFailed("EccCheck failed for {0}".format(packagename), "E= cc detected issues") + return 1 + + def GetDiff(self, pkg: str) -> List[str]: + return_buffer =3D StringIO() + params =3D "diff --unified=3D0 origin/master HEAD" + RunCmd("git", params, outstream=3Dreturn_buffer) + p =3D return_buffer.getvalue().strip() + patch =3D p.split("\n") + return_buffer.close() + + return patch + + def RemoveFile(self, file: str) -> None: + if os.path.exists(file): + os.remove(file) + return + + def GetModifyDir(self, pkg: str) -> List[str]: + return_buffer =3D StringIO() + params =3D "diff --name-status" + ' HEAD' + ' origin/master' + RunCmd("git", params, outstream=3Dreturn_buffer) + p1 =3D return_buffer.getvalue().strip() + dir_list =3D p1.split("\n") + return_buffer.close() + modify_dir_list =3D [] + for modify_dir in dir_list: + file_path =3D self.ReModifyFile.findall(modify_dir) + if file_path: + file_dir =3D os.path.dirname(file_path[0]) + else: + continue + if pkg in file_dir and file_dir !=3D pkg: + modify_dir_list.append('%s' % file_dir) + else: + continue + + modify_dir_list =3D list(set(modify_dir_list)) + return modify_dir_list + + def GetDiffRange(self, patch_diff: List[str], pkg: str, workingdir: st= r) -> Dict[str, List[Tuple[int, int]]]: + IsDelete =3D True + StartCheck =3D False + range_directory: Dict[str, List[Tuple[int, int]]] =3D {} + for line in patch_diff: + modify_file =3D self.FindModifyFile.findall(line) + if modify_file and pkg in modify_file[0] and not StartCheck an= d os.path.isfile(modify_file[0]): + modify_file_comment_dic =3D self.GetCommentRange(modify_fi= le[0], workingdir) + IsDelete =3D False + StartCheck =3D True + modify_file_dic =3D modify_file[0] + modify_file_dic =3D modify_file_dic.replace("/", os.sep) + range_directory[modify_file_dic] =3D [] + elif line.startswith('--- '): + StartCheck =3D False + elif re.match(self.LineScopePattern, line, re.I) and not IsDel= ete and StartCheck: + start_line =3D self.LineNumRange.search(line).group(1) + line_range =3D self.LineNumRange.search(line).group(2) + if not line_range: + line_range =3D '1' + range_directory[modify_file_dic].append((int(start_line), = int(start_line) + int(line_range) - 1)) + for i in modify_file_comment_dic: + if int(i[0]) <=3D int(start_line) <=3D int(i[1]): + range_directory[modify_file_dic].append(i) + return range_directory + + def GetCommentRange(self, modify_file: str, workingdir: str) -> List[T= uple[int, int]]: + modify_file_path =3D os.path.join(workingdir, modify_file) + with open(modify_file_path) as f: + line_no =3D 1 + comment_range: List[Tuple[int, int]] =3D [] + Start =3D False + for line in f: + if line.startswith('/**'): + start_no =3D line_no + Start =3D True + if line.startswith('**/') and Start: + end_no =3D line_no + Start =3D False + comment_range.append((int(start_no), int(end_no))) + line_no +=3D 1 + + if comment_range and comment_range[0][0] =3D=3D 1: + del comment_range[0] + return comment_range + + def GenerateEccReport(self, modify_dir_list: List[str], ecc_diff_range= : Dict[str, List[Tuple[int, int]]], + edk2_path: str) -> None: + ecc_need =3D False + ecc_run =3D True + config =3D os.path.join(edk2_path, "BaseTools", "Source", "Python"= , "Ecc", "config.ini") + exception =3D os.path.join(edk2_path, "BaseTools", "Source", "Pyth= on", "Ecc", "exception.xml") + report =3D os.path.join(edk2_path, "Ecc.csv") + for modify_dir in modify_dir_list: + target =3D os.path.join(edk2_path, modify_dir) + logging.info('Run ECC tool for the commit in %s' % modify_dir) + ecc_need =3D True + ecc_params =3D "-c {0} -e {1} -t {2} -r {3}".format(config, ex= ception, target, report) + return_code =3D RunCmd("Ecc", ecc_params, workingdir=3Dedk2_pa= th) + if return_code !=3D 0: + ecc_run =3D False + break + if not ecc_run: + logging.error('Fail to run ECC tool') + self.ParseEccReport(ecc_diff_range, edk2_path) + + if not ecc_need: + logging.info("Doesn't need run ECC check") + + revert_params =3D "checkout -- {}".format(exception) + RunCmd("git", revert_params) + return + + def ParseEccReport(self, ecc_diff_range: Dict[str, List[Tuple[int, int= ]]], edk2_path: str) -> None: + ecc_log =3D os.path.join(edk2_path, "Ecc.log") + ecc_csv =3D "Ecc.csv" + file =3D os.listdir(edk2_path) + row_lines =3D [] + ignore_error_code =3D self.GetIgnoreErrorCode() + if ecc_csv in file: + with open(ecc_csv) as csv_file: + reader =3D csv.reader(csv_file) + for row in reader: + for modify_file in ecc_diff_range: + if modify_file in row[3]: + for i in ecc_diff_range[modify_file]: + line_no =3D int(row[4]) + if i[0] <=3D line_no <=3D i[1] and row[1] = not in ignore_error_code: + row[0] =3D '\nEFI coding style error' + row[1] =3D 'Error code: ' + row[1] + row[3] =3D 'file: ' + row[3] + row[4] =3D 'Line number: ' + row[4] + row_line =3D '\n *'.join(row) + row_lines.append(row_line) + break + break + if row_lines: + self.ECC_PASS =3D False + + with open(ecc_log, 'a') as log: + all_line =3D '\n'.join(row_lines) + all_line =3D all_line + '\n' + log.writelines(all_line) + return + + def ApplyConfig(self, pkgconfig: Dict[str, List[str]], edk2_path: str,= pkg: str) -> None: + if "IgnoreFiles" in pkgconfig: + for a in pkgconfig["IgnoreFiles"]: + a =3D os.path.join(edk2_path, pkg, a) + a =3D a.replace(os.sep, "/") + + logging.info("Ignoring Files {0}".format(a)) + if os.path.exists(a): + if os.path.isfile(a): + self.RemoveFile(a) + elif os.path.isdir(a): + shutil.rmtree(a) + else: + logging.error("EccCheck.IgnoreInf -> {0} not found in = filesystem. Invalid ignore files".format(a)) + + if "ExceptionList" in pkgconfig: + exception_list =3D pkgconfig["ExceptionList"] + exception_xml =3D os.path.join(edk2_path, "BaseTools", "Source= ", "Python", "Ecc", "exception.xml") + try: + logging.info("Appending exceptions") + self.AppendException(exception_list, exception_xml) + except Exception as e: + logging.error("Fail to apply exceptions") + raise e + return + + def AppendException(self, exception_list: List[str], exception_xml: st= r) -> None: + error_code_list =3D exception_list[::2] + keyword_list =3D exception_list[1::2] + dom_tree =3D xml.dom.minidom.parse(exception_xml) + root_node =3D dom_tree.documentElement + for error_code, keyword in zip(error_code_list, keyword_list): + customer_node =3D dom_tree.createElement("Exception") + keyword_node =3D dom_tree.createElement("KeyWord") + keyword_node_text_value =3D dom_tree.createTextNode(keyword) + keyword_node.appendChild(keyword_node_text_value) + customer_node.appendChild(keyword_node) + error_code_node =3D dom_tree.createElement("ErrorID") + error_code_text_value =3D dom_tree.createTextNode(error_code) + error_code_node.appendChild(error_code_text_value) + customer_node.appendChild(error_code_node) + root_node.appendChild(customer_node) + with open(exception_xml, 'w') as f: + dom_tree.writexml(f, indent=3D'', addindent=3D'', newl=3D'\n',= encoding=3D'UTF-8') + return + + def GetIgnoreErrorCode(self) -> set: + """ + Below are kinds of error code that are accurate in ecc scanning of= edk2 level. + But EccCheck plugin is partial scanning so they are always false p= ositive issues. + The mapping relationship of error code and error message is listed= BaseTools/Sourc/Python/Ecc/EccToolError.py + """ + ignore_error_code =3D { + "10000", + "10001", + "10002", + "10003", + "10004", + "10005", + "10006", + "10007", + "10008", + "10009", + "10010", + "10011", + "10012", + "10013", + "10015", + "10016", + "10017", + "10022", + } + return ignore_error_code diff --git a/.pytool/Plugin/EccCheck/EccCheck_plug_in.yaml b/.pytool/Plugin= /EccCheck/EccCheck_plug_in.yaml new file mode 100644 index 000000000000..0d121ecb1861 --- /dev/null +++ b/.pytool/Plugin/EccCheck/EccCheck_plug_in.yaml @@ -0,0 +1,11 @@ +## @file +# CiBuildPlugin used to check Ecc issues +# +# Copyright (c) 2020, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + "scope": "cibuild", + "name": "EccCheck Test", + "module": "EccCheck" +} diff --git a/.pytool/Plugin/EccCheck/Readme.md b/.pytool/Plugin/EccCheck/Re= adme.md new file mode 100644 index 000000000000..85c439a5edf1 --- /dev/null +++ b/.pytool/Plugin/EccCheck/Readme.md @@ -0,0 +1,15 @@ +# EFI Coding style Check Plugin + +This CiBuildPlugin finds the Ecc issues of newly added code in pull reques= t. + +## Configuration + +The plugin can be configured to ignore certain files and issues. + +"EccCheck": { + "ExceptionList": [], + "IgnoreFiles": [] + }, + """ + +OPTIONAL List of file to ignore. --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63957): https://edk2.groups.io/g/devel/message/63957 Mute This Topic: https://groups.io/mt/76121681/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63958+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63958+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129335; cv=none; d=zohomail.com; s=zohoarc; b=aAqR/BLiCeBVLFr0fKOQqPNuv1RS90yQpPaXXsvBycEHQpz9qK/vPc9w/AJdJe96kA+D4TIqF3VY/Cc450p+VP4rHySUU4NXWsH1OJX3/iLzKqIieJJ0DP8kFTo7KdM140TMe2cVcYwYrESRFuUHqjobVOq+icuaStiTuCZ+I7o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129335; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=LemmDLsygPr8CzjF6Ko0pum/L2+UDdqis8esKEly/ek=; b=XhgoS5nc32JPvOygbjGdHi0PWCM9NCRvT6lpXD5LcCMFba3CBZIZ8pLOSgZvYHDOigKa8Hp0aqpVXoyUpxS/nhuRVu6fpPPV/bgYkF2d7d1RkMf32CuykFUgHpjHgGYGcXRJKPtxKWI02fZhcsDbsVFsJ1mrK9OUcYjD0oFUt6g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63958+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129335185675.9039735188109; Tue, 11 Aug 2020 00:02:15 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id BbDHYY1788612xQcZlwLISfD; Tue, 11 Aug 2020 00:02:14 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:14 -0700 IronPort-SDR: wgExDmv7ViK2mVGr2RVcH95p/L8gq9RWyxOuyTgQkR5HYb0Sd2ROEiXqlQBfJDeavsWu9XE3yV HtUcPSoVfr8w== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723371" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723371" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:14 -0700 IronPort-SDR: W8Yh7Yx1J0O6xmpmzoeSgVy5dhPKzV/BGWq39E4OmVkKF0DtvEVaLSSz31E5h+iOerIzUiO7rr CKjFVXQi8ApA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277496944" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:13 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu Subject: [edk2-devel] [PATCH v9 03/16] MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:51 +0800 Message-Id: <20200811070204.55160-4-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: NgehUfnXbmcUV5FbOKdJIOMwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129334; bh=Ip/DR+tX4hQBaAt7bldHw3DMD4B+Osn9VUY8/wV9rOk=; h=Cc:Date:From:Reply-To:Subject:To; b=JN1pwE3pWbEw0h73SWGCAELkVE8DlqLT37E4K7xYw0gN0E5G3tSPKJ4Y3cLYq99MPiy aiJ6R/zeCg9AQ+vmDPKrdr2KEgWRQr9bz0P7v6kdGq6p2uOW5ly7A1EhJ4hs8FXYncy4L I01Qh88Zn23MmlvQmspioWFZR5c3HI0rSZo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Besides, add submodule path in IgnoreFiles section. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- MdeModulePkg/MdeModulePkg.ci.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.= ci.yaml index 0fc8c3633878..1a7e955185d8 100644 --- a/MdeModulePkg/MdeModulePkg.ci.yaml +++ b/MdeModulePkg/MdeModulePkg.ci.yaml @@ -2,6 +2,7 @@ # CI configuration for MdeModulePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -9,6 +10,19 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + "Library/BrotliCustomDecompressLib/brotli", + "Universal/RegularExpressionDxe/oniguruma" + ] + }, ## options defined ci/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "MdeModulePkg.dsc" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63958): https://edk2.groups.io/g/devel/message/63958 Mute This Topic: https://groups.io/mt/76121682/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63959+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63959+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129337; cv=none; d=zohomail.com; s=zohoarc; b=DKG5ros2ie9AskOwougWUUSwC8oiFPFNALdMOhPaghw+8kI8bwIWecp42N2nOareaSE2xAWa8tMtMlWvqJhHoWcqjQM3X4xNfrYibtOszJq8fbQTzmoJkMibE3ETrFKUBcxaN3reArSxHP22dyM8S5ggxQ9B0U0s3hWJqffFKAA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129337; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=evrwQjPGHLg2tK4Z5vC//yWfALAVtcCqBOawKrLQijg=; b=VBnlbkuI1TWa1qVn5ksaTE6Xa6ydihBv4Vuge8bfdkZWuU41cPc0U9/WMGWYPpRSNY2C9ogTJuDWk6fsowX5NTNeXBNcYu8Rm2Ue8ol0V+EoXoMfwNC1ZltBKYovlToRJChL9ZA9qoStxVMTXzG8bg1cINYLnHPJZO/SKo3jAYU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63959+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129337198805.2230594067942; Tue, 11 Aug 2020 00:02:17 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id iyskYY1788612xLp0w5agEv9; Tue, 11 Aug 2020 00:02:16 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:16 -0700 IronPort-SDR: G0eYw5x7YJMJVL4LJ8Y48ohw3gf/l8aB9U7RKZHQtTDTSwqISUke/tWUpVrRn/jET9iALMsl7a dNYGZM/defDw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723384" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723384" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:16 -0700 IronPort-SDR: jg7Wqr8cO6N9RJIT8PwyCZrCeb67BLxHzZCK3xvxCvlU6nXCxAGMpV3lbcpcJqF9NCy+yZMm/8 AAfo4Zmzkjqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277496950" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:14 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Leif Lindholm Subject: [edk2-devel] [PATCH v9 04/16] ArmVirtPkg/ArmVirtPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:52 +0800 Message-Id: <20200811070204.55160-5-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: rGbWyrAqaYUzbb5gQCCt1Bksx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129336; bh=BkB/UQOKbniybOW+HktuVIkJNnRoIZLEoz0aV+2ft/k=; h=Cc:Date:From:Reply-To:Subject:To; b=ReUV7lfyQ/N9hBNlUFRtfnsI6bqtaIKI+RPNmrf1NYqnG1tCFnB+4EzEu4LLptTNO2c 9YWe76kEl78woMChzIwF3B947iAJYW+C1p5IDULj/hgALnCXNuMjUVhdIM+j2BHl7Sqcg j8tk6UWKbeibo+fjUUX0e+fHVuIfsp2rLng= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao Acked-by: Ard Biesheuvel --- ArmVirtPkg/ArmVirtPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ArmVirtPkg/ArmVirtPkg.ci.yaml b/ArmVirtPkg/ArmVirtPkg.ci.yaml index 27bb7ff49011..8b2c0305c175 100644 --- a/ArmVirtPkg/ArmVirtPkg.ci.yaml +++ b/ArmVirtPkg/ArmVirtPkg.ci.yaml @@ -5,6 +5,7 @@ # used for code analysis. # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -12,6 +13,17 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63959): https://edk2.groups.io/g/devel/message/63959 Mute This Topic: https://groups.io/mt/76121683/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63960+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63960+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129338; cv=none; d=zohomail.com; s=zohoarc; b=QDz46mOGfI5Lr996dETr+39CUA5qhhuVlVqE190GPu710X4fh/z0j9Bi/X4LYtU6sCqUdV4SV62cKBn4p51SkNmHCG4tK1fmGD2VjISjeP2KdDXVVWTafOvbgNqTZTVDG8KgIe3BtrTvcJBejVwe7SLi7DbeAhyA7JkI22QZhfo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129338; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=WZ90jLvC1Dm5GprTeK55na3lML6dh8giSOW+mlOPaoM=; b=f7yBxfGSxwBxaR5Ls34T7VShs+bXGkxUOTPi2M7IHwoOtTXYawD2iejhM/PvYM0nLapMNcQ9/RUhqZStZnnws2CvjlWp9oBAzoBOyrYL4Z5lydDzF32WXhLMfyV16B0vjwMfyWxr1FCasRJfgym6k4U3mvBF5lLggh2yz8Uqf+A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63960+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 15971293389191010.5240817329747; Tue, 11 Aug 2020 00:02:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id cZySYY1788612xoFM1xw4VjQ; Tue, 11 Aug 2020 00:02:18 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:18 -0700 IronPort-SDR: fISepDoEo+DyAZRNMY4HqPkiZ2z3TUheqVhI9W9nFvMDU3acQWNW4bgwF94CWgpB3WQgMNVcoA gH24hLhobhEw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723395" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723395" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:17 -0700 IronPort-SDR: toT8FHPadduQX80u41fRJyydZEGZU+tqeEDbf28XGqevENd2o1sZzJIkA5CYoFMIEpXHTUvcR4 0Dd8N7yfD7FQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277496982" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:16 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jian J Wang , Xiaoyu Lu Subject: [edk2-devel] [PATCH v9 05/16] CryptoPkg/CryptoPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:53 +0800 Message-Id: <20200811070204.55160-6-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: lTsKdHKU1IBkQVEpS7Pj5IvYx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129338; bh=r3kd3znP3ng+aVIaVfNYptkmzhZariRlURHB9BaZKo4=; h=Cc:Date:From:Reply-To:Subject:To; b=vKTFddXR5XtfQkYiz4AZxX/EvEHwGRnc6yJcnqa2uOMHQbZwkMB9oV44Yh2Znv4ocXl A4wxCwJjcGVb9kVrfFiNRxXkwDFzvovDJUFpwGIIvANPyS5mPtxQ1SsHEoXrLCUEHD7k2 Gns8FfXsMHvj0/5NnGnK2N6BozhQYZ9cnPw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Besides, add submodule path in IgnoreFiles section. Cc: Jian J Wang Cc: Xiaoyu Lu Signed-off-by: Shenglei Zhang Reviewed-by: Guomin Jiang Reviewed-by: Liming Gao --- CryptoPkg/CryptoPkg.ci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index e73b79e01fef..e2d190a90c51 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -2,12 +2,25 @@ # CI configuration for CryptoPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + "Library/OpensslLib/openssl" + ] + }, "CompilerPlugin": { "DscPath": "CryptoPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63960): https://edk2.groups.io/g/devel/message/63960 Mute This Topic: https://groups.io/mt/76121684/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63961+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63961+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129340; cv=none; d=zohomail.com; s=zohoarc; b=P8DGgo7xqKOPjbRrEXL2ObkkKwuwgwt6bh/nKK8siM1yJIVv4FgWAQbpwERb3b+FnjW8O9nOqFSjx+0qvf4YWyJmINmXM8LoUPaD+z+0ko9LuHI3I5ggGLDepW403Nvo8E3DlOGonlO+1q+wZUWB+vB8tLwAoQo78zPSJf3+OhM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129340; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=vOTz5JQu7mkfSBtNbtBPT7lFoD1C+0DMGJNfa3t/SSw=; b=L7NwqsBTne1rrwctzayPOdvqsUVlRXtlGUWVZsQ/vzyXdEpNx3BpW2KhZ8LqPUnJGPgmjW7TMFfJ4wZNPM1aSg+aoipfOt9AxCExSfsJxVqepzoczzsoDShhP4h0yBcMQ8SFX79fC6FJo7Nb72N67jgha5rZaLxLSKBhznijzws= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63961+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129340902273.7200945344266; Tue, 11 Aug 2020 00:02:20 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id nJfoYY1788612xBBSVnnDleg; Tue, 11 Aug 2020 00:02:20 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:20 -0700 IronPort-SDR: G0eee1KObTI1X8t0alFXAJeZaOgBR3z3AEfCmRqCLCIETaFW0HcUps1DKokHSykIeEOnnLFzMu Z2BFEZ8zPgKw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723407" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723407" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:19 -0700 IronPort-SDR: fcqWdqNy5pQ/7wrUxj8yRtLxXrYPd/xvkglRWYTHXG2NdcvT1jwufGeSmQvH/Rdm2gApJggTrv AkCBquT/40cQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277496998" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:18 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [edk2-devel] [PATCH v9 06/16] EmulatorPkg/EmulatorPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:54 +0800 Message-Id: <20200811070204.55160-7-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: FDWGIWwzxowXepkUNbQsREaGx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129340; bh=I0Wyt2bLDsPzDbi6yuTwSXNkvdl9GHKTi67P7rRiCPo=; h=Cc:Date:From:Reply-To:Subject:To; b=WkyfZpD589vPl5dDrXb17k3Xqj8EPDSNpzYSphgW3BbXYeikm9gLl37SZ0bsKkkT0Hy Ph9qVqggZlC4p0WehXuRhmDY3ZhRRMpPhJ/2GT/bmCwuvj7FE4qT+5m30Rn5hVohiKb7K FYDPicy4EBUxBtLAwNmG4QIkfyFHevgubAk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Shenglei Zhang Acked-by: Ray Ni Reviewed-by: Liming Gao --- EmulatorPkg/EmulatorPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/EmulatorPkg/EmulatorPkg.ci.yaml b/EmulatorPkg/EmulatorPkg.ci.y= aml index dead82f69745..980844c1fdd4 100644 --- a/EmulatorPkg/EmulatorPkg.ci.yaml +++ b/EmulatorPkg/EmulatorPkg.ci.yaml @@ -5,6 +5,7 @@ # used for code analysis. # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -12,6 +13,17 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63961): https://edk2.groups.io/g/devel/message/63961 Mute This Topic: https://groups.io/mt/76121685/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63962+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63962+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129342; cv=none; d=zohomail.com; s=zohoarc; b=SV0+CmKlAAy7tM6AS6sRxiGq2rvTyx1QdiaItWsxdhdB1d3GGNwEPbqSbTlChY+n33zqbAqbRFb9q+v4clpBQmd3ScNr1yHTG1DJC8V7dlgYPHQK2WsrtQIcmFTGsl+dpqwZrzrTp45OCi8d2wPRVepTNZiHIvsDzeeZ9hnfwro= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129342; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=NVc9qq8GqX/1yrJSfOQ4QzMGDLx+ShZglihKYAuWzlA=; b=XjPyKhjj5MaV+zWuuqXPPbPKge8NlqJjwo3MCAnce1kc3ahFt+Nud/yUzDDwLg14+cMvmcIxm/NHxLoYjGrTDGZsE32gjDgWPS0NQPz1u8ooZYCuCgbV/Dr5z0ntDO2sW/VbtkNdeLtx6ibEMao2dBDXmrTTuYH+/sLWf2KCB+E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63962+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 159712934240877.50749500104848; Tue, 11 Aug 2020 00:02:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ykUXYY1788612xz9d2N1eFik; Tue, 11 Aug 2020 00:02:21 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:21 -0700 IronPort-SDR: qHrHPCF0kY7nKlflMUI6Z5y6IeDWX2GpjhMgK88Q14Au1X15WZqHlBYOwr+LANaGDDRmQteqGk pQT5dm6Pz36w== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723420" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723420" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:21 -0700 IronPort-SDR: PNmOY7y9RCTjz7k622HjwRAMIgTab9btnJnyceMx3tXfqGrzcGZKF+KZIKUaIRN1dX76D6DAEh Ptg0mSx3DN6g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497009" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:20 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [PATCH v9 07/16] FatPkg/FatPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:55 +0800 Message-Id: <20200811070204.55160-8-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: yo6y577LcL3Y31USmCQv8STMx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129341; bh=mITFzGCin0EK7SZK+VjL0REHchhGQIdC2yutjJxBsWM=; h=Cc:Date:From:Reply-To:Subject:To; b=RLFpcb5rR7T4t3sSW41w7sSzfTWZgpjo63pyflV34feRx9EPUVhtO8oZuW8I2BsPu+l 5AV1IQeNoVqtdRDurBLuGW2EX6Ta1NEjPz176LJR6pznMiVMlU9lNuUpwxXyfYxrf5WCZ SZvLTBCiLkPnTfDW49UAZ7i6LWl4ea0OGaY= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Ray Ni Signed-off-by: Shenglei Zhang Reviewed-by: Guomin Jiang Reviewed-by: Liming Gao --- FatPkg/FatPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/FatPkg/FatPkg.ci.yaml b/FatPkg/FatPkg.ci.yaml index 489c4614e9e1..fe95f481b50c 100644 --- a/FatPkg/FatPkg.ci.yaml +++ b/FatPkg/FatPkg.ci.yaml @@ -2,12 +2,24 @@ # CI configuration for FatPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "FatPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63962): https://edk2.groups.io/g/devel/message/63962 Mute This Topic: https://groups.io/mt/76121688/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63963+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63963+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129344; cv=none; d=zohomail.com; s=zohoarc; b=f3funT1vabTqD1ufjxfZxWGkrREwjhRPREoYBgLLtMBgboFWSOO3OZM68Ddzwrn/5XzgS6nenDadYc9RSvXu+yltUuF5G2t7w0rtAruP1PMt0PJYNqvT7C4h2m6lJZ8A75kNWeHuq2v2fc/lfUkw82tbNg65IDf8RZgCs70ANrc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129344; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=2OGcuWG2Q3gY6jH4+g6Cx2VBpIc0dfxwoURjS8kGAcY=; b=hKhjSLUvhEUVluMQ1Iawfh5XoQN5wzm35jTBRN6ley/JnZ8XE5TVY8iHllfr3VKUB6UtF19ar17Tc2wnJhMUo0aDbdclEVkHU3QDJNt3CxTGdw/MkMj+8KCReAs6SF/B8PEiJaX5r+IKd5gYmnHjZhp1HEEpIb/6g/m3DaR7J2k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63963+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129344377997.2178201914156; Tue, 11 Aug 2020 00:02:24 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id twQGYY1788612x4OX0e7gCVR; Tue, 11 Aug 2020 00:02:23 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:23 -0700 IronPort-SDR: BoOZEGO3jhhI54SGUGK5UFR0AIaMq3VFKVRliOBlCrhdzkYKX83WbqzQEpLOfqKlnr+rAbCT5d VFu/0x7SzSyw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723433" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723433" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:22 -0700 IronPort-SDR: Xd2OnHzpxVPCZul8Y1AeNe2LOPDfXsGgBHkMpByiywr6Z4OyrSkm5xJJivkIS3Mm5WeFqFMK7o +Uc1KonE4xFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497025" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:21 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Liming Gao , Michael D Kinney Subject: [edk2-devel] [PATCH v9 08/16] FmpDevicePkg/FmpDevicePkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:56 +0800 Message-Id: <20200811070204.55160-9-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: LCmnQVTFOiuFJ5nsjZWpq148x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129343; bh=3ghJqyM1T2FVLnlxfNEuzEOz+ZsQgSOWKmSeSLA0phI=; h=Cc:Date:From:Reply-To:Subject:To; b=vv9XrM3UK1A3PoJ4ag/dLfj7VRSW6BFwwEKLFClHw1u9+G+YZ/I5ZUYY8XYMECcdKO+ xKaPfuLzUMjL1Z+fCPi2VUC94Ow+Cd6yRIR1eI5OjWgj+zxM1KNCbSIRaRmvqO9n7dbLp mmNETF2aejmSrWy4o2tz6pDX61JVqzTmrJw= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Liming Gao Cc: Michael D Kinney Signed-off-by: Shenglei Zhang Reviewed-by: Guomin Jiang Reviewed-by: Liming Gao --- FmpDevicePkg/FmpDevicePkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/FmpDevicePkg/FmpDevicePkg.ci.yaml b/FmpDevicePkg/FmpDevicePkg.= ci.yaml index d498ad7d21e1..1b3e2187356d 100644 --- a/FmpDevicePkg/FmpDevicePkg.ci.yaml +++ b/FmpDevicePkg/FmpDevicePkg.ci.yaml @@ -2,12 +2,24 @@ # CI configuration for FmpDevicePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "FmpDevicePkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63963): https://edk2.groups.io/g/devel/message/63963 Mute This Topic: https://groups.io/mt/76121689/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63964+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63964+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129346; cv=none; d=zohomail.com; s=zohoarc; b=BXOL5LbpRLYVywxNhF6aCmwNJTMEFlRlOJ0l8rdWeMrj3kBd9XkyZG1eAlQBUy8tiAp0WDwJMeTSHgZepzS0Dng6eu6fyX0WbhKwGEiYGWrNvzOKJvxMijTpJtjSpUlcRQER81Ed2a7NBiW/z5QLkS8MdiI/XWw956p4NyxTSsk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129346; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=DOlWSdzV+M9MB565ooGtWtiaIyZzTorm/t0uszTaNvk=; b=cCuw3t474hwxJFETKNGNfL3mTVXaAPwEV2xuJg065DMMA7YISTmAsHm7spaEmzYvK3eWlzqCvH5i83lg8KOJyZtZIoc8tFIHLqqhKoXHCs7vqKCOf9kWNdqMkJTWVoF0cbEZSQ0Co0JLnclNZgByvWDQ/9eJYPK/0MjLLfB16cA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63964+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129346667763.6688578222886; Tue, 11 Aug 2020 00:02:26 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id xLhtYY1788612xcLmPp8o6AA; Tue, 11 Aug 2020 00:02:26 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:24 -0700 IronPort-SDR: VV+GNOZB62vIX/qQxTOPD4cB2CyzgC0rYkwu+129is9j1ueMPwU0Oxt+ml0Sh/8GmgPSqgkHjo ZvR1i/Eb+nKg== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723439" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723439" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:24 -0700 IronPort-SDR: ZgPTj3C42VyJtF7oCyt4Ua73C9PAorYYNcNmn6P75w/paTa/g5JMQcek1pJ4Tj1f6lebpuYGgS Fcdnv944j8uw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497042" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:23 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v9 09/16] MdePkg/MdePkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:57 +0800 Message-Id: <20200811070204.55160-10-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: 2T1mKbTZrdlV2nusZ6KYJtRmx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129346; bh=UQ3933ZbuMYWY25P2recWeoYztIx7UBbNsQy2gmpa84=; h=Cc:Date:From:Reply-To:Subject:To; b=OMOCh/0HircM7DsJbaCY86AXaLJL/EnbWHvUp6OBJ81qFnq1GR2PyIgMfjweg/9feL9 NlVBV7z42ms9ArtiIFDANeI4r9MQX/QzO+s/nqybOtXRh9j3UCwotF8NRbzIvaUsGAaZw D+nuvrvQzZzuAV5BZBHZGODDnO4XYeLJ2tQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- MdePkg/MdePkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MdePkg/MdePkg.ci.yaml b/MdePkg/MdePkg.ci.yaml index b088a4344908..15931eaccabf 100644 --- a/MdePkg/MdePkg.ci.yaml +++ b/MdePkg/MdePkg.ci.yaml @@ -2,6 +2,7 @@ # CI configuration for MdePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -9,6 +10,17 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, ## options defined ci/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "MdePkg.dsc" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63964): https://edk2.groups.io/g/devel/message/63964 Mute This Topic: https://groups.io/mt/76121690/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63965+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63965+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129347; cv=none; d=zohomail.com; s=zohoarc; b=XrwRAmDXq8WQiv097Sz9g/hhVRSj7XtiVnUoXqnFp4V4DX9ikQhpgm23cYfgGWA8rjyFujd11OBUlYZIHi/0ffrqeQmyQC+9KMdtvEWzLrmxO6m1FAUZrY+La9rrO66OzCqBOQ/jHpiktw3Wy2QeVy6rZj++OsznZDkz+kZyGkY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129347; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=rFD2Lry7XJoFKQnXrAPubD+qXmJRbwTYIAUJ0srmcEs=; b=ZXZJxGr52Cc+5lCO+iAadLtEm3NsV8XdbqT6pFUEO57Tk7+R9U2mQjFx3A0Hq+wRj2U//+vAvtEvL4/0Id3yDVaiN19uFgQUB98pivR2+5qGs9F1S/puyCnWnrHqeyuKk268ZkEyCpxQkkUDuzHfVQe9WpKSBrU4xPfCNuDZNnI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63965+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129347565536.9849881515535; Tue, 11 Aug 2020 00:02:27 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Q8WSYY1788612xYrXG1UDaEP; Tue, 11 Aug 2020 00:02:27 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:26 -0700 IronPort-SDR: q4m9mZEMXb2T5nk2HknajViXAiUmSlkeMr03fguWMYyL7U5i589PG9t/DK1Ge88gq0a3OUVlCL yvpwZaV6CN5Q== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723444" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723444" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:26 -0700 IronPort-SDR: QpSNYrgPo95e2QDHHf0uauzNvdVEl1/6bo2U3WRsLsfpRmvpLaNUqqpm420UN3HVbf/iMRVTLK B5ROUMT6bc5Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497052" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:25 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu Subject: [edk2-devel] [PATCH v9 10/16] NetworkPkg/NetworkPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:58 +0800 Message-Id: <20200811070204.55160-11-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: y1NHfL5gd0hEgy8JMCHaE3whx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129347; bh=l4N0911wPw5U8pX6cX3SmJ/C5DPOlZJv+Zyt//XBiHk=; h=Cc:Date:From:Reply-To:Subject:To; b=mcUhBAbSfvIyNiN5k1Mfq1aegfsnzxrmCCfmwK0A7lnQOAnr8V4X+TCUXX43QbVar4g nEgRskfcm7qeoItmex+JeTB70CD84OygNYYg9BD8hHYZ7teBmKRGMKMRzsE7l0v9ZUykj Cp4br6HDgt2XbRAge/17k6CWqO39OjsHATU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Shenglei Zhang Reviewed-by: Maciej Rabeda Reviewed-by: Liming Gao --- NetworkPkg/NetworkPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/NetworkPkg/NetworkPkg.ci.yaml b/NetworkPkg/NetworkPkg.ci.yaml index aa536830fc27..1a3ab71792d1 100644 --- a/NetworkPkg/NetworkPkg.ci.yaml +++ b/NetworkPkg/NetworkPkg.ci.yaml @@ -2,12 +2,24 @@ # CI configuration for NetworkPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "NetworkPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63965): https://edk2.groups.io/g/devel/message/63965 Mute This Topic: https://groups.io/mt/76121691/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63966+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63966+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129349; cv=none; d=zohomail.com; s=zohoarc; b=I17kzjbgCg2/Kmmfh+LqycPHLLW4vL8KkGB5aJGvtTBRuxlq5UErmleHcEdjC4wIzsFYSptDukhX3TJSFC0cs4flVfs3f8izd2bbN22sMdBDp0zNKAEYP7Xf6JrVRYG6bLixF8BffRU+F6pjMt1+VGIfc8oKf2nIqnnKjtCIDUg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129349; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=8jUfbxTyyyhs1r+Dqzq18XXBtX5SRSbQK61UxRob0Nw=; b=cSzSaSX2GLt4fSYGMcV0kPyVqsEQdiuGEXp3zWcbIYNkP0FafVmLGcGQcIbLDXy2fqbfvEWD0UY05w5gJaXkSpptsTItvXxX9YdBx6aD5on7KzJl3oVxqAS8pDSn1tLhV9thUy2ttSbGe5bUD39YAnBdq+gOSotLlbRegSPO3po= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63966+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129349164182.71293556964474; Tue, 11 Aug 2020 00:02:29 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 8LIBYY1788612xAPCrqVnN1z; Tue, 11 Aug 2020 00:02:28 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:28 -0700 IronPort-SDR: hMwxMz8mNaSwG48WDJlDvunygpSQZAGA6FxsBoGsCzdFDrJZvwDFTGdgoX6C9g9K390gdnJfXl jTK+gUh9AKTw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723454" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723454" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:28 -0700 IronPort-SDR: 5alpNr7WCVU4sfrkgaViGi37d8JC5smQJ//gsjhFAyNKh4sB80q1R/B8HOk/ntermDntmLFxNR 4KluQYsxvalA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497071" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:26 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel Subject: [edk2-devel] [PATCH v9 11/16] OvmfPkg/OvmfPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:01:59 +0800 Message-Id: <20200811070204.55160-12-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: mlhn7ZYmQGTyE0eofkZb5LDlx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129348; bh=lZG6awThfNMHE1R8e1ar6Ti++h6GMhp552BqeHctwFo=; h=Cc:Date:From:Reply-To:Subject:To; b=e1OL0dFc5a0Lj0uWRHAi4PDFrjjYD1Ow1Mt8zc6JxZ2cgw+/OO2vIuUk9OkkSNdk/q0 Qnn0NDh9fgBcNc+ZwNTDVg8Ju0YLfbMeKl6RIHglHk/9CHi1ucqDELM/ApA4QUx5eVFNu YitGYbOy+8nj72XMnWdPad2Ubg144SyNDO8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Shenglei Zhang Acked-by: Laszlo Ersek Reviewed-by: Liming Gao --- OvmfPkg/OvmfPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/OvmfPkg/OvmfPkg.ci.yaml b/OvmfPkg/OvmfPkg.ci.yaml index ed342d7a3d08..3128aefe9ed1 100644 --- a/OvmfPkg/OvmfPkg.ci.yaml +++ b/OvmfPkg/OvmfPkg.ci.yaml @@ -5,6 +5,7 @@ # used for code analysis. # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -12,6 +13,17 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63966): https://edk2.groups.io/g/devel/message/63966 Mute This Topic: https://groups.io/mt/76121694/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63967+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63967+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129350; cv=none; d=zohomail.com; s=zohoarc; b=XuIbFOzuJz34GiikY5E8l5p9zeHjuYqMzx+IuruCM0pwnNJfETMuY20JzA6JkCvbReCRORaj7BdIQg2daIr3y1+LhB812EFkLGi7lPtDDYVLeKkgga8i8WqGfp9dD/N2MlpvjEQHx0389ZbGcJ5h+QcsvUQbTaOxhw9UroJKJYY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129350; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=meqALpm7iNuTWHeyun0otyzR4aBXCEMxEFAzIpTQ4k8=; b=LvDUiN2P7+PVEbvkN+b5dxDkADScObPGGModXrrcAJh3Z/jU7HiFub/eIpt7y+2Sd/ohfZ+xK7utRrVJ1aNDJ82BLcM8CdM0M/z2G49L+Tvkv+v2Eqm/2LqgdE041F4Tt98TE/Lx2Trn45yJX9M8J+hiDf4bCqx0gEfR2UtWAws= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63967+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129350405986.3739779549302; Tue, 11 Aug 2020 00:02:30 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id iOCEYY1788612xkRnMnLUyqC; Tue, 11 Aug 2020 00:02:29 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:29 -0700 IronPort-SDR: oEzjLn9z+F+RI8a/W7SjRk3Cgsyc6I4ZCB28UUHAqrTMIR+T+zvC1zg1i3gVQYaDBebgS3zocK VVafZzONIouA== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723466" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723466" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:29 -0700 IronPort-SDR: HPxVpjEI2/uEjWK+3RHsbbNvc1RI+hweAyxy6/JddYex+xUiKpFtYfXJGYNkbsyN2DOxGFeHML bVSrZYISSptg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497088" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:28 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [PATCH v9 12/16] PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:02:00 +0800 Message-Id: <20200811070204.55160-13-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: LqFf3Depq1OQAfkifmCDLylLx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129349; bh=JdoS+sE6OLOQLTZaGtJiJRg9oCM371W2rbgA1VwoxxY=; h=Cc:Date:From:Reply-To:Subject:To; b=MTVnep0+0SzW1PMEd1I9ssrQwPanN8vaXveMuoLXrWkA+Z88kkbhtMsH0mKRF5/BMXB sa9SQgSOrrOFSN9tvQpGvHC+whqqVMlxvHL9AT3MnJ17ommTr+oeToggwHOgCH9aE2bht HSaQlzC6mYuKwWp6pvn0APKe+XizXMqODUk= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Ray Ni Signed-off-by: Shenglei Zhang Acked-by: Ray Ni Reviewed-by: Liming Gao --- PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml b/PcAtChipsetPkg/PcAtChi= psetPkg.ci.yaml index 5543d15c3248..61f3fd7b5074 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml +++ b/PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml @@ -2,12 +2,25 @@ # CI configuration for PcAtChipsetPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + ## options defined .pytool/Plugin/LicenseCheck "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "PcAtChipsetPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63967): https://edk2.groups.io/g/devel/message/63967 Mute This Topic: https://groups.io/mt/76121695/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63968+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63968+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129353; cv=none; d=zohomail.com; s=zohoarc; b=Hkoi1iWsTFTh0x2hwZoxQjfNz9eRuDcgd0yjUILNJZ+91H8d6Hy7EoQpydif+9VdvHtuyKo9q4YJVsU9015mi9PoG+8SEtL9zsf8/8hQ/bl20D7plIKVU4Mnr55N4oUqNsN9knRLwxs986d1qyE+H2zQ0wn3n860eIUV2lG8KZY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129353; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=NrNGP1e6VSxTf2Sl/Fy79wq2s8fAlj6J39PLIuaned8=; b=ffEr0WQqVno9yY0FLwHz/JTp6yr2ObuXZ2plXxGPyyR9LDToWW4bWSAWS2Owpohdg3mNpy3Q6Bp4ZBATiI51Iq6g3njoHxlFJDQT2TQD8r9kPEboIRTCzBrZ21TOtlm6kWQl7AKPwrhhI5v/BSxWt/hYkzjENqYpGvE/tg9v8l4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63968+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 159712935324657.933726533713184; Tue, 11 Aug 2020 00:02:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5hGEYY1788612xNfl4Ivge6Q; Tue, 11 Aug 2020 00:02:32 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:31 -0700 IronPort-SDR: OsHSapaHwrth10UDYVRwQj8YWYKOQcu2RMZH69X94ojVmXKveRoFbrcdaTPFrxv1P1Y0KHYlqk jGtCwxfm1ydQ== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723478" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723478" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:31 -0700 IronPort-SDR: qzsSCvqpyBqj7xQx9jD4Q7Nyn/B9H5mE/uuq2My2vAgIKK2NW6x1INSatR2D5EJOqcyUpOVrEO 2scRc6pu6M+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497105" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:30 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Chao Zhang Subject: [edk2-devel] [PATCH v9 13/16] SecurityPkg/SecurityPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:02:01 +0800 Message-Id: <20200811070204.55160-14-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: PgUFO8bMAucGlBr3S6phNen3x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129352; bh=quzFcGiR6afsfPcX68Ii7ZJDsW0awi0TB7Nda98DT74=; h=Cc:Date:From:Reply-To:Subject:To; b=NFloFCtZzwPtET4boEXywlcuXS6uXauRArp/mChzbdMoWOHelMz5ktbIKLRFO0crysc Ve00r+yZOIAFXvwcxoVu5/3D2RKVVaU8h7JdYQIdBthonFMOwMkhQY1pqawoMhxkUOtlb EMlJEoEigz/8Wn5dFjCpjoG9oDTPx+nFTq8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jiewen Yao Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Shenglei Zhang Reviewed-by: Jian J Wang Reviewed-by: Liming Gao --- SecurityPkg/SecurityPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/SecurityPkg/SecurityPkg.ci.yaml b/SecurityPkg/SecurityPkg.ci.y= aml index 1ef1d2e67ead..03be2e94ca97 100644 --- a/SecurityPkg/SecurityPkg.ci.yaml +++ b/SecurityPkg/SecurityPkg.ci.yaml @@ -2,12 +2,24 @@ # CI configuration for SecurityPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "SecurityPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63968): https://edk2.groups.io/g/devel/message/63968 Mute This Topic: https://groups.io/mt/76121697/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63969+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63969+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129354; cv=none; d=zohomail.com; s=zohoarc; b=aGmpmk4tu6K2Z472b9rQDwzASeGWJHuXfL+GLMxlmwXSmrzhnFvyKqUaZh4JGIdzjwckSfhVd/W8zpbZRbytAsCYB+mB/Xs58DYKk07bEW2RwV+snlt9DtMg+7vJKBsC/vqssT5RKqtXA6kAVY92fqkkGAsTZtJjLMva9jWAR3E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129354; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=oiRplUreDYJ/xnWs6jUMFc4T10KIArpjx8n4QmUrvRM=; b=XJVJFKVeyIpcdTRZjjLLTvktamdOf2cpOQoWEXzn2R+p4UbgvOgXj2hyUxcIvSzPLis+goEKr7tTxUqq4NFLvodzL/RS7GEpUJDVIBoYhqEVAW2XDHwJkd12uw6Xsfy5aRtKO0gJ+k77zfJQydn6QdVNd9u1I9tiDNNb2B0cDLo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63969+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 159712935424445.93927633074429; Tue, 11 Aug 2020 00:02:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Xm92YY1788612xIv6HUwWtbF; Tue, 11 Aug 2020 00:02:33 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:33 -0700 IronPort-SDR: XjT2D14j8T9OWdeFdkUON1WMnRI9bY7QckzoR0D8xXo9sVPsG76pLebrdZtAE6a22ELz019xyS czw1ueMElIGA== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723487" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723487" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:33 -0700 IronPort-SDR: b+XC6UJ6DPj9YO/dZUQcKGEUMSUb6CGQcMRMTEgXroAn2UXowd2Ec/QHcd5Ts0H56fWGQQcyBp vhR29TYsOvcA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497117" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:32 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao Subject: [edk2-devel] [PATCH v9 14/16] ShellPkg/ShellPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:02:02 +0800 Message-Id: <20200811070204.55160-15-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: mqLBgNvt6DMvcvQL9k29GTMAx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129353; bh=l9QsEOMfPDoCdPD7cs2II2I20tcLpm5bG8zcqDpP6uQ=; h=Cc:Date:From:Reply-To:Subject:To; b=ppsp5Gz4WMGYgYTehub9JYMRfqOsWeIasP6CM9FdWw9/olzM4bAQ2JIlKmZy5WioiW6 vjLAhSdHD/jEV0XgxHcO18ZixPi/GaAoSqRPk6kV0qHcE5pOIaCEgaHQILpG0CEeSVyEv Ter0fmYgwjjwgFts6z+5/GPoo2RqwVJtVig= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Shenglei Zhang Acked-by: Ray Ni Reviewed-by: Liming Gao --- ShellPkg/ShellPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ShellPkg/ShellPkg.ci.yaml b/ShellPkg/ShellPkg.ci.yaml index 565e08596b2f..30894d44bc3a 100644 --- a/ShellPkg/ShellPkg.ci.yaml +++ b/ShellPkg/ShellPkg.ci.yaml @@ -2,12 +2,24 @@ # CI configuration for ShellPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "ShellPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63969): https://edk2.groups.io/g/devel/message/63969 Mute This Topic: https://groups.io/mt/76121698/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63970+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63970+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129356; cv=none; d=zohomail.com; s=zohoarc; b=gRRRnuP6Pkptg/kuUF0/jzZFSll7hvb8dEj79FfWNm4RmjBrnbnBwTFyYEFDgv7ve/6qLGmrChWGp38CoOhyDGW2J+/HpCYeS2fDduyKHV5/mSk/FM5B9eSXhwfBwDk0ffFW8VLRkkOFyX89lOG347MIs5Emul+iPDQ6ur56RJw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129356; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=yFKCU9kpW0i/MayRm4rygfApZMCzuO9QSDxe7hLcLmM=; b=V055XFV6C90/P19tKW49dy6tvEyBYUPAgiHQAn13bg9l6zpSRwnQdRZBMe+bUWeJpPGBZ8j+AFuo7o5XJELE9q/p9AZx7X/+gTQHgSV+8zzZbBWUamP0zKCh+zYVNKOX32LzVH66g9qcBX3xXEacld7WYLYqDVfVqhi5A6Px1Ok= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63970+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129356149440.010839478757; Tue, 11 Aug 2020 00:02:36 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id NyUGYY1788612xWOAUonJRXH; Tue, 11 Aug 2020 00:02:35 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:35 -0700 IronPort-SDR: eMvyta+kTCWnNCcDByd3vYQgu08jBFLzHunM5eUV6Ea8iuGFzwVMe+fTupHzpRsbkKRfgh2t2Z l5PWY4XRHtRA== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723503" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723503" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:34 -0700 IronPort-SDR: 0km1+Fpo/Pl4ctWt+YMdlhekym3Vy/0gQDC4qKwvfGdIzzm5gsdb0doBzHvWEQd0a00lTlpUEO e20cfEh4/cAg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497128" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:33 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Laszlo Ersek Subject: [edk2-devel] [PATCH v9 15/16] UefiCpuPkg/UefiCpuPkg.ci.yaml: Add configuration for Ecc check Date: Tue, 11 Aug 2020 15:02:03 +0800 Message-Id: <20200811070204.55160-16-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: 7yLJbQW8IdprPB7PCQchkomDx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129355; bh=G7VacRvfdnESGKwMO/zaYw5GKTkHQ085qwjWQjSzLq8=; h=Cc:Date:From:Reply-To:Subject:To; b=DnpQ7fFK0csvsDvVfAEIOAAlJ7mHPCdVFLZCY9CpVAoWbwcPAB9z8q7on1XG5xVQupt jObfbghLkkEPvtB0ebjn1wexifIroKO55yY38VpXP0vVqE4o9y0Zhq3cbMYQLec+AGH4I A6wJWWciTm1iZ6fjBMdY8bwNrbsBrxmaiaA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: Shenglei Zhang Acked-by: Ray Ni Reviewed-by: Eric Dong Acked-by: Laszlo Ersek Reviewed-by: Liming Gao --- UefiCpuPkg/UefiCpuPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.ci.yaml b/UefiCpuPkg/UefiCpuPkg.ci.yaml index d54651d43800..48ab710438a9 100644 --- a/UefiCpuPkg/UefiCpuPkg.ci.yaml +++ b/UefiCpuPkg/UefiCpuPkg.ci.yaml @@ -2,12 +2,24 @@ # CI configuration for UefiCpuPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "UefiCpuPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63970): https://edk2.groups.io/g/devel/message/63970 Mute This Topic: https://groups.io/mt/76121699/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sat May 4 09:20:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+63971+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63971+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1597129357; cv=none; d=zohomail.com; s=zohoarc; b=GWmElsp1QE8y/A9PBzg53v6hhoGYpRPPilRo/FeXT1tfBV/7x3BIvJzG0VXF/PYvHJt3+Wr27nmfDzogGGg60D6nIL2rp+knJkTAPFuRhczfcsvzmj0Vs358VtioyXJSyJ6ORUDN0IIK6NkjGocszUaKKu9Ry6VajHhfKC9cy14= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597129357; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=gHI/d4Ph2gDGj8xXjNZCX+NcefKccGwXd5V1nUjCfGY=; b=kfQ0y0fPxDyyYcDKaI2MALz9qf2dwSqPJVAz4CsVxIOUO/h0lf4S2mRrlll7oZVNYnq5NCqSNOil7EnW5gcQIQwpMoffYNhvU+XC9PYnDXQP2MDg7DErmBcUH8B15dCZ1xgOZOP85D2k/zRP0eFo2zJHLw+2q+6rJLIbT9S/y+Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+63971+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597129357731337.17159989703964; Tue, 11 Aug 2020 00:02:37 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id jTv0YY1788612xZJq3rdOmYK; Tue, 11 Aug 2020 00:02:37 -0700 X-Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.9931.1597129329084339712 for ; Tue, 11 Aug 2020 00:02:36 -0700 IronPort-SDR: 2kunq4Plx4D1SY20RsR5lkS6XLkVB7KS+Tp8MEaoxzGdtprjq9SRXhqxDIvpi8m0nmNNng2EzF /2vfjP1UdOmw== X-IronPort-AV: E=McAfee;i="6000,8403,9709"; a="171723518" X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="171723518" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2020 00:02:36 -0700 IronPort-SDR: AwtwpEvCqIyGL8jnLZIUCJP6qt0l20hY0I5xRJHFhgT4Y9HyinW0cy5mK/CICoBT6UAZkCjtmc 8OGmP3CXLbFA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,460,1589266800"; d="scan'208";a="277497138" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.154.36]) by fmsmga008.fm.intel.com with ESMTP; 11 Aug 2020 00:02:35 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Michael D Kinney , Sean Brogan , Bret Barkelew Subject: [edk2-devel] [PATCH v9 16/16] UnitTestFrameworkPkg: Add configuration for Ecc check in yaml file Date: Tue, 11 Aug 2020 15:02:04 +0800 Message-Id: <20200811070204.55160-17-shenglei.zhang@intel.com> In-Reply-To: <20200811070204.55160-1-shenglei.zhang@intel.com> References: <20200811070204.55160-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: ufo6bExr72OUBHNNRuf6cU4vx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597129357; bh=mSXgD6PVdHyJru4tofhxhV+7wf/fljR3TL7/p9wnurA=; h=Cc:Date:From:Reply-To:Subject:To; b=xYnPw6mnTn56h9tjSTe0SszxmMQnJZ09gtn6L8g/ck1EE6CqZzevwhg8srcIdc+bkEa nuOLzkI51r8+UVhL7FsxweBvvNqvXQOPjcbaCQjgGoL1dY+wOP6XwdcfTLyiDQlXgy1Z+ TYq60qE7erQ96y/1B7kDKm5epEE27qWL6So= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Besides, add submodule path in IgnoreFiles section. Cc: Michael D Kinney Cc: Sean Brogan Cc: Bret Barkelew Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney --- UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml b/UnitTestFr= ameworkPkg/UnitTestFrameworkPkg.ci.yaml index fc5b3b387664..9e9ffc1af113 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml @@ -9,6 +9,18 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + "Library/CmockaLib/cmocka" + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "UnitTestFrameworkPkg.dsc" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63971): https://edk2.groups.io/g/devel/message/63971 Mute This Topic: https://groups.io/mt/76121700/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-