From nobody Fri May 17 11:28:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+109231+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109231+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1696026261; cv=none; d=zohomail.com; s=zohoarc; b=Bnv2y61GVWzI8jWTsBUgxJHHfQS+0QA4Q7wlNGPwYvYzJOZsGDeCGzB4i4EVP3gd/y1rbHh7DM5WNMEbVEtEizcWATZpPJ/DtBhTwZpLP632SMtjTXairQuD4+YtVFf4pl1rKcVHtFLZgiEH8RzUTAXQsBsMJ1UpYRGzPllUy5A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1696026261; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=VyFTpL1kxDl5TtDefOapQEQX10XQOL8D5Auxh1ah93U=; b=VtpIbmT7sFMTU7Ffw4xP5fA/QTpLxYVlPn2U0rHRVoMk1Q+Exgkn5/52EN+i0Pgvxf5umEqtNn/NhHWjHWCpGEh4GUXRY/7260+IQCDQDFmi+EItWz6V6/zpL6+dEqdnPHZ5Y8b1YDqPiL53SnDINXP9cfAJctD3xfenOta9xp0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109231+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1696026261672374.35286917349094; Fri, 29 Sep 2023 15:24:21 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=OdGf5nNdEQdfuHfwph96GkJhBmsLOj6j1Wll+U5e0aU=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1696026261; v=1; b=CNr2tSgS2vTPyHzDyYgMrOMo8Rymo8RU2rLg6CP9nTi9UaLmHAHPfaS5E0LhxYa28Pu6K2oe O8+KCBPD8kgUGkgAmdTOp//X8XmaWV/XZizXY4+GFyfmPxHrsxC3VihaRmkn98TEQ4H2woGqvVU fegqincrDuhrsBrd1jDQlydY= X-Received: by 127.0.0.2 with SMTP id WpYXYY1788612xocZuPdfHmq; Fri, 29 Sep 2023 15:24:21 -0700 X-Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web10.30902.1696026260550130200 for ; Fri, 29 Sep 2023 15:24:20 -0700 X-Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5046bf37daeso13685528e87.1 for ; Fri, 29 Sep 2023 15:24:20 -0700 (PDT) X-Gm-Message-State: Fc6dwf4PRESEsjrjILEkYPIzx1787277AA= X-Google-Smtp-Source: AGHT+IEo13apLDv75osG3uxnTcYkIBE8gR07to+1DeHRkm8VHGszkgypVJ3WzlNp6L5wd0Qg+TUclA== X-Received: by 2002:a05:6512:6c6:b0:503:7dd:7ebf with SMTP id u6-20020a05651206c600b0050307dd7ebfmr5937868lff.63.1696026258500; Fri, 29 Sep 2023 15:24:18 -0700 (PDT) X-Received: from localhost.localdomain ([185.9.78.108]) by smtp.gmail.com with ESMTPSA id l3-20020ac24303000000b005032907710asm3588606lfh.237.2023.09.29.15.24.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 29 Sep 2023 15:24:18 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [PATCH 1/2] RedfishClientPkg/.github: tune file list for uncrustify check Date: Sat, 30 Sep 2023 01:24:13 +0300 Message-Id: <20230929222414.47115-2-mike.maslenkin@gmail.com> In-Reply-To: <20230929222414.47115-1-mike.maslenkin@gmail.com> References: <20230929222414.47115-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: 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,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1696026263029100008 Content-Type: text/plain; charset="utf-8" Original "HEAD~$NO_COMMITS" returns a diff agains current repo state including not stashed changes. As the purpose of uncrustify is to check commits, let's get changes against HEAD itself and ignore local modifications. Signed-off-by: Mike Maslenkin Reviewed-by: Abner Chang > Reviewed-by: Nickle Wang > --- .github/workflows/uncrustify-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/uncrustify-check.sh b/.github/workflows/uncr= ustify-check.sh index ff61a6ae0f61..c94b892634b8 100755 --- a/.github/workflows/uncrustify-check.sh +++ b/.github/workflows/uncrustify-check.sh @@ -31,7 +31,7 @@ fi cd "$REPO_PATH" =20 FAILURE=3D0 -CHANGED_FILES=3D$(git diff --name-only HEAD~$NO_COMMITS | grep '\(\.c$\|\.= h$\)') +CHANGED_FILES=3D$(git diff --name-only HEAD~$NO_COMMITS..HEAD | grep '\(\.= c$\|\.h$\)') if [ -z "$CHANGED_FILES" ] then echo "No c or h file to run uncrustify check" --=20 2.32.0 (Apple Git-132) -=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 (#109231): https://edk2.groups.io/g/devel/message/109231 Mute This Topic: https://groups.io/mt/101667894/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 Fri May 17 11:28:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+109232+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109232+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1696026262; cv=none; d=zohomail.com; s=zohoarc; b=ITH/tPnCRgElqyNZ90SwPnMXoXWan/MoGlbhEUlfllRib08oXu3ZC9GD+e009XoH/4Lbyco+GNz4cxLHiYtjOy90ias7CjpRSC/P1Be/V+APq/BjvfthoTQpXD+hQgh/oKs3vgnC/EEVB6W9URD5R6542Su4buaAkDBjEIDa65o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1696026262; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=w62h9GK4R9Z6awvIz/wTzWKlzvKJGSRfSwTuTeL3IRs=; b=hPf39ENFrNQ/6p0E3Gle8kL40eeDNVvr29vbfRQjsoOUIwCI2rHrH4I3LaaOjjGw2HtX5ZBZ64f4yQf8KYZQOrT0NQIBmKWf/lNN/09t2ZCgBDMUGpBLm/O8bxOVOO3uOwL1YYKtaz0tC6F9yKbKEysm0Cc9inPzfP8riYNMq2g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109232+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1696026262436498.1210149410995; Fri, 29 Sep 2023 15:24:22 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=UJ3d/yDAbAOPQrFDxKbvV4Lz5oJtpdYBAbiso9Du6Eg=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1696026262; v=1; b=BoUQI+XjJqemxknU7486hzbtq1Ij29LtlG0m/MJWZdzj5SKLw+oWhGyP6KgQiZuHNYTNVHQs 7YABB5OP1YC2mZs89jtkFicmemBKuseGK0LVOGU98SH+RczGb/wHykd2r9Rw/35WKLFN9J5+uXo wVDPYMRKFOrJ9zy4A2bmKzh0= X-Received: by 127.0.0.2 with SMTP id WttqYY1788612xWNQsznekq6; Fri, 29 Sep 2023 15:24:22 -0700 X-Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx.groups.io with SMTP id smtpd.web11.30740.1696026261291553476 for ; Fri, 29 Sep 2023 15:24:21 -0700 X-Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-504a7f9204eso4616724e87.3 for ; Fri, 29 Sep 2023 15:24:21 -0700 (PDT) X-Gm-Message-State: vtlnggAe5RemGgqsJRg74MWMx1787277AA= X-Google-Smtp-Source: AGHT+IEe/kyhlj2kfriJM+/lIIzoGuHEEX/ka5W41noDJUxVFbanUwpIUiygIG7mOGNaxpJjaT21qA== X-Received: by 2002:a05:6512:308a:b0:500:daf6:3898 with SMTP id z10-20020a056512308a00b00500daf63898mr5504365lfd.26.1696026259345; Fri, 29 Sep 2023 15:24:19 -0700 (PDT) X-Received: from localhost.localdomain ([185.9.78.108]) by smtp.gmail.com with ESMTPSA id l3-20020ac24303000000b005032907710asm3588606lfh.237.2023.09.29.15.24.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 29 Sep 2023 15:24:19 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [PATCH 2/2] RedfishClientPkg/.github: fix file list for uncrustify check Date: Sat, 30 Sep 2023 01:24:14 +0300 Message-Id: <20230929222414.47115-3-mike.maslenkin@gmail.com> In-Reply-To: <20230929222414.47115-1-mike.maslenkin@gmail.com> References: <20230929222414.47115-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: 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,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1696026263026100007 Content-Type: text/plain; charset="utf-8" Current `grep` command doesn't work in macOS with GNU bash, version 3.2.57(1)-release-(arm64-apple-darwin21) Signed-off-by: Mike Maslenkin Reviewed-by: Abner Chang > Reviewed-by: Nickle Wang > --- .github/workflows/uncrustify-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/uncrustify-check.sh b/.github/workflows/uncr= ustify-check.sh index c94b892634b8..7c1765cff5ba 100755 --- a/.github/workflows/uncrustify-check.sh +++ b/.github/workflows/uncrustify-check.sh @@ -31,7 +31,7 @@ fi cd "$REPO_PATH" =20 FAILURE=3D0 -CHANGED_FILES=3D$(git diff --name-only HEAD~$NO_COMMITS..HEAD | grep '\(\.= c$\|\.h$\)') +CHANGED_FILES=3D$(git diff --name-only HEAD~$NO_COMMITS..HEAD | grep -e '\= .c$' -e '\.h') if [ -z "$CHANGED_FILES" ] then echo "No c or h file to run uncrustify check" --=20 2.32.0 (Apple Git-132) -=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 (#109232): https://edk2.groups.io/g/devel/message/109232 Mute This Topic: https://groups.io/mt/101667895/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-